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.

cPanel shows constant massive VM usage

Discussion in 'General Discussion' started by Tunners, Nov 12, 2013.

  1. Tunners

    Tunners Registered

    Joined:
    Nov 12, 2013
    Messages:
    3
    Likes Received:
    0
    Trophy Points:
    1
    cPanel Access Level:
    Website Owner
    Hi, hope this is the right forum (website) for this.

    Recently my website has been using massive amounts of virtual memory - cpanel has it at over a 1.2gb.

    My webhost has increased it twice but I can still see the odd 'PHP Out of memory... error' in the browser and 500 internal errors and the VM is constantly 'in the red'.

    The error_log is littered with these errors for nearly every php file and something called [eAccelerator]. I've removed/deactivated and uninstalled most of the plugins (I removed all at one point) that were installed but the removal had no effect - no reduction in memory usage.

    nb: The same theme/framework (Headway) and plugins run great on my own personal site which is a very basic web hosting package.

    Thanks for any help.
     
  2. cPanelMichael

    cPanelMichael Forums Analyst
    Staff Member

    Joined:
    Apr 11, 2011
    Messages:
    30,724
    Likes Received:
    660
    Trophy Points:
    113
    cPanel Access Level:
    Root Administrator
  3. Tunners

    Tunners Registered

    Joined:
    Nov 12, 2013
    Messages:
    3
    Likes Received:
    0
    Trophy Points:
    1
    cPanel Access Level:
    Website Owner
    Hi, thanks for replying Michael.

    No root access, it's on a shared hosting account. The VM is now maxed out constantlly at 1.5gb. The site loads only occasionally now.
     
  4. Tunners

    Tunners Registered

    Joined:
    Nov 12, 2013
    Messages:
    3
    Likes Received:
    0
    Trophy Points:
    1
    cPanel Access Level:
    Website Owner
    the error_log has nearly a thousand errors in it - Sample below.
    I do notice the different timezone listed [America/New_York] with [eAccelerator].

    Code:
    [12-Nov-2013 19:28:44 UTC] PHP Fatal error:  Out of memory (allocated 11534336) (tried to allocate 538088 bytes) in /home/comartsp/public_html/wp-settings.php on line 207
    [12-Nov-2013 19:29:47 UTC] PHP Fatal error:  Out of memory (allocated 12845056) (tried to allocate 159824 bytes) in /home/comartsp/public_html/wp-content/themes/headway/functions.php on line 17
    [12-Nov-2013 19:29:52 UTC] PHP Fatal error:  Out of memory (allocated 9961472) (tried to allocate 546368 bytes) in /home/comartsp/public_html/wp-content/plugins/lightbox-plus/lightboxplus.php on line 105
    [12-Nov-2013 19:30:55 UTC] PHP Fatal error:  Out of memory (allocated 12320768) (tried to allocate 488848 bytes) in /home/comartsp/public_html/wp-includes/functions.php on line 2754
    [12-Nov-2013 19:31:29 UTC] PHP Fatal error:  Out of memory (allocated 11534336) (tried to allocate 538088 bytes) in /home/comartsp/public_html/wp-settings.php on line 207
    [12-Nov-2013 19:32:08 UTC] PHP Fatal error:  Out of memory (allocated 10747904) (tried to allocate 538088 bytes) in /home/comartsp/public_html/wp-settings.php on line 203
    [12-Nov-2013 14:33:50 America/New_York] PHP Warning:  [eAccelerator] Can not create shared memory area in Unknown on line 0
    [12-Nov-2013 14:33:50 America/New_York] PHP Fatal error:  Unable to start eAccelerator module in Unknown on line 0
    [12-Nov-2013 19:35:27 UTC] PHP Fatal error:  Out of memory (allocated 6553600) (tried to allocate 12 bytes) in /home/comartsp/public_html/wp-includes/script-loader.php on line 28
    [12-Nov-2013 19:37:02 UTC] PHP Fatal error:  Out of memory (allocated 6291456) (tried to allocate 1 bytes) in /home/comartsp/public_html/wp-settings.php on line 119
    [12-Nov-2013 19:39:33 UTC] PHP Fatal error:  Out of memory (allocated 5767168) (tried to allocate 71 bytes) in /home/comartsp/public_html/wp-includes/option.php on line 148
    [12-Nov-2013 19:40:34 UTC] PHP Fatal error:  Out of memory (allocated 6029312) (tried to allocate 101 bytes) in /home/comartsp/public_html/wp-includes/option.php on line 149
    [12-Nov-2013 19:41:34 UTC] PHP Fatal error:  Out of memory (allocated 6291456) (tried to allocate 1 bytes) in /home/comartsp/public_html/wp-settings.php on line 119
    [12-Nov-2013 19:42:48 UTC] PHP Fatal error:  Out of memory (allocated 6029312) (tried to allocate 101 bytes) in /home/comartsp/public_html/wp-includes/option.php on line 149
    [12-Nov-2013 19:44:33 UTC] PHP Fatal error:  Out of memory (allocated 7077888) (tried to allocate 339952 bytes) in /home/comartsp/public_html/wp-settings.php on line 203
    [12-Nov-2013 19:45:47 UTC] PHP Fatal error:  Out of memory (allocated 12845056) (tried to allocate 159824 bytes) in /home/comartsp/public_html/wp-content/themes/headway/functions.php on line 17
     
  5. cPanelMichael

    cPanelMichael Forums Analyst
    Staff Member

    Joined:
    Apr 11, 2011
    Messages:
    30,724
    Likes Received:
    660
    Trophy Points:
    113
    cPanel Access Level:
    Root Administrator
    You will need to contact your hosting provider and ask them to increase the memory available to your account. It's likely they have a third-party product such as Cloud Linux installed that is limited the memory available to your account.

    Thank you.
     
  6. Tunners

    Tunners Registered

    Joined:
    Nov 12, 2013
    Messages:
    3
    Likes Received:
    0
    Trophy Points:
    1
    cPanel Access Level:
    Website Owner
    Thanks, they've already increased it twice and each time the amount of RAM used has crept up to max - obviously not a situation that can go on forever.
    I was hoping to be able to track down the cause.
     
  7. cPanelMichael

    cPanelMichael Forums Analyst
    Staff Member

    Joined:
    Apr 11, 2011
    Messages:
    30,724
    Likes Received:
    660
    Trophy Points:
    113
    cPanel Access Level:
    Root Administrator
    You may want to consult with the support or developer of the script utilized on the website. There may be methods of reducing memory usage or disabling certain plugins it uses.

    Thank you.
     
Loading...

Share This Page