I have an interesting issue:
One user's WordPress website has become unusably slow. I went in to investigate, and ended up finding out the following facts:
- WordPress on their main website is really slow, it is stuck on TTFB for over 2 minutes
- The same website with no plugins and just the default twentytwentytwo theme is still slow
- A fresh install on a subdomain under the same user is also slow; Installatron took over 7 minutes just to install
- A WordPress install on a different user is as fast as expected; installed in under 10 seconds, loads as fast as you'd expect from an empty WP install
- Their WordPress install on a different machine shows no issues
- Even a PHP file just echoing 1 and then 2 takes well over 5 seconds to load, with 5.13 seconds being TTFB
- An HTML file with the same number of bytes returned loads instantly
- MySQL queries that are being run by WordPress are near-instant
The above rules out the server itself, the domain's routing, the WordPress plugins and/or themes, and MySQL.
It appears that PHP itself is very slow for just this one user, but I am not aware of having done any specific configuration for this user. Their PHP processes don't take up many resources; the full site uses about 40MB of memory, which is not at all unreasonable for WordPress.
I see no differences in htop for their respective PHP pool process vs other users either, nice ratings are all at 0.
What could possibly be causing this? Is there a hidden config value somewhere that I am missing?
Thanks in advance!
One user's WordPress website has become unusably slow. I went in to investigate, and ended up finding out the following facts:
- WordPress on their main website is really slow, it is stuck on TTFB for over 2 minutes
- The same website with no plugins and just the default twentytwentytwo theme is still slow
- A fresh install on a subdomain under the same user is also slow; Installatron took over 7 minutes just to install
- A WordPress install on a different user is as fast as expected; installed in under 10 seconds, loads as fast as you'd expect from an empty WP install
- Their WordPress install on a different machine shows no issues
- Even a PHP file just echoing 1 and then 2 takes well over 5 seconds to load, with 5.13 seconds being TTFB
- An HTML file with the same number of bytes returned loads instantly
- MySQL queries that are being run by WordPress are near-instant
The above rules out the server itself, the domain's routing, the WordPress plugins and/or themes, and MySQL.
It appears that PHP itself is very slow for just this one user, but I am not aware of having done any specific configuration for this user. Their PHP processes don't take up many resources; the full site uses about 40MB of memory, which is not at all unreasonable for WordPress.
I see no differences in htop for their respective PHP pool process vs other users either, nice ratings are all at 0.
What could possibly be causing this? Is there a hidden config value somewhere that I am missing?
Thanks in advance!