What is Entry Processes Limit (EP) in a CloudLinux server?

Entry Processes: The Entry Processes Limit, also know as “Apache concurrent connections” limit is one of the main LVE parameter in CloudLinux based cPanel servers. We already discussed the basics of CloudLinux and its administrations in our previous discussions. You can check this link for more related articles >> CloudLinux <<

CloudLinux is a Linux based Operating system especially used in a shared environment which isolates each user in its own light weight virtualized environment (LVE) which consumes predefined amount of resources allocated for each user.

That is, each user will be in a caged environment. The resource usage of any user won’t affect the stability of another users.

Entry Processes Limit control the number of entries into LVE. It counts the processes enters into LVE and increment the counter, likewise, it decrement the counter when the process leave the LVE.

Note 1 : The process enter’s into LVE when there is a new HTTP request for CGI/PHP.
Note 2 : It does not count processes that are created inside LVE itself.

Importance of Entry Processes Limit

This technology is created to prevent the DDoS attacks on web servers. One of the most famous attack to a web server is creating multiple HTTP connections. Those HTTP connections to a web server can slow down the server.

Once all Apache slots are used up, no one else (new connections to server) will be able to connect to the web server, causing it to appear to be down. In this case the CPU usage will be high and the page serving speed of Apache will be slow.

The Entry Processes Limit (Apache concurrent connections’ limit) is created to mitigate this DDoS to server. This will limit the total number of connections to Apache.

Once the number of concurrent connections reached its limit, the web server serve the error page “508 Resource Limit Reached.”

For more details, see this article on 508 Resource Limit Reached.

[Solved] 508 Resource Limit Is Reached – cPanel – CloudLinux

his warning appears mainly in domains hosted on a CloudLinux installed server. In a CloudLinux installed server, each account has a predefined amount of resources.

The error message “508 Resource Limit Is Reached” appears when the account (domain) is constantly exceeding the resources assigned to it. Read more…

Check the category CloudLinux for more related articles on this technology.

How to check the Entry Processes usage for a user?

This can be done from the cPanel or from the server CLI (command line interface). Here I’ll give you a detailed explanation on how to check the EP usage for an account.

How to check this via cPanel?

  1.  Log into cPanel.
  2. Then go to, Logs >> Resource Usage; to get a detailed view.
Entry Processes Limit

Or you can see those details from the left panel.

Entry Processes Limit2

How to check resource usage details from commandline?

From shell, you can see those details simply by using the “lveinfo” command.

Please see the details pasted below:

Syntax

# lveinfo -u $username
# lveinfo -u crybit

Sample output

# lveinfo -u crybit
+-----------+-----------+----+----+----+---+---+----+---+---+---+-----+-----+-----+---+-----+-----+-----+-----+
|    From   |     To    |aCPU|mCPU|lCPU|aIO|mIO|lIO |aEP|mEP|lEP|aPMem|mPMem|lPMem|EPf|PMemF|aIOPS|mIOPS|lIOPS|
+-----------+-----------+----+----+----+---+---+----+---+---+---+-----+-----+-----+---+-----+-----+-----+-----+
|05-30 11:35|05-30 11:40| 0  | 0  | 4  | 0 | 4 |4096| 1 | 1 | 40|62.6M|64.2M| 2.0G| 0 |  0  |  0  |  0  | 1024|
|05-30 11:40|05-30 11:45| 0  | 0  | 4  | 1 | 36|4096| 1 | 2 | 40|63.6M|66.1M| 2.0G| 0 |  0  |  0  |  4  | 1024|
|05-30 11:44|05-30 11:45| 0  | 0  | 4  | 1 | 4 |4096| 1 | 1 | 40|63.6M|63.6M| 2.0G| 0 |  0  |  0  |  0  | 1024|
|05-30 11:45|05-30 11:46| 0  | 0  | 4  | 0 | 2 |4096| 1 | 2 | 40|58.4M|64.9M| 2.0G| 0 |  0  |  0  |  0  | 1024|
|05-30 11:46|05-30 11:47| 0  | 0  | 4  | 0 | 2 |4096| 1 | 1 | 40|63.6M|63.6M| 2.0G| 0 |  0  |  0  |  0  | 1024|
|05-30 11:47|05-30 11:48| 0  | 0  | 4  | 1 | 4 |4096| 1 | 2 | 40|63.6M|64.8M| 2.0G| 0 |  0  |  0  |  0  | 1024|
+-----------+-----------+----+----+----+---+---+----+---+---+---+-----+-----+-----+---+-----+-----+-----+-----+

See the columns aEP, mEP and lEP for more details.

Post navigation

Arunlal A

Senior System Developer at Zeta. Linux lover. Traveller. Let's connect! Whether you're a seasoned DevOps pro or just starting your journey, I'm always eager to engage with like-minded individuals. Follow my blog for regular updates, connect on social media, and let's embark on this DevOps adventure together! Happy coding and deploying!

5 thoughts on “What is Entry Processes Limit (EP) in a CloudLinux server?

  1. Hi, you made it simple for a layman to understand about what is EP; Im from Zauca Website designing company, we are referring this article whenever somebody ask more info about EPL.

    Good Luck
    Zauca Website Design

  2. My website frequently reaches the Entry Process limit. I am confused about which things might cause this problem and how to solve this! Can you help me to find out the exact problem?

Leave a Reply

Your email address will not be published. Required fields are marked *