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.

Having a weird problem...

Discussion in 'General Discussion' started by Mr Goodie2Shoes, Feb 22, 2012.

  1. Mr Goodie2Shoes

    Joined:
    Sep 21, 2011
    Messages:
    24
    Likes Received:
    0
    Trophy Points:
    1
    cPanel Access Level:
    Root Administrator
    A week ago, for some reason the memory usage went off the roof... and the usage was 98%... and as a result all the cron job stopped working and the site visitors were getting an Internal Server Error (which I know happens if theres no memory to allocate)

    I rebooted my VPS and the problem resolved by itself and the average memory usage was 560MB

    Today, the same thing happened and again resolved when I rebooted my VPS...

    why is this happening? :(
     
  2. Infopro

    Infopro cPanel Sr. Product Evangelist
    Staff Member

    Joined:
    May 20, 2003
    Messages:
    14,451
    Likes Received:
    195
    Trophy Points:
    63
    Location:
    Pennsylvania
    cPanel Access Level:
    Root Administrator
    Twitter:
    In: WHM > Server Status > Daily Process Log, you may be able to get some idea of which account is causing problems. At top of page click the date to go back to yesterday then click the top of the Memory column, twice to sort.

    Won't give you much but should point you somewhere I think.
     
  3. Mr Goodie2Shoes

    Joined:
    Sep 21, 2011
    Messages:
    24
    Likes Received:
    0
    Trophy Points:
    1
    cPanel Access Level:
    Root Administrator
    Its "nobody" :(

    I have only one client at this moment... cuz its a new server... should I reinstall my OS?
     
  4. Infopro

    Infopro cPanel Sr. Product Evangelist
    Staff Member

    Joined:
    May 20, 2003
    Messages:
    14,451
    Likes Received:
    195
    Trophy Points:
    63
    Location:
    Pennsylvania
    cPanel Access Level:
    Root Administrator
    Twitter:
    No, I wouldn't.

    Take a look here: WHM > Service Configuration > Configure PHP and SuExec, what do you have showing for PHP 5 Handler?
     
  5. Mr Goodie2Shoes

    Joined:
    Sep 21, 2011
    Messages:
    24
    Likes Received:
    0
    Trophy Points:
    1
    cPanel Access Level:
    Root Administrator
    suPHP... also just noticed: the only client I have was using 25% of the total memory... I suspended the account immediately...
     
  6. Mr Goodie2Shoes

    Joined:
    Sep 21, 2011
    Messages:
    24
    Likes Received:
    0
    Trophy Points:
    1
    cPanel Access Level:
    Root Administrator
    btw, which is the best for handling the PHP?
    suPHP fcgi or cgi?
     
  7. Infopro

    Infopro cPanel Sr. Product Evangelist
    Staff Member

    Joined:
    May 20, 2003
    Messages:
    14,451
    Likes Received:
    195
    Trophy Points:
    63
    Location:
    Pennsylvania
    cPanel Access Level:
    Root Administrator
    Twitter:
    Good call.

    Personally, I prefer SuPHP.
     
  8. cPanelMichael

    cPanelMichael Forums Analyst
    Staff Member

    Joined:
    Apr 11, 2011
    Messages:
    30,678
    Likes Received:
    654
    Trophy Points:
    113
    cPanel Access Level:
    Root Administrator
    Hello :)

    suPHP is the default handler for PHP. It's generally a very secure method of serving PHP requests. Feel free to view the differences and considerations for each handler at the following URL:

    Apache PHP Request Handling

    Thank you.
     
  9. Mr Goodie2Shoes

    Joined:
    Sep 21, 2011
    Messages:
    24
    Likes Received:
    0
    Trophy Points:
    1
    cPanel Access Level:
    Root Administrator
    okay thanks :)
    I think the issue has been resolved, please close the thread :)
     
Loading...

Share This Page