Please whitelist cPanel in your adblocker so that you’re able to see our version release promotions, thanks!

The Community Forums

Interact with an entire community of cPanel & WHM users!

Virtual Memory Size /opt/cpanel/ea-php56/root/usr/bin/php-cgi easyapache 4

Discussion in 'EasyApache' started by Alrissa, Oct 30, 2017.

  1. Alrissa

    Alrissa Member

    Joined:
    Dec 17, 2016
    Messages:
    12
    Likes Received:
    2
    Trophy Points:
    3
    Location:
    Europe
    cPanel Access Level:
    Root Administrator
    Just a quick inquiry since I'm not sure how this works and most people have the opposite issue. (IE their memory limit is set to low and the sites are not working or they run a 2 GB ram vps and run out)

    The multiphp environment, for example /opt/cpanel/ea-php56/root/usr/bin/php-cgi

    What limits the total memory usage by that environment? IF, for example the memory limit for a domain or globally is set to 256 and csf (which I'm aware is not exactly cPanel staff's job to work with :) ) sees, say 1GB+ memory usage.

    I'm assuming this is for more than one instance and the memory usage seen is the combined memory usage.

    Hypothetically if I have 15 out of 20 GB ram free everything should be hunky dory tillI get about 100+ instances at the same time right? (Since the 256M limit is how much it asks the server to reserve for it not how much the instance actually uses while active)


    (What promted this question; I'm already conditioned to ignore these csf messages but I'd like to confirm I'm understanding how things work:

    Resource: Virtual Memory Size
    Exceeded: 500 > 500 (MB)
    Executable: /opt/cpanel/ea-php56/root/usr/bin/php-cgi )

    Please feel free to correct any misconceptions I may have.
     
  2. cPanelMichael

    cPanelMichael Technical Support Community Manager
    Staff Member

    Joined:
    Apr 11, 2011
    Messages:
    44,803
    Likes Received:
    1,898
    Trophy Points:
    363
    cPanel Access Level:
    Root Administrator
    Twitter:
    Hello,

    There shouldn't actually be a limit on the memory usage of the PHP process (other than your system's available memory) unless you are using an application such as CloudLinux with LVE limitations enabled. As far as the CSF process tracking emails, that's configurable in CSF:

    Excessive resource usage: Virtual Memory

    Thank you.
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
Loading...

Share This Page

  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.
    Dismiss Notice