"The server is slow" is the least useful ticket a hosting engineer receives, and on a plain Linux box it means an hour of top, ps and log reading to find out who. On CloudLinux the same question has a short answer, because every user's CPU, memory, IO and connections are counted inside their LVE all the time. This post is about reading those numbers: the live view, the history, the fault columns, and a worked example from complaint to cause.
Where the numbers come from
The lve-stats service samples every LVE several times a minute and stores the results under /var/lve/. Three tools read them: lveps is the live view, lveinfo the history, and lvechart draws the history as a picture. CloudLinux Manager shows the same data in its Current Usage and Statistics tabs (in DirectAdmin, Admin Level → Extra Features → CloudLinux Manager), and each user sees their own slice under Resource Usage.
Faults are counted against limits, so set yours first (how to set LVE limits); a server on the generous defaults produces few faults and a lot of noise.
Right now: lveps
When the complaint is live, start with the live view:
lveps -p
lvectl listlveps is top for LVEs: one line per active user with CPU as a percentage of a core, memory, entry processes and process count; -p adds the processes underneath so you see the PHP script or cron job responsible. lvectl list prints usage against limits for every LVE, so you see who is pinned at their SPEED or EP ceiling.
CPU sitting exactly at the limit is the tell: a user at 87% is busy, a user held at 100% of a 100% SPEED for minutes is throttled, and their site is slow while the rest of the server is fine.
The history: lveinfo
Most complaints arrive after the event, and that is what lveinfo is for:
lveinfo --period=1d -d --by-fault=any --limit=10
lveinfo --period=6h -d --user=shopco --show-all--period takes 1h, 6h, 1d or 7d. -d prints usernames instead of numeric IDs. --by-fault=any restricts the list to users who hit a limit, which is normally the only list you want; cpu, mem, mep, nproc, io and iops narrow it to one kind. --order-by=cpu_avg sorts by usage when nobody faulted; --user with --show-all prints every column for one account.
The columns come in threes per resource: aCPU, mCPU and lCPU are average, maximum and limit for CPU, and the pattern repeats for PMem, EP, Nproc, IO and IOPS. Read the fault columns first: EPf, PMemF, NprocF, IOf, IOPSf and the CPU fault count.
What each fault means
CPU faults mean throttling: nothing errors, the site just gets slower as the kernel holds the user's processes to their SPEED. Hundreds a day is a busy site or a runaway script; a handful is normal.
EP faults are the 508 errors: requests refused because the account already had its maximum concurrent connections. They cluster when PHP is slow, since slow requests stay in the LVE longer, and when a bot is hammering a site. Fixes are in fixing 508 errors.
PMem faults are memory kills: the kernel ended a process, usually PHP, and the domain error log says Out of memory. A burst during an import is normal; steady faults mean PMEM is below what the site needs, or a leak.
NPROC faults appear as fork: Resource temporarily unavailable in cron output and shells, usually a stuck cron job that has been started every minute for a day.
IO and IOPS faults are throttling, like CPU: backups run inside the LVE, a broken cache writing thousands of small files, or a database on the user's quota.
Charts and notifications
lvechart turns a user's history into a PNG to attach to a ticket explaining why a site was slow at 3 a.m. The Statistics tab does the same interactively: pick a period, sort by a fault column, click a user for a graph of every resource against its limit.
Under Options → Notifications the server can email you, and optionally the user or their reseller, when an account passes a number of faults in a period. Tune it to fire a few times a week, not a few times an hour.
A worked investigation
Tuesday, 14:10, the reseller says everything is slow. Load average is 14 on an 8-core server. lveps -p shows user shopco at 200%, their SPEED limit, with 30 entry processes, also the limit, and thirty lsphp processes under it. lveinfo --period=2h -d --by-fault=any confirms it: 1,900 EP faults and 400 CPU faults in two hours, and nobody else faulting. One site is at its ceiling; the load average is its throttled processes waiting their turn.
Now why. The domain's access log, /var/log/httpd/domains/shopco-example.com.log on a DirectAdmin server, answers most of these:
awk '{print $1}' /var/log/httpd/domains/shopco-example.com.log | sort | uniq -c | sort -rn | head
awk '{print $7}' /var/log/httpd/domains/shopco-example.com.log | sort | uniq -c | sort -rn | headTop IPs and top URLs. Here it is two addresses requesting /?s= search pages with random strings ten times a second, pages WordPress cannot cache. Block them in CSF and the faults stop within a minute. When the top URL is a real page and the IPs are real visitors, the site is genuinely slow, and X-Ray will tell you which plugin or query is responsible.
What to do with the answer
Three outcomes cover almost every case. Abuse or a bot: block it and fix the site's caching so the next one hurts less. Genuine traffic on inefficient code: X-Ray, an object cache and a conversation with the developer, not a higher limit. Genuine growth: raise the limits if the server has headroom, and if it does not, the account has outgrown shared hosting and a VPSPioneer managed VPS is the next step. Raising a limit to make a fault count go away without knowing which of the three you have just moves the problem to the next tenant.