• We value your experience with Plesk during 2024
    Plesk strives to perform even better in 2025. To help us improve further, please answer a few questions about your experience with Plesk Obsidian 2024.
    Please take this short survey:

    https://pt-research.typeform.com/to/AmZvSXkx
  • The Horde webmail has been deprecated. Its complete removal is scheduled for April 2025. For details and recommended actions, see the Feature and Deprecation Plan.
  • We’re working on enhancing the Monitoring feature in Plesk, and we could really use your expertise! If you’re open to sharing your experiences with server and website monitoring or providing feedback, we’d love to have a one-hour online meeting with you.

Issue update-stats consuming all CPU for hours

yabado

Regular Pleskian
What does the following process eat up all the server's CPU for hours on end?

/usr/bin/sw-engine -c /usr/local/psa/admin/conf/php.ini -dauto_prepend_file=sdk.php /usr/local/psa/admin/plib/modules/email-security/scripts/update-stats.php

I like all the pretty Email Security graphs like anyone, but WTF?
 
I have similar problem
# ps aux | grep update-stats.php

psaadm 753298 45.7 0.4 496504 134344 ? Rs 00:00 378:47 /usr/bin/sw-engine -c /usr/local/psa/admin/conf/php.ini -dauto_prepend_file=sdk.php /usr/local/psa/admin/plib/modules/email-security/scripts/update-stats.php
psaadm 1025040 44.3 0.4 496504 134728 ? Rs 01:00 340:23 /usr/bin/sw-engine -c /usr/local/psa/admin/conf/php.ini -dauto_prepend_file=sdk.php /usr/local/psa/admin/plib/modules/email-security/scripts/update-stats.php
psaadm 1073514 43.1 0.4 496504 134720 ? Rs 02:00 305:09 /usr/bin/sw-engine -c /usr/local/psa/admin/conf/php.ini -dauto_prepend_file=sdk.php /usr/local/psa/admin/plib/modules/email-security/scripts/update-stats.php
psaadm 1120826 41.1 0.4 496504 134720 ? Rs 03:00 266:30 /usr/bin/sw-engine -c /usr/local/psa/admin/conf/php.ini -dauto_prepend_file=sdk.php /usr/local/psa/admin/plib/modules/email-security/scripts/update-stats.php
psaadm 1206440 39.3 0.4 496504 134748 ? Rs 04:00 231:22 /usr/bin/sw-engine -c /usr/local/psa/admin/conf/php.ini -dauto_prepend_file=sdk.php /usr/local/psa/admin/plib/modules/email-security/scripts/update-stats.php
psaadm 1253406 37.0 0.4 496504 134160 ? Rs 05:00 195:14 /usr/bin/sw-engine -c /usr/local/psa/admin/conf/php.ini -dauto_prepend_file=sdk.php /usr/local/psa/admin/plib/modules/email-security/scripts/update-stats.php
psaadm 1301829 34.6 0.4 496504 134152 ? Rs 06:00 161:57 /usr/bin/sw-engine -c /usr/local/psa/admin/conf/php.ini -dauto_prepend_file=sdk.php /usr/local/psa/admin/plib/modules/email-security/scripts/update-stats.php
psaadm 1348797 32.2 0.4 496504 134260 ? Rs 07:00 131:22 /usr/bin/sw-engine -c /usr/local/psa/admin/conf/php.ini -dauto_prepend_file=sdk.php /usr/local/psa/admin/plib/modules/email-security/scripts/update-stats.php
psaadm 1420095 30.3 0.4 496504 134160 ? Rs 08:00 105:37 /usr/bin/sw-engine -c /usr/local/psa/admin/conf/php.ini -dauto_prepend_file=sdk.php /usr/local/psa/admin/plib/modules/email-security/scripts/update-stats.php
psaadm 1488061 29.1 0.4 496504 134164 ? Rs 09:00 83:56 /usr/bin/sw-engine -c /usr/local/psa/admin/conf/php.ini -dauto_prepend_file=sdk.php /usr/local/psa/admin/plib/modules/email-security/scripts/update-stats.php
psaadm 1553897 28.1 0.4 496504 134148 ? Rs 10:00 64:00 /usr/bin/sw-engine -c /usr/local/psa/admin/conf/php.ini -dauto_prepend_file=sdk.php /usr/local/psa/admin/plib/modules/email-security/scripts/update-stats.php
psaadm 1604556 26.4 0.4 496504 134252 ? Rs 11:00 44:16 /usr/bin/sw-engine -c /usr/local/psa/admin/conf/php.ini -dauto_prepend_file=sdk.php /usr/local/psa/admin/plib/modules/email-security/scripts/update-stats.php
psaadm 1654815 24.2 0.4 496504 134152 ? Rs 12:00 26:07 /usr/bin/sw-engine -c /usr/local/psa/admin/conf/php.ini -dauto_prepend_file=sdk.php /usr/local/psa/admin/plib/modules/email-security/scripts/update-stats.php
psaadm 1749570 23.1 0.4 496504 142556 ? Rs 13:00 11:01 /usr/bin/sw-engine -c /usr/local/psa/admin/conf/php.ini -dauto_prepend_file=sdk.php /usr/local/psa/admin/plib/modules/email-security/scripts/update-stats.php
 
Back
Top