Symptoms
Plesk sw-engine
process causes high CPU usage:
# ps aux | grep sw-engine
root 1242 0.0 0.3 348136 28732 ? Ss Jan14 0:14 /usr/bin/sw-engine -c /usr/local/psa/admin/conf/php.ini /usr/local/psa/admin/bin/modules/watchdog/wdcollect -c /usr/local/psa/etc/modules/watchdog/wdcollect.inc.php
root 2315 0.0 0.1 353260 9908 ? Ss Jan14 0:00 sw-engine-fpm: master process (/etc/sw-engine/sw-engine-fpm.conf)
root 3136 0.0 0.3 363840 32028 ? S Jan14 1:00 /usr/bin/sw-engine -c /usr/local/psa/admin/conf/php.ini /usr/lib64/plesk-9.0/psa-health-monitor-notification.php
Cause
Some sw-engine
child processes are stuck and cannot be stopped normally.
Resolution
-
Connect to the server via SSH.
-
Stop
sw-engine
service:# service sw-engine stop
Stopping sw-engine-fpm: [ OK ] -
Kill stuck processes:
# kill -9 <process_ID>
where
<process_ID>
are IDs of stucksw-engine
processes fromps aux
command -
Start
sw-engine
service:# service sw-engine start
Starting sw-engine-fpm: [ OK ]