• Please be aware: Kaspersky Anti-Virus has been deprecated
    With the upgrade to Plesk Obsidian 18.0.64, "Kaspersky Anti-Virus for Servers" will be automatically removed from the servers it is installed on. We recommend that you migrate to Sophos Anti-Virus for Servers.
  • 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.

Resolved Plesk all websites slow (after suspected upgrade)

PetrusV

New Pleskian
Server operating system version
Ubuntu 20.04.04
Plesk version and microupdate number
Plesk Obsidian Web Host Edition 18.0.43
Hi there,
Total noob but so far have managed my own Plesk server. Been running fine for about 6 months, then today all 8 websites that I host are suddenly slow. IT became slow after the upgrade in bold, though I could be wrong.

Saw the following in the upgrade log, not sure if the PHP upgrade had anything to do with it. Would sure appreciate some help:
127.0.0.1 admin [2022-06-15 06:26:16] 'Plesk component upgrade' ('COMP_SERVICE_NODE': '1' => '1', 'Plesk component name': 'httpd' => 'httpd')
127.0.0.1 admin [2022-06-15 06:26:17] 'Plesk component upgrade' ('COMP_SERVICE_NODE': '1' => '1', 'Plesk component name': 'php74' => 'php74')
127.0.0.1 admin [2022-06-15 06:26:17] 'Plesk component upgrade' ('COMP_SERVICE_NODE': '1' => '1', 'Plesk component name': 'php80' => 'php80')
127.0.0.1 admin [2022-06-15 06:41:26] 'Upgrade extension' ('Extension Id': 'monitoring' => 'monitoring', 'Extension Name': 'Monitoring' => 'Monitoring', 'Extension Release': '678' => '696', 'Extension Version': '2.3.3' => '2.3.4')
169.255.220.19 admin [2022-06-15 12:18:51] 'CP User Login' ('Contact Name': '' => 'Petrus')
169.255.220.19 admin [2022-06-16 05:47:48] 'CP User Login' ('Contact Name': '' => 'Petrus')
169.255.220.19 admin [2022-06-16 07:18:55] 'CP User Login' ('Contact Name': '' => 'Petrus')
169.255.220.19 admin [2022-06-16 09:02:34] 'CP User Login' ('Contact Name': '' => 'Petrus')
127.0.0.1 admin [2022-06-17 06:26:08] 'Plesk component upgrade' ('COMP_SERVICE_NODE': '1' => '1', 'Plesk component name': 'php74' => 'php74')
127.0.0.1 admin [2022-06-17 06:26:12] 'Plesk component upgrade' ('COMP_SERVICE_NODE': '1' => '1', 'Plesk component name': 'php80' => 'php80')

169.255.220.19 admin [2022-06-17 06:57:41] 'CP User Login' ('Contact Name': '' => 'Petrus')
 
Hi there,
Total noob but so far have managed my own Plesk server. Been running fine for about 6 months, then today all 8 websites that I host are suddenly slow. IT became slow after the upgrade in bold, though I could be wrong.

Saw the following in the upgrade log, not sure if the PHP upgrade had anything to do with it. Would sure appreciate some help:
127.0.0.1 admin [2022-06-15 06:26:16] 'Plesk component upgrade' ('COMP_SERVICE_NODE': '1' => '1', 'Plesk component name': 'httpd' => 'httpd')
127.0.0.1 admin [2022-06-15 06:26:17] 'Plesk component upgrade' ('COMP_SERVICE_NODE': '1' => '1', 'Plesk component name': 'php74' => 'php74')
127.0.0.1 admin [2022-06-15 06:26:17] 'Plesk component upgrade' ('COMP_SERVICE_NODE': '1' => '1', 'Plesk component name': 'php80' => 'php80')
127.0.0.1 admin [2022-06-15 06:41:26] 'Upgrade extension' ('Extension Id': 'monitoring' => 'monitoring', 'Extension Name': 'Monitoring' => 'Monitoring', 'Extension Release': '678' => '696', 'Extension Version': '2.3.3' => '2.3.4')
169.255.220.19 admin [2022-06-15 12:18:51] 'CP User Login' ('Contact Name': '' => 'Petrus')
169.255.220.19 admin [2022-06-16 05:47:48] 'CP User Login' ('Contact Name': '' => 'Petrus')
169.255.220.19 admin [2022-06-16 07:18:55] 'CP User Login' ('Contact Name': '' => 'Petrus')
169.255.220.19 admin [2022-06-16 09:02:34] 'CP User Login' ('Contact Name': '' => 'Petrus')
127.0.0.1 admin [2022-06-17 06:26:08] 'Plesk component upgrade' ('COMP_SERVICE_NODE': '1' => '1', 'Plesk component name': 'php74' => 'php74')
127.0.0.1 admin [2022-06-17 06:26:12] 'Plesk component upgrade' ('COMP_SERVICE_NODE': '1' => '1', 'Plesk component name': 'php80' => 'php80')

