Community Forums
Connect with us on LinkedIn
+ Reply to Thread
Page 1 of 2 1 2 LastLast
Results 1 to 15 of 20
  1. #1
    Registered User
    Join Date
    Mar 2010
    Posts
    4

    Default Server Overloading...

    My server is overloaded by the process /usr/local/apache/bin/httpd -k start -DSSL owned by nobody. And this process is shown 10-15 times with different pid's. So plz help me with this.

    7714 nobody 17 0 157m 13m 5608 S 91.8 0.3 0:17.55 /usr/local/apache/bin/httpd -k start -DSSL
    7518 nobody 17 0 156m 11m 4776 R 34.6 0.3 0:07.28 /usr/local/apache/bin/httpd -k start -DSSL
    7525 nobody 15 0 157m 12m 4824 S 20.0 0.3 0:21.47 /usr/local/apache/bin/httpd -k start -DSSL
    7720 nobody 15 0 156m 11m 4720 R 1.0 0.3 0:05.61 /usr/local/apache/bin/httpd -k start -DSSL
    7751 nobody 15 0 156m 10m 4340 S 0.7 0.3 0:00.59 /usr/local/apache/bin/httpd -k start -DSSL
    7470 nobody 15 0 157m 12m 4716 S 0.3 0.3 0:14.62 /usr/local/apache/bin/httpd -k start -DSSL
    7700 nobody 15 0 165m 20m 4680 S 0.3 0.5 0:10.11 /usr/local/apache/bin/httpd -k start -DSSL
    7740 nobody 15 0 157m 11m 4448 S 0.3 0.3 0:06.44 /usr/local/apache/bin/httpd -k start -DSSL

  2. #2
    Member ravindradhainwa's Avatar
    Join Date
    Jan 2008
    Posts
    42

    Cool

    Hi,

    It seems that PHP SUExec is not enabled on your server.
    I suggest you to check the "apache status" from your WHM.

    WHM >> Server Status >> Apache Status
    It show the domain names which are using httpd service and IPs from which httpd request generated.

    So, you can block the IP or null route the domain name.

  3. #3
    Registered User
    Join Date
    Mar 2010
    Posts
    4

    Default

    Hi Ravindra,

    Thnx for the reply. Actually i even recompiled apache through easy apache with SuExec enabled. But then the load server load reached upto 8. Then i restored back to dso without SuExec. So bro can you suggest what can be the problem ?

    Thnx.

  4. #4
    Member
    Join Date
    Oct 2008
    Posts
    38

    Default

    Quote Originally Posted by oscarfish View Post
    Hi Ravindra,

    Thnx for the reply. Actually i even recompiled apache through easy apache with SuExec enabled. But then the load server load reached upto 8. Then i restored back to dso without SuExec. So bro can you suggest what can be the problem ?

    Thnx.
    Are you offering shared hosting on your server? If so, I'd suggest switching to suPHP permanently. Also, even when using suPHP the HTTPD process will still run as nobody. Only PHP scripts will suexec. The issue is related to the amount of traffic if you are getting a lot of httpd processes.
    Free hosting - Free cPanel hosting
    Using cPanel in the most extreme conditions!

  5. #5
    BANNED
    Join Date
    Jun 2005
    Location
    Wild Wild West
    Posts
    2,025

    Default

    Quote Originally Posted by oscarfish View Post
    .. Actually i even recompiled apache through easy apache with SuExec enabled. But then the load server load reached upto 8. Then i restored back to dso without SuExec. So bro can you suggest what can be the problem ?

    Thnx.
    A) Having multiple "httpd" processes like you posted is actually what it is supposed to do and is perfectly normal and is not a problem at all and I think you were not used to seeing the child processes and just simply went into panic a bit when there is actually no problem whatsoever.

    (I could actually go into a long dissertation on that but there is plenty of posts and web articles out there already covering that topic plenty enough --- see information related to MPM and Apache child processes)

    B) Going back to DSO is not recommended --- don't do it!

    (There is massive security and other technical complications with DSO plus you cannot arbitrarily switch back and forth between them because there is substantial operational differences as well including different permission needs for your web site files, .htaccess directives, etc)

    Quote Originally Posted by ravindradhainwa
    It seems that PHP SUExec is not enabled on your server.
    I suggest you to check the "apache status" from your WHM.
    What you told the original poster is entirely wrong ....

    If the poster were showing us his PHP processes then it would suggest the possibility (maybe but not necessarily) that they did not have "suexec" enabled as you said.

    However, the user was not showing us their PHP processes but rather their Apache web server processes which do in fact always run as user "nobody" irregardless of whether the server has suexec enabled or not and it also does not matter the PHP type that is in use either for this.

    Quote Originally Posted by nxweb
    Are you offering shared hosting on your server? If so, I'd suggest switching to suPHP permanently. Also, even when using suPHP the HTTPD process will still run as nobody. Only PHP scripts will suexec. The issue is related to the amount of traffic if you are getting a lot of httpd processes.
    You are dead on target and correct on all counts so the original poster would be well advised to pay attention to your comments here.

  6. #6
    Member
    Join Date
    May 2010
    Posts
    321

    Default

    Im also having the same problem -

    /usr/local/apache/bin/httpd -k start -DSSL

    At the moment there is 32 of these running.

    Any suggestions.

  7. #7
    BANNED
    Join Date
    Jun 2005
    Location
    Wild Wild West
    Posts
    2,025

    Default

    Quote Originally Posted by GaryT View Post
    Im also having the same problem -

    /usr/local/apache/bin/httpd -k start -DSSL

    At the moment there is 32 of these running.

    Any suggestions.
    Yes! Try reading my previous post.

  8. #8
    Member
    Join Date
    May 2010
    Posts
    321

    Default

    Ok I did - And...... Iam currently rebuilding my apache - I was using DSO - This was stable and Invision Powerboard ran extremely well on this -

    New apache does not function well under Vbulliten boards - I'm going to run under FastCGI - Yeah its alot faster - Less memory usuage - But then IPB boards have some caches problems with modifications.

    DSO - Fine - Lots of httpd requests
    FASTcgi - Fast - Cache problems
    suPHP - Extremely slow - More stable.

    Im baffled

  9. #9
    BANNED
    Join Date
    Jun 2005
    Location
    Wild Wild West
    Posts
    2,025

    Default

    Quote Originally Posted by GaryT View Post
    New apache does not function well under Vbulliten boards - I'm going to run under FastCGI - Yeah its alot faster - Less memory usuage - But then IPB boards have some caches problems with modifications.

    DSO - Fine - Lots of httpd requests
    FASTcgi - Fast - Cache problems
    suPHP - Extremely slow - More stable.

    Im baffled
    Gary:

    Everything you just said is absolutely and completely wrong!

    First, there are no issues with any release of Apache and vBulletin but from both a security and performance standpoint, you should be on Apache 2.2 series minimum so the recommendation would be Apache 2.2.15 currently.

    IPB boards have absolutely NO PROBLEMS or issues with FCGI or any modifications either and in fact FCGI is the most recommended platform for vBulletin above and beyond any other.

    (Somewhere around here is another thread regarding vBulletin and FCGI where I went into more detail about some of the common confusions and misconceptions where people confuse old CGI based PHP with FCGI or SuPHP and you might want to go hunt that down)

    As for your PHP platform listings above ...

    DSO - Extremely dangerous and also drastically limit number of users
    FASTcgi - Fastest - Absolutely **NO** cache problems whatsoever
    suPHP - Faster than DSO in this instance but with more memory used

  10. #10
    BANNED
    Join Date
    Jun 2005
    Location
    Wild Wild West
    Posts
    2,025

    Default

    Anyway, the bottom line point in the post above is that FCGI is your best overall platform for vBulletin that will give you the best performance out of all the PHP types and the one that will give you the least problems and complications and is the most commonly used platform for vBulletin.

    Where I would make an exception to the rule is if you have other sites hosting on the same server and they I would probably weigh those accordingly when deciding on a PHP platform for your forums.

  11. #11
    BANNED
    Join Date
    Jun 2005
    Location
    Wild Wild West
    Posts
    2,025

    Default

    Found it! Original thread was from last March ....

    Click here for the thread I mentioned in the earlier post

    This will give you a little bit more information that should be of use to you
    Last edited by Infopro; 05-24-2010 at 02:00 PM.

  12. #12
    Member
    Join Date
    May 2010
    Posts
    321

    Default

    Guys I do appreciate all your help, Im a novice and learning, I do take all your help to heart !

    I require futher information - See in WHM - I go to easyapache - And I see the following: Begin by selecting a profile to load:

    what would you say ?

    Then futher along: Please choose which specific PHP version(s) to build:
    I assume the very latest ?

    quick edit: Let me check your link out - seems we posted at the same time.
    Last edited by GaryT; 05-24-2010 at 01:18 PM.

  13. #13
    BANNED
    Join Date
    Jun 2005
    Location
    Wild Wild West
    Posts
    2,025

    Default

    Quote Originally Posted by GaryT View Post
    Then futher along: Please choose which specific PHP version(s) to build:
    I assume the very latest ?
    No! You do not want the "latest" version!

    Remember what I said about Apache version not being important?

    This DOES NOT hold true for the PHP version!

    PHP version 5.3 series introduced a number of non-backwards compatible changes which means many programs including also vBulletin and a lot of mods doen't work entirely right under this version series.

    You will want PHP 5.2 version series with your forums.

    Most recommended PHP version would be 5.2.13

  14. #14
    Member
    Join Date
    May 2010
    Posts
    321

    Default

    Thanks - I read and understand fully.

    I do want to try suPHP - However as soon as I did I got a 500 internal server error on one of the websites I host.

    I then changed it to CGI from the dropdown and it came on fine. I guess something is not right which is a shame.

  15. #15
    Member
    Join Date
    May 2010
    Posts
    321

    Default

    thanks - Damn you seem to post as same time as me lol sorry.

Similar Threads & Tags
Similar threads

  1. Problems with Google Bot Overloading Server
    By wrender in forum cPanel and WHM Discussions
    Replies: 0
    Last Post: 03-12-2011, 12:17 AM
  2. Server Overloading always
    By big_bull in forum cPanel and WHM Discussions
    Replies: 5
    Last Post: 11-16-2009, 03:45 PM
  3. Dedicated server keeps on overloading
    By bokhove2 in forum cPanel and WHM Discussions
    Replies: 1
    Last Post: 09-28-2005, 11:30 AM
  4. 1 user - many spamd processes overloading server
    By EMS in forum cPanel and WHM Discussions
    Replies: 1
    Last Post: 09-25-2005, 09:05 AM
  5. Exim overloading server
    By AbeFroman in forum cPanel and WHM Discussions
    Replies: 1
    Last Post: 08-24-2004, 09:41 PM
Linkedin       Facebook       Twitter       RSS       Flickr       YouTube