Skip to content

HTTP 503 Service Unavailable on cPanel: LVE limits and suspended accounts

A 503 on cPanel is usually one of three things: CloudLinux LVE killed the request, the account is suspended, or the web server is throttling.

A 503 on cPanel almost always means one of: CloudLinux’s LVE killed the PHP process for exceeding limits, the account was suspended by WHM, or the web server is intentionally refusing the request because of a rate limit. The three look identical to the user — a clean 503 — but the fix is different for each. Knowing which one fired takes thirty seconds in the right log.

What’s happening

CloudLinux LVE imposes per-user limits on CPU, memory, I/O, and process count. When a request exceeds the limit, the LVE kernel module either kills the process or makes it wait, depending on the limit type. Either way, Apache or LiteSpeed returns a 503. Separately, WHM can suspend an account, which makes the same endpoint return 503 from the suspended-account vhost. And rate-limit modules (mod_evasive, mod_security) issue 503 deliberately.

How to verify

Check the three sources in order:

# CloudLinux LVE faults for the user
lveinfo --period=1h --user=<user>
lvectl list --short | grep <user>
# CloudLinux per-user PHP-FPM limits
cloudlinux-selector get --json --interpreter=php --user=<user>
# account suspension state
whmapi1 listaccts search=<user> | grep -i suspend
# rate limit hits
tail -100 /usr/local/apache/logs/error_log | grep -E "rate|throttl|too many"

LiteSpeed exposes LSAPI-level throttling separately:

tail -100 /usr/local/lsws/logs/stderr.log | grep -i 'throttl\|max_conn'

The fix

  1. LVE limit hit — lveinfo shows which limit was exceeded (CPU, EP, MEM, IO). Raise the limit in WHM > CloudLinux LVE Manager. If the user is sustaining the limit (not just spiking), the actual fix is application optimization — caching, opcache, slow query elimination — not raising the limit.
  2. Account suspended — whmapi1 unsuspendacct user=<user>. Find out why it was suspended (/var/cpanel/suspended/<user>.suspendreason) before unsuspending; quota-exceeded suspensions return immediately if you do not address the quota.
  3. mod_security rate limit — tail /usr/local/apache/logs/modsec_audit.log shows the rule. Whitelist legitimate clients (search engine bots) by IP or user-agent.
  4. LiteSpeed connection cap — Max Connections per virtual host can throttle aggressively. Raise in Listeners > Default > Connection, restart LiteSpeed.
  5. Cron job process flood — a cPanel cron that spawns many PHP processes can hit the EP (Entry Processes) limit. Move the cron’s work into a queue worker.

A 503 that disappears at 03:00 and reappears at 08:00 is usually a backup script holding CPU long enough to push the user over LVE. Stack Harbor handles LVE and process-limit triage under cPanel server management — start a conversation when 503s have a clock pattern.