• If you are still using CentOS 7.9, it's time to convert to Alma 8 with the free centos2alma tool by Plesk or Plesk Migrator. Please let us know your experiences or concerns in this thread:
    CentOS2Alma discussion
  • Inviting everyone to the UX test of a new security feature in the WP Toolkit
    For WordPress site owners, threats posed by hackers are ever-present. Because of this, we are developing a new security feature for the WP Toolkit. If the topic of WordPress website security is relevant to you, we would be grateful if you could share your experience and help us test the usability of this feature. We invite you to join us for a 1-hour online session via Google Meet. Select a convenient meeting time with our friendly UX staff here.

php-cgi high cpu load website running slow

nick12

New Pleskian
Hi everyone,

Today, without any change on the server side my single running website on my server started running low.
After checking the running processes I realised I have these 8 processes running with high cpu load something that didn't had before.

4245 user 20 0 283m 103m 10m R 85.1 0.3 6:44.88 /usr/bin/php-cgi -c /var/www/vhosts/system/domain/etc/php.ini
4243 user 20 0 241m 68m 8736 R 83.8 0.2 6:33.45 /usr/bin/php-cgi -c /var/www/vhosts/system/domain/etc/php.ini
4259 user 20 0 254m 82m 8720 R 83.5 0.3 6:11.00 /usr/bin/php-cgi -c /var/www/vhosts/system/domain/etc/php.ini
4244 user 20 0 282m 103m 10m R 82.1 0.3 6:46.49 /usr/bin/php-cgi -c /var/www/vhosts/system/domain/etc/php.ini
4247 user 20 0 248m 76m 8712 R 78.8 0.2 6:50.31 /usr/bin/php-cgi -c /var/www/vhosts/system/domain/etc/php.ini
4264 user 20 0 258m 85m 8712 R 72.9 0.3 6:49.83 /usr/bin/php-cgi -c /var/www/vhosts/system/domain/etc/php.ini

apache error log doesn't show any warnings, errors.

any suggestions on the problem?

Thanks.
 
It is possible that there are no issues with your install or Plesk itself but rather a script that is caught in a loop (such as an infinite while loop associated with today's date or an action). This would likely cause your CPU usage to peak and continue to peak as the script was accessed or run by several visitors.
 
After some research and log reading I suppose you are right... replacing the website source files seemed to fix the high loads. Thanks for your reply :)
 
Great to know! Barring poor code practices most likley if you are using a CMS this was a bad or incomplete automated update.
 
Yeah, the website is running under a CMS, wordpress to be exact, and some updated plugins seem to cause the problem... we hope to work around it soon because as the day showed up some of the problems persist... at least we know where to start looking to. ;)
 
Back
Top