169.255.220.19 admin [2022-06-17 06:57:41] 'CP User Login' ('Contact Name': '' => 'Petrus')
restarting service and then finally the server did not resolve anything.
 
Have you tried to run the repair kit?
Tools & Settings -> Diagnose & Repair - Check All

Also, check if there is enough disk space available:
Tools & Settings -> Server Information
 
Only using 26.58% Disk Space. Ran all the repairs already, it did not complain about anything, saying everything is ok.
 
Is there anything in the syslog related to this issue?

Anything in the error_log/access_ssl_log of the subscriptions?
 
syslog shows this:
ERROR: Zend_Controller_Exception: Session token has expired.#0 /opt/psa/admin/plib/vendor/plesk/zf1/library/Zend/Controller/Plugin/Broker.php(309): Plesk\Application\Controller\Plugin\ForgeryProtection->preDispatch(Object(Zend_Controller_Request_Http))
#1 /opt/psa/admin/plib/vendor/plesk/zf1/library/Zend/Controller/Front.php(941): Zend_Controller_Plugin_Broker->preDispatch(Object(Zend_Controller_Request_Http))
#2 /opt/psa/admin/plib/pm/Application.php(87): Zend_Controller_Front->dispatch()
#3 /opt/psa/admin/htdocs/modules/syslog-watch/index.php(4): pm_Application->run()
#4 {main} (Broker.php:312)

