Entry processes

Also known as: EP limit

On this page 7

Entry processes are the simultaneous requests that enter a hosting account’s resource container, most often PHP or CGI scripts started by the web server, and the EP limit caps how many of them may run at the same moment. The concept comes from CloudLinux Lightweight Virtual Environments (LVE) and is one of the core server resources that shared hosting providers allocate per account.

An entry process is not the same as a visitor: it lasts only as long as the script takes to respond. A site with hundreds of concurrent visitors can stay within an EP limit of 20 if each request finishes in a fraction of a second, while a slow site can exhaust the same limit with far fewer visitors.

How entry processes are counted

On a CloudLinux server, each hosting account runs inside its own LVE container with limits for CPU, memory, I/O and processes. When the web server, such as Apache with mod_lsapi or LiteSpeed, hands a request to the account, the request enters the LVE, and the kernel increments the account’s entry process counter. When the response is complete, the counter drops again.

Cron jobs and SSH sessions also count when they start inside the container. Child processes spawned by an entry process, however, do not add new entries; they count toward the separate number of processes (NPROC) limit. If the counter reaches the EP limit, the next request is refused immediately and the visitor typically sees an HTTP 508 Resource Limit Is Reached error.

The relationship can be estimated with Little’s law: average concurrent entry processes equal the request rate multiplied by average response time. The table below shows how response time drives EP usage at a constant load of 20 dynamic requests per second.

Average response timeRequests per secondAverage concurrent EP
0.1 seconds20About 2
0.5 seconds20About 10
1 second20About 20
3 seconds20About 60
Effect of response time on concurrent entry processes

Real traffic arrives in bursts, so peak concurrency exceeds the average. A sensible target keeps the average below roughly half of the EP limit.

Entry processes and related resource limits

The EP limit is one of several per-account controls, and hosting dashboards usually show them side by side. Understanding which limit was hit is essential, because each limit has a different cause and remedy.

LimitWhat it restrictsTypical shared hosting valueSymptom when reached
Entry processes (EP)Concurrent requests entering the LVE10 to 40HTTP 508 errors
Number of processes (NPROC)All processes in the account50 to 100Fork failures, 500 errors
SPEEDCPU share of one or more cores100 to 200 percentThrottled, slow pages
Physical memory (PMEM)Resident RAM of all processes512 MB to 2 GBKilled scripts, 500 or 503 errors
IO and IOPSDisk throughput and operations1 to 10 MB/s, 1,024 IOPSSlow disk-bound pages
CloudLinux LVE limits compared

The limits interact. CPU throttling lengthens response times, which raises concurrent entry processes, which in turn pushes the account toward the EP limit. An EP fault is therefore often a secondary symptom of a CPU, memory or I/O bottleneck rather than evidence of too much traffic.

What drives entry process usage

High EP usage almost always reflects slow or excessive dynamic requests. Static files served directly by the web server do not enter the LVE as PHP executions, so only requests that start a script matter.

  • Uncached dynamic pages: every page view runs the full PHP stack and database queries.
  • Slow external calls: scripts that wait on remote APIs hold an entry process while idle.
  • Bots and crawlers: aggressive crawling or brute-force login attempts multiply concurrent requests.
  • Background AJAX requests: features such as frequent heartbeat calls keep entry processes busy.
  • Long-running cron jobs: imports and backups occupy slots for minutes at a time.

Diagnosing and reducing EP limit faults

Hosting panels with CloudLinux show a resource usage page listing EP faults by time, and administrators can query the same data with lveinfo. Correlating fault times with web server access logs reveals whether the trigger was a traffic spike, a bot or a slow endpoint.

The most effective remedy is to shorten the time each request spends in PHP, because that lowers concurrency for the same traffic. The table pairs common findings with corrective actions.

FindingLikely causeRecommended action
Faults at regular intervalsOverlapping cron jobsStagger or lengthen cron schedules
Faults with many requests to one URLBot or brute-force trafficBlock or rate-limit the source
Faults together with CPU limitsSlow, uncached pagesEnable full-page caching
Faults on checkout or search pagesHeavy uncached database queriesOptimize queries and add object caching
Faults with steady high trafficGenuine growthUpgrade the plan or move to a VPS
Remedies for frequent EP limit faults

Raising the EP limit without addressing slow requests merely moves the bottleneck to CPU or memory, so providers usually recommend optimization before an upgrade.

Common misconceptions about entry processes

Because the label sounds like visitor count, plans that advertise 20 entry processes are frequently misread. The points below correct the most frequent errors.

  • EP is not a visitor limit: one entry process can serve many visitors in sequence within a second.
  • EP is not NPROC: the process limit covers every process, including children of entry processes.
  • A higher EP limit is not more speed: it permits more concurrency but does not add CPU or memory.
  • Static assets rarely count: images and stylesheets served directly do not consume entry processes.

The idea in brief

Entry processes are like the number of checkout lanes open for a website on a shared server. Each time a page needs a script to build it, that request takes a lane until it is finished. If every lane is occupied, new requests are turned away with an error.

The trick is that lanes free up quickly when pages load fast. So the best fix is usually a faster website, not more lanes.

A practical scenario

A small online shop on a shared hosting plan with an EP limit of 20 starts showing 508 errors every evening. The owner assumes the shop has outgrown its plan, but the resource usage page shows that CPU throttling and EP faults occur together, always around 19:00.

The access logs reveal that an unthrottled price-comparison crawler requests hundreds of product pages each evening, and each uncached page takes about 2.5 seconds to render. At eight requests per second, that equals roughly 20 concurrent entry processes, exactly the limit.

The administrator enables full-page caching, which cuts most product page responses to under 0.2 seconds, and rate-limits the crawler. Concurrent entry processes fall to two or three at peak, the 508 errors disappear, and the shop stays on its existing plan.