sw-engine-fpm consumes much server resources

Created:

2016-11-16 12:54:24 UTC

Modified:

2017-08-16 17:04:08 UTC

0

Was this article helpful?


Have more questions?

Submit a request

sw-engine-fpm consumes much server resources

Applicable to:

  • Plesk 11.x for Linux
  • Plesk 12.0 for Linux

Symptoms

The sw-engine-fpm consumes much server resources:

    # top
PID USER PR NI VIRT RES SHR S %CPU %MEM TIME+ COMMAND
9414 psaadm 23 0 3761m 3.3g 24m R 100.0 28.2 15:25.27 sw-engine-fpm

Cause

Huge amount of subscriptions that are processed by billing on the server:

# strace -tcfs4096 -p $(ps auxffww | grep sw-engine-fpm | grep -v grep | awk '{print $2}')

Process 9414 attached - interrupt to quit
...
lstat("/opt/plesk-billing/lib/billing-libs/Billing/Object/SubscriptionResourcesUsageLog.php", {st_mode=S_IFREG|0444, st_size=847, ...}) = 0
write(13, "[2015-06-02 03:11:59][DEBUG][SQL"..., 116) = 116
...
lstat("/opt/plesk-billing/lib/billing-libs/Billing/Object/SubscriptionResourcesUsageLog.php", {st_mode=S_IFREG|0444, st_size=847, ...}) = 0

Resolution

Billing processing operations consumes musch server reources and it might probably they are not enough. Increase CPU and RAM resources of your server.

Have more questions? Submit a request
Please sign in to leave a comment.