Domain error log show:
2022-06-18 15:00:01 Error 141.101.68.151 500 GET /wp-cron.php?doing_wp_cron HTTP/1.0 Wget/1.20.3 (linux-gnu) 3.95 K Apache SSL/TLS access
2022-06-18 15:00:11 Access 172.70.246.143 200 POST /wp-admin/admin-ajax.php?action=wp_swcfpc_cache_preloader_background_process&nonce=7890dc6b05 HTTP/1.0 https://coursely.co.za/wp-admin/adm...preloader_background_process&nonce=7890dc6b05 WordPress/6.0; https://coursely.co.za 1.39 K Apache SSL/TLS access
2022-06-18 15:00:12 Access 162.158.89.146 302 GET /product/auto-draft-5/ HTTP/1.0 https://coursely.co.za/product/auto-draft-5/ Mozilla/5.0 (Windows NT 6.1; Win64; x64; rv:59.0) Gecko/20100101 Firefox/59.0 204 K Apache SSL/TLS access
2022-06-18 15:00:28 Access 172.70.250.185 200 GET / HTTP/1.0 https://coursely.co.za/ Mozilla/5.0 (Windows NT 6.1; Win64; x64; rv:59.0) Gecko/20100101 Firefox/59.0 42.5 K Apache SSL/TLS access
2022-06-18 15:00:30 Warning 172.70.250.185 mod_fcgid: stderr: PHP Warning: imagegif(/var/www/vhosts/coursely.co.za/httpdocs/twk-wp-content/uploads/2022/01/Heaven-Hell-1280x720-Optimized-5-799x449.gif): failed to open stream: Permission denied in /var/www/vhosts/coursely.co.za/httpdocs/wp-includes/class-wp-image-editor.php on line 565, referer: https://coursely.co.za/ Apache error
2022-06-18 15:00:32 Access 197.234.242.67 200 GET /twk-wp-content/plugins/eroom-zoom-meetings-webinar/nuxy//metaboxes/general_components/js/ace_editor.js?ver=1655564193 HTTP/2.0 https://coursely.co.za/wp-admin/plugins.php Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:101.0) Gecko/20100101 Firefox/101.0 1.60 M nginx SSL/TLS access
2022-06-18 15:00:34 Access 162.158.91.140 302 GET /product/auto-draft-19/ HTTP/1.0 https://coursely.co.za/product/auto-draft-19/ Mozilla/5.0 (Windows NT 6.1; Win64; x64; rv:59.0) Gecko/20100101 Firefox/59.0 176 K Apache SSL/TLS access
2022-06-18 15:00:34 Access 162.158.91.94 200 POST /wp-admin/admin-ajax.php?action=wp_swcfpc_cache_preloader_background_process&nonce=7890dc6b05 HTTP/1.0 https://coursely.co.za/wp-admin/adm...preloader_background_process&nonce=7890dc6b05 WordPress/6.0; https://coursely.co.za 1.39 K Apache SSL/TLS access
2022-06-18 15:00:35 Warning 141.101.68.151 mod_fcgid: stderr: PHP Warning: opcache_get_status() has been disabled for security reasons in /var/www/vhosts/coursely.co.za/httpdocs/twk-wp-content/plugins/wp-cloudflare-page-cache/libs/cache_controller.class.php on line 3059 Apache error
2022-06-18 15:00:36 Access 162.158.90.233 200 GET /courses/how-to-stand-in-the-gap-as-high-priest-for-your-loved-one/ HTTP/1.0 https://coursely.co.za/courses/how-to-stand-in-the-gap-as-high-priest-for-your-loved-one/ Mozilla/5.0 (Windows NT 6.1; Win64; x64; rv:59.0) Gecko/20100101 Firefox/59.0 36.8 K Apache SSL/TLS access
2022-06-18 15:00:38 Warning 162.158.90.233 mod_fcgid: stderr: PHP Warning: array_values() expects parameter 1 to be array, null given in /var/www/vhosts/coursely.co.za/httpdocs/twk-wp-content/themes/masterclass-child/LMS/stm-lms-templates/global/buy-button/mixed.php on line 9, referer: https://coursely.co.za/courses/how-to-stand-in-the-gap-as-high-priest-for-your-loved-one/ Apache error
2022-06-18 15:00:41 Access 172.70.250.117 200 GET /?taxonomy=product_type&term=stm_lms_product HTTP/1.0 https://coursely.co.za/?taxonomy=product_type&term=stm_lms_product Mozilla/5.0 (Windows NT 6.1; Win64; x64; rv:59.0) Gecko/20100101 Firefox/59.0 42.5 K Apache SSL/TLS access
2022-06-18 15:00:43 Warning 172.70.250.117 mod_fcgid: stderr: PHP Warning: imagegif(/var/www/vhosts/coursely.co.za/httpdocs/twk-wp-content/uploads/2022/01/Heaven-Hell-1280x720-Optimized-5-799x449.gif): failed to open stream: Permission denied in /var/www/vhosts/coursely.co.za/httpdocs/wp-includes/class-wp-image-editor.php on line 565, referer: https://coursely.co.za/?taxonomy=product_type&term=stm_lms_product Apache error
2022-06-18 15:00:44 Access 172.68.133.219 200 POST /?Sy9TVaDsYq=1655565621396&wptc_authorized=1 HTTP/1.0 https://cron.wptimecapsule.com WP Time Capsule API/1.0 ( https://cron.wptimecapsule.com/; https://service.wptimecapsule.com/ ) 1.37 K Apache SSL/TLS access
2022-06-18 15:00:50 Access 162.158.90.179 301 GET /?taxonomy=product_type&term=stm_lms_productpage/2/ HTTP/1.0 https://coursely.co.za/?taxonomy=product_type&term=stm_lms_productpage/2/ Mozilla/5.0 (Windows NT 6.1; Win64; x64; rv:59.0) Gecko/20100101 Firefox/59.0 1.26 K Apache SSL/TLS access
2022-06-18 15:00:53 Access 172.69.134.27 200 POST /?SynLBpPoK5=1655565630257&wptc_authorized=1 HTTP/1.0 https://cron.wptimecapsule.com WP Time Capsule API/1.0 ( https://cron.wptimecapsule.com/; https://service.wptimecapsule.com/ ) 1.39 K Apache SSL/TLS access
2022-06-18 15:00:53 Access 162.158.92.15 200 GET /?taxonomy=product_type&term=stm_lms_productpage%2F2%2F HTTP/1.0 https://coursely.co.za/?taxonomy=product_type&term=stm_lms_productpage/2/ Mozilla/5.0 (Windows NT 6.1; Win64; x64; rv:59.0) Gecko/20100101 Firefox/59.0 42.5 K Apache SSL/TLS access
2022-06-18 15:00:55 Access 197.234.242.223 200 GET /twk-wp-content/plugins/eroom-zoom-meetings-webinar/nuxy//metaboxes/general_components/js/fields_aside.js?ver=1655564193 HTTP/2.0 https://coursely.co.za/wp-admin/plugins.php Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:101.0) Gecko/20100101 Firefox/101.0 4.36 K nginx SSL/TLS access
2022-06-18 15:00:57 Access 197.234.242.35 200 POST /wp-admin/admin-ajax.php?_fs_blog_admin=true HTTP/1.0 https://coursely.co.za/wp-admin/plugins.php Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:101.0) Gecko/20100101 Firefox/101.0 1.58 K Apache SSL/TLS access
2022-06-18 15:00:57 Warning 162.158.92.15 mod_fcgid: stderr: PHP Warning: imagegif(/var/www/vhosts/coursely.co.za/httpdocs/twk-wp-content/uploads/2022/01/Heaven-Hell-1280x720-Optimized-5-799x449.gif): failed to open stream: Permission denied in /var/www/vhosts/coursely.co.za/httpdocs/wp-includes/class-wp-image-editor.php on line 565, referer: https://coursely.co.za/?taxonomy=product_type&term=stm_lms_productpage/2/
 
