On shared hosting, your site shares the server with other customers. A WordPress site that uses too much CPU or memory loads slowly for your visitors and can affect others. Most heavy usage comes from a few causes that are easy to fix.
Step 1: Find Out What Is Using Resources
- Check visitor traffic: In cPanel > Metrics > Awstats or Raw Access, look for one IP address or bot making thousands of requests, or lots of hits to wp-login.php or xmlrpc.php (password-guessing attacks).
- Check errors: Metrics > Errors and any error_log files can show a plugin failing on every page load.
- Check plugins: A plugin such as Query Monitor (activate it only while testing) shows slow database queries and which plugin causes them.
Step 2: Fix the Common Causes
-
Use page caching:
- Install one caching plugin (for example, WP Super Cache or W3 Total Cache). Serving cached pages uses a fraction of the resources of building every page from scratch. Use only one caching plugin at a time.
-
Remove or replace heavy plugins:
- Plugins that commonly use a lot of resources on shared hosting include: broken-link checkers, "related posts" plugins that calculate on every page view, real-time statistics and visitor-tracking plugins, all-in-one security plugins running frequent full scans, backup plugins scheduled to run often, and SEO plugins crawling the whole site. Use lighter alternatives, run such tasks less often, or use an external service.
- Delete plugins you do not use. Deactivated plugins do not run, but they can still be a security risk.
-
Tame WordPress cron:
- By default WordPress runs scheduled tasks on page views. On a busy site, add
define('DISABLE_WP_CRON', true);to wp-config.php and run wp-cron.php from a real cron job every 15 minutes. See How to Set Up Cron Jobs in cPanel.
- By default WordPress runs scheduled tasks on page views. On a busy site, add
-
Limit the Heartbeat API:
- Leaving many wp-admin tabs open makes WordPress check in with the server every 15-60 seconds per tab. Close unused admin tabs, or use a plugin such as Heartbeat Control to slow it down.
-
Block abusive traffic:
- Use strong passwords and 2FA on wp-admin, disable XML-RPC if you do not use it (Jetpack and some apps need it), and consider Cloudflare's free plan to filter bots. To block a specific IP, use cPanel > Security > IP Blocker.
-
Optimize images and the database:
- Resize and compress images before uploading (or with an image optimization plugin). Clean out old post revisions, spam comments, and expired transients occasionally with a database optimization plugin, after making a backup.
-
Keep everything up to date:
- Use a current PHP version (8.2 or newer is noticeably faster than old versions) and keep WordPress, plugins, and themes updated. See How to Change the PHP Version.
Still Using Too Much?
If your site has outgrown shared hosting even after optimizing (for example, a busy online store or membership site), a VPS gives you dedicated resources. Open a ticket and we can review your usage and recommend the right plan.
Need help? Open a ticket at https://my.peopleshost.com/submitticket.php and our support team will be glad to assist.