The Community Forums

Interact with an entire community of cPanel & WHM users!
  1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

Increase Virtual Memory

Discussion in 'General Discussion' started by ghog, Dec 1, 2008.

  1. ghog

    ghog Member

    Joined:
    Jul 23, 2008
    Messages:
    8
    Likes Received:
    0
    Trophy Points:
    1
    I am receiving this notification quite regularly:
    Time: Tue Dec 2 10:54:08 2008 +1100
    Account: wwwmydj
    Resource: Virtual Memory Size
    Exceeded: 101 > 100 (MB)
    Executable: /usr/sbin/crond
    Command Line: crond
    PID: 16873
    Killed: Yes

    So I would like to increase my VM to 150 and see if that solves anything but I have no idea how to do this. Does anybody know if this can be done using CPanel?
     
  2. apscinsspl

    apscinsspl Well-Known Member

    Joined:
    Mar 15, 2008
    Messages:
    112
    Likes Received:
    0
    Trophy Points:
    16
    Hello,

    I think the crond is executing some php script under that account and the mesage if of PHP virtual memory.

    Open the file:

    /usr/local/lib/php.ini

    there you will find option for virtual memory which you can increase.
     
  3. thewebhosting

    thewebhosting Well-Known Member

    Joined:
    May 9, 2008
    Messages:
    1,201
    Likes Received:
    1
    Trophy Points:
    38
    This can not be done from CPanel. You need to have a root access in order to follow the steps suggested by apscinsspl.
     
  4. ghog

    ghog Member

    Joined:
    Jul 23, 2008
    Messages:
    8
    Likes Received:
    0
    Trophy Points:
    1
    I browsed the php.ini file, as suggested, for virtual memory, and could not find anything at all. Also I have about 9 domains on the server, so I am wondering if it is just the mentioned domain, in the notification messages drawing the excessive resources, how the suggested fix would resolve this? Wouldn't this increase virtual memory on all domain applications and cause greater stress on the server?

    I don't know very much about server side admin but from what I understand I need to just bump up the memory resourced allocated to that specific domain. So I am not sure if by adding anything to the root php.ini will help.

    Anyhow I am still stumped with this so I would appreciate any suggestions.
     
  5. rhenderson

    rhenderson Well-Known Member

    Joined:
    Apr 21, 2005
    Messages:
    785
    Likes Received:
    0
    Trophy Points:
    16
    Location:
    Oklahoma
    cPanel Access Level:
    Root Administrator
    Our php.ini looks someting like:

    Code:
    ;;;;;;;;;;;;;;;;;;;
    ; Resource Limits ;
    ;;;;;;;;;;;;;;;;;;;
    
    max_execution_time = 30     ; Maximum execution time of each script, in seconds
    max_input_time = 60     ; Maximum amount of time each script may spend parsing request data
    memory_limit=32M
    
    If your using nano once you load the php.ini hit ctrl+w and type in memory and hit enter, then it will search for you.

    BTW, What is sending you this email? I have never got one like that, CSF, cPanel, SuHosin??
     
  6. dnyce

    dnyce Registered

    Joined:
    Dec 27, 2008
    Messages:
    2
    Likes Received:
    0
    Trophy Points:
    1
    Location:
    San Francisco
    You may want to ask your hosting company if they can help you out with this issue. You will definitely need root access as has been suggested earlier.
     
  7. ghog

    ghog Member

    Joined:
    Jul 23, 2008
    Messages:
    8
    Likes Received:
    0
    Trophy Points:
    1
    this is a dedicated server so there is no host.:(
     
  8. neorder

    neorder Well-Known Member

    Joined:
    Jun 16, 2003
    Messages:
    55
    Likes Received:
    0
    Trophy Points:
    6
    CSF sends that, I'm also wondering why a basic php page would consume 200M RAM...

    ...And I receive hundreds of such mails from different servers, is it my server configuration got problem?
     
  9. Miraenda

    Miraenda Well-Known Member

    Joined:
    Jul 28, 2004
    Messages:
    242
    Likes Received:
    1
    Trophy Points:
    18
    Location:
    Coralville, Iowa USA
Loading...

Share This Page