Cannot really see any errors that pertain to the issue...
All the errors that are there have been there before.
 
Except for syslog watch, never knew about that before, installed the extension now to see what's going on there.
 
What's the output of
# ps aux | grep php-fpm
?

And what's the output of
# ps aux | sort -nrk 3,3 | head -n 30
?
 
root@jolly-hypatia:~# ps aux | grep php-fpm
root 1196 0.0 0.2 245324 41808 ? Ss 05:37 0:09 php-fpm: master process (/opt/plesk/php/7.4/etc/php-fpm.conf)
root 1201 0.0 0.2 246748 42072 ? Ss 05:37 0:02 php-fpm: master process (/var/www/vhosts/system/lms.pkvss.com/etc/php-fpm.conf)
root 1215 0.0 0.2 246748 41884 ? Ss 05:37 0:02 php-fpm: master process (/var/www/vhosts/system/testing.pkvss.com/etc/php-fpm.conf)
root 1218 0.0 0.2 241464 40856 ? Ss 05:37 0:03 php-fpm: master process (/opt/plesk/php/8.0/etc/php-fpm.conf)
root 401454 0.0 0.0 6432 2516 pts/3 S+ 16:50 0:00 grep --color=auto php-fpm
 
No issue with load on PHP-FPM. What about the general sorted list of cpu load / processes (the other part of the question)?
 
Have you tested your website against an objective test service like Pingdom speedtest? If neither disk I/O, nor CPU load are an issue, than there are no issues with the server.
 
I sure am desperate to get this resolved. Hosting some sites with paid customers and now this. Makes one stress, panic and more stressed at the same time lol
 
I think this is a Cloudflare issue. This is what I get when I open the coursely site:

Error 522
Ray ID: 71d5ad3d7e4b40bd • 2022-06-18 17:17:23 UTC
Connection timed out

You should check your browser console for more details.
 
I could not even get a score on pingdom, it said Access Denied. Perhaps an issue with the Firewall? Very strange as I have disabled the firewall for this domain, but the main Plesk Firewall is active. I

Is there a way to check the main Plesk Firewall logs?
 
OK, busy with cloudflare, any idea how to get the firewall link back on the domain overview? I disabled and enabled my Plesk Firewall rules and now its gone1655574728022.png
 
Back
Top