154 articles
Knowledge Base
Performance
154 articles in the Performance category · page 3 of 7.
- cPanel site suddenly slow under a traffic spike — finding the bottleneck before it 508s Traffic jumped and the site crawled or returned 508s. The question is which resource ran out first — CPU, entry processes, PHP workers, or the database — because that is what you must relieve.
- High iowait dragging a cPanel server — finding the process hammering the disk and stopping it Load average is high but CPU is mostly idle — the server is waiting on disk. Here is how to find which process and which account is generating the I/O, and how to relieve it.
- mysqld pegging the CPU on a cPanel server — finding the query, account, or missing index Server load is high and top shows mysqld eating the CPU. The cause is almost always a specific query or account — here is how to find it live rather than blindly tuning my.cnf.
- Raising PHP max_input_vars on cPanel — fixing forms and menus that save only part of their data Large WordPress menus, theme options, or form submissions silently drop fields past a certain count. The cause is PHP max_input_vars — here is where to raise it on cPanel and why the default bites.
- The Linux OOM killer reaping mysqld on a cPanel server — why it happens and how to stop it MySQL keeps dying and restarting on its own, with "Out of memory: Killed process" in the logs. The kernel is reclaiming RAM by killing the biggest process — here is how to find the cause and prevent it.
- Multi-layer caching architecture — edge, page, object, database How four cache tiers — CDN/edge, full-page, application object cache, database query cache — fit together. Request lifecycle, invalidation strategies, operational hazards.
- Production observability on Kubernetes — Prometheus, Grafana, Loki, Tempo Kubernetes observability stack architecture — metrics, logs, traces wired through OpenTelemetry, sized for production cardinality, cost, and HA.
- WordPress caching — LiteSpeed Cache vs Cloudflare APO vs object cache A decision framework for the three caches WordPress operators argue about — LiteSpeed Cache plugin, Cloudflare APO, Redis object cache. What each one accelerates, where each falls short, the stack that works.
- LSCache + QUIC.cloud — the edge network for LiteSpeed sites QUIC.cloud is LiteSpeed's CDN and image-optimization network, integrated into LSCache. Here is what it does, what it costs, and when to use it instead of Cloudflare.
- CDN in front of cPanel — what changes, and how to lock down the origin Putting Cloudflare, BunnyCDN, or KeyCDN in front of a cPanel host changes the threat model and the caching surface. Here is what to actually do at the origin.
- When to switch from Apache to LiteSpeed on cPanel Apache with PHP-FPM is fine for most cPanel hosts. LiteSpeed is better for specific traffic patterns. Here is how to recognize when the switch is worth it.
- Edge functions — when to push code to the POP When to run code at the CDN edge vs in the origin — request rewriting, A/B routing, auth, and the gotchas around cold start, state, and observability.
- MySQL slow query log on cPanel — turning it on and reading it The MySQL slow query log is the most important diagnostic for "the site is slow" tickets. cPanel ships it off by default. Here is how to enable it and what to look for.
- MySQL innodb_buffer_pool sizing on cPanel hosts The innodb_buffer_pool is the single most important MySQL setting on a cPanel host. Too small and disk IO becomes the bottleneck. Too big and the host swaps. Here is how we pick.
- Image optimization with WebP, AVIF, and LSCache on cPanel The cheapest LCP win on most WordPress sites is serving images in WebP or AVIF instead of JPEG. Here is how we automate it through LSCache and QUIC.cloud on cPanel.
- Postmortem with lvestats history — reconstructing what happened After an incident is over, lvestats history lets you reconstruct exactly which user hit which limit at which minute. Here is how to write a postmortem from this data.
- LSCache stale-while-revalidate — serving fast while fetching fresh Stale-while-revalidate lets LSCache serve an expired cache entry to the next visitor while it asynchronously fetches the fresh version. Here is when to enable it and the gotchas.
- Varnish VCL basics — the subroutines that matter A practical tour of the Varnish VCL state machine — vcl_recv, vcl_hash, vcl_backend_response, vcl_deliver — with snippets we use in production.
- Cache invalidation patterns — LSCache, Cloudflare API, Redis FLUSHDB Every cache layer has its own invalidation primitive. Using FLUSHDB when you meant LSCache purge, or purging Cloudflare when LSCache still holds the stale copy, is the most common cause of "I deployed, why is the old version still showing".
- Memcached + mcrouter — production sharding and replication Route memcached traffic through mcrouter for consistent hashing, pool replication, and rolling cache reconfiguration without restarting clients.
- Apache KeepAlive and timeout tuning on cPanel KeepAlive lets a single TCP connection serve multiple HTTP requests, cutting round-trips. Tuned wrong, it ties up Apache workers serving idle connections. Here is the balance.
- CageFS — why every shared cPanel host should have it on CageFS gives each cPanel user a separate virtual filesystem view, isolating processes, hiding other users, and stopping cross-tenant data exposure. Here is what it does and how to verify it is intact.
- PHP realpath cache tuning on cPanel — the small win nobody touches PHP resolves include paths from disk every time, unless realpath cache is sized right. Defaults are too small for modern apps; raising them is a quiet 5-15% speedup.
- HAProxy + Varnish — the canonical edge stack Run HAProxy as TLS terminator and load balancer in front of Varnish for HTTP caching — port layout, PROXY protocol, health checks, and graceful operation.