The short answer
Find the suspension reason in WHM, fix the cause (billing, bandwidth, resource limits or a hacked site), then unsuspend and watch the account.
Find the reason
whmapi1 accountsummary user=USERNAME | grep -i suspendIn WHM, open List Accounts and look at the suspended entry. The reason is shown there or in the account summary.
Common reasons
- Billing: an unpaid invoice with a hosting panel such as WHMCS or Blesta.
- Bandwidth: the monthly limit was reached and automatic suspension is on.
- Resource limit: with CloudLinux, the account hit its CPU, memory or process limit and visitors see a 508 error. Look at the LVE limits and the usage.
- Abuse: a hacked site sending spam or attacking others. A provider or an automatic tool may suspend it.
- Manual: another admin suspended it.
Fix the cause first
- Billing: settle it and check that the panel will unsuspend by itself.
- Bandwidth: look for a bot or a hotlinked file, then raise the limit if the traffic is real.
- Resource limits: find the heavy script or plugin, add caching and raise the limit only if needed.
- Abuse: clean the site and close the hole before the account goes live again. See malware cleanup.
Unsuspend
whmapi1 unsuspendacct user=USERNAMEThen watch the account for a day: bandwidth, CPU, the mail queue and the error log.
Prevent a repeat
- Set alerts at 80% of limits.
- Keep CMS and plugins updated.
- Write the suspension rules in your terms and your panel settings, so everyone knows what happens and when.
Questions people ask
What does a 508 error mean?
On CloudLinux hosting it means the account hit its resource limit. It is not the same as a suspended account.
Can the customer unsuspend it?
No. Only an admin on the server can, in WHM or with the API.
The account keeps getting suspended. Why?
The cause is still there. Check for malware, a bot or a heavy plugin.