All posts

Blog

Hosting Resource Limits Explained: CPU, RAM, Entry Processes and Inodes

Illustrated cover for the Speed & Performance guide "Hosting Resource Limits Explained: CPU, RAM, Entry Processes and Inodes"

On shared hosting, your account shares a powerful server with other customers. To keep things fair and stable, each account gets resource limits. When your site regularly runs into them, pages slow down or show errors.

Understanding these limits helps you fix the real problem, which isn't always "buy a bigger plan".

Why shared hosting has limits

Without limits, one busy or badly coded site could use all of a server's CPU or memory and slow down everyone else. Many hosts use CloudLinux, which places each account in its own lightweight container with its own allowance. The result is that your site isn't affected by a noisy neighbor, and vice versa.

The main limits

CPU

How much processor time your account can use. Running PHP (WordPress, WooCommerce), building pages, image processing and scheduled tasks all use CPU.

When you hit it: pages slow down, because your processes are throttled rather than stopped.

Physical memory (RAM)

How much memory your account's processes can use at once. Each PHP request uses memory, and heavy plugins use a lot.

When you hit it: requests may fail, sometimes with a 500 or 503 error, or a WordPress "critical error".

Entry processes

The number of simultaneous PHP or CGI processes your account can run. It's not visitors per day, but scripts running at the same moment. Cached pages served directly by the web server usually don't count.

When you hit it: new requests are refused, often with a "508 Resource Limit Is Reached" or 503 error.

Number of processes (NPROC)

The total number of processes your account can run, including cron jobs, email processes and SSH sessions.

I/O and IOPS

How fast, and how often, your account can read from and write to disk. Backups, large imports and database-heavy plugins use a lot of I/O.

When you hit it: everything gets sluggish, especially the admin area.

Inodes

The total number of files and folders in your account. Every email, cache file, image size and plugin file counts.

When you hit it: you can't create new files, so uploads fail, email can't be received, and caches can't be written.

Where to see your usage

  • cPanel: look for Resource Usage (CloudLinux LVE stats). It shows your current usage, any faults (times you hit a limit) and graphs over time.
  • DirectAdmin: look for Resource Usage or similar CloudLinux statistics in your panel.

The key thing to check is faults. Occasional faults during a traffic peak are normal. Frequent faults every day mean something needs to change.

Why sites hit their limits

The cause is usually one of these, not "too many visitors":

  1. No page caching. Every visit runs PHP and queries the database.
  2. A heavy or badly coded plugin: related posts, statistics, broken link checkers, or poorly built page builders.
  3. Bots and crawlers, especially aggressive scrapers or brute-force attempts on wp-login.php and xmlrpc.php.
  4. WordPress cron running on every page load on busy sites.
  5. Backups or imports running during busy hours.
  6. A hacked site sending spam or running malicious scripts. See what to do if your website is hacked.
  7. Too many sites in one account, all sharing the same limits.

How to fix it

1. Turn on page caching

This is the single biggest fix. Cached pages are served without running PHP at all. If your host runs LiteSpeed, use the LiteSpeed Cache plugin. See speed up WordPress with LiteSpeed Cache.

2. Find heavy plugins

Disable suspect plugins one at a time on a staging copy and watch your usage. See how many WordPress plugins is too many?

3. Block bad bots

  • Protect your login page with login limits and CAPTCHA.
  • Disable XML-RPC if you don't need it.
  • Block aggressive crawlers you don't need through a security plugin.

4. Replace WordPress's built-in cron

On busy sites, WordPress's "pseudo-cron" runs on page loads. You can disable it by adding define( 'DISABLE_WP_CRON', true ); to wp-config.php, and instead set up a real cron job in your control panel to run wp-cron.php every 5 to 15 minutes. If you're not sure, ask your host's support team.

5. Schedule heavy tasks off-peak

Run backup plugins, imports and bulk image optimization at night.

6. Clean up inodes

  • Clear old cache folders.
  • Delete old backups stored in your account.
  • Empty email Trash and Junk folders, and archive old mail.
  • Remove unused themes, plugins and old staging sites.

7. Optimize the database

Clean up post revisions, spam comments and expired transients. Back up first.

When it really is time to upgrade

If your site is well optimized, cached and clean, and you still hit limits regularly, your site has simply grown. That's a good problem to have.

Errors and what they usually mean

Error Likely limit
508 Resource Limit Is Reached Entry processes
503 Service Unavailable Entry processes or memory
500 Internal Server Error Memory, or a code error
Slow pages, no errors CPU or I/O
Uploads fail, email bounces "quota" Inodes or disk space

The bottom line

Resource limits keep shared hosting fair and stable. If you hit them, start with caching, heavy plugins and bots before buying more resources. Check your resource usage page, look for faults, and fix the cause.