• 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

Issue High CPU load every hour

Garri2

New Pleskian
I have a machine with 2 subscriptions (2 woocommerce). and every hour the server has spikes of 80% CPU load (4 Google Cloud processors).

when they are high usage, if I look at the list of processes I get:

php-fpm (domain1) CPU (WP user) usage 19%
php-fpm (domain1) CPU (WP user) usage 15%
php-fpm (domain1) CPU (WP user) usage 10%
php-fpm (domain1) CPU (WP user) usage 5%
php-fpm (domain1) CPU (WP user) usage 4%
...
and in the google cloud logs I get

2022-02-02 14:16:03.918 ∅∅∅ NUMPROCESS "Feb 2 13:16:03 (google machine) systemd: Started Session c3083 of user (WP user)."
2022-02-02 14:16:17.055 ∅∅∅ NUMPROCESS "Feb 2 13:16:17 (google machine) systemd: Started Session c3084 of user (WP user)."
2022-02-02 14:16:17.061 ∅∅∅ NUMPROCESS "Feb 2 13:16:17 (google machine) systemd: Started Session c3085 of user (WP user)."
2022-02-02 14:16:18.183 ∅∅∅ NUMPROCESS "Feb 2 13:16:18 (google machine) systemd: Started Session c3086 of user (WP user)."
2022-02-02 14:16:28.176 ∅∅∅ NUMPROCESS "Feb 2 13:16:28 (google machine) systemd: Started Session c3087 of user (WP user)."
2022-02-02 14:17:10.642 ∅∅∅ NUMPROCESS "Feb 2 13:17:10 (google machine) systemd: Started Session c3088 of user (WP user)."

I understand that it is due to scheduled tasks (CRON), but I can't figure out which one or its purpose

In woocommerce->status->scheduled actions there are only tasks with daily and weekly schedule.

maybe it's some plugin?
 
maybe it's some plugin?
Maybe.

Use Grafana Detailed Monitoring to see a better view of these spikes, for most cases it's a cron job related to WP plugin or maintenance cron for Plesk WP-Toolkit.
 
Back
Top