HostPapa suspends my account due to WordPress & JetPack use of resources
-
My account with HostPapa (UK) was suspended without warning yesterday morning. That took out all my websites and my email. Eventually I was able to get HostPapa to remove the suspension and talk to me about solving whatever issue they had with my shared hosting account with them (I’m a long-time customer, not that that seems to count for much!).
Aside: I wrote to their CEO to complain about their behaviour.
Anyway, after a lot of pushing, they finally handed over their evidence of what the issue is. According to HostPapa:
Upon checking we found below scripts under your account are consuming high CPU resources on the server and thus causing the laod.(sic)
They then list 3 of the WordPress websites that I have hosted on their “unlimited” account which they say have programs taking too much CPU resources on the shared server. All are at 4.0.1 and all plugins up to date.
I presume the first number is %CPU usage… (I have gone back to HostPapa to ask if that was an instantaneous measurement; and if they could supply a whole day’s worth of logs showing resource usage):
----------------- 11-24-2014 48.0 /usr/bin/php /site1/wp-cron.php ----------------- 11-23-2014 58.0 /usr/bin/php /site2/index.php 46.0 /usr/bin/php /site1/wp-cron.php ----------------- 11-22-2014 54.0 /usr/bin/php /site3/index.php -----------------
HostPapa told me:
Please note that in many websites like WordPress, majority of the pages are served by a few scripts like index.php. This may increase CPU processing power used by a few scripts. If you notice such an issue, we recommend you to contact your developer and find out way to limit resource usage of these PHP scripts.
They then explained issue about plugins…
However, mostly these websites uses lot of CPU power than allowed in a shared hosting server due to following reason.
1. Due to plugins which consume resources
2. Due to cron jobs configured in website
3. Due to large number of addon domains or subdomains under same cpanel account which shares 40% CPU limit
4. Relatively high website traffic
5. Outdated Joomla,Wordpress versionThey offered some suggestions…
Further, we also suggest you to optimize your wordpress website so it should run much efficiently on the shared hosting environment.
1. Reduce the number of posts on the front page of your blog
2. Install anti-spam plugins in order to prevent spam-bot from creating load on the server.
3. Optimize your WordPress database. You can do this using a plugin like this one or directly through the PhpMyAdmin tool in your cPanel.
4. Install a caching plugin such as WP-Cache or WP Super Cache.
5. Decrease the number of external and internal links on your pages. Leave only the most important onesThe worst offender is ‘JetPack’ plugin says HostPapa:
Further, we also noticed that wordpress plugin ‘jetpack’ is utilizing more memory resources. So we suggest you to try disabling below plugins and then check your website performance again. You can also try using alternate plugins.
Memory consumed:
site1: jetpack = 1232MB site2: jetpack = 753MB site3: jetpack = 738MB
So, is there anything to do about reducing the impact of WordPress index/wp-cron and the JetPack plugin when used on a shared server running multiple sites?
I will try installing the caching plugins, but I thought JetPack now did caching?
Thanks in advance for you tips,
~Andrew~
- The topic ‘HostPapa suspends my account due to WordPress & JetPack use of resources’ is closed to new replies.