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.

installzendoptimizer -> lots of defunct httpds now

Discussion in 'General Discussion' started by odoisc, Oct 28, 2003.

  1. odoisc

    odoisc Member

    Joined:
    Feb 27, 2003
    Messages:
    8
    Likes Received:
    0
    Trophy Points:
    1
    hello, i'm having some problems here, this is what happened.

    - I installed the zend optimizer with the /script/ command.
    - Installation looked ok, but I noticed a lot of defunct httpd processes after a while.
    - So I replace the php.ini file with a backup that was made by the zend optimizer installer, and restarted apache.
    - but even now after a few days there are still a lot of defunct httpd processes, and they take quiet some cpu . So much , that my server is getting stuck now and then, if its gets some normal amounts of traffic.
    - I recompiled apache, but still no improvisation..


    I can ofcourse not reboot my server every few hours .. surely there must be a way to solve this , and return everything as it was before ?
     
  2. irishfreakout

    irishfreakout Registered

    Joined:
    Jul 16, 2003
    Messages:
    2
    Likes Received:
    0
    Trophy Points:
    1
    I'm having this same problem. Anyone know anything?

    I am running apache 29, so its not the 28 zombie bug.
     
  3. markie

    markie BANNED

    Joined:
    Oct 5, 2003
    Messages:
    143
    Likes Received:
    0
    Trophy Points:
    0
    httpd <defunct> proccesses have always been an issue with us using Cpanel. Every server suffers even moments after restarting Apache. Cant believe that every user on our box is running some kind of badly written php and cgi code for us to see this on every server.
     
  4. Website Rob

    Website Rob Well-Known Member

    Joined:
    Mar 23, 2002
    Messages:
    1,506
    Likes Received:
    0
    Trophy Points:
    36
    Location:
    Alberta, Canada
    cPanel Access Level:
    Root Administrator
    I have noticed that when using /scripts/installzendopt, the last function of the script asks if you want to restart Apache. What people don't know is the Apache has already restarted so the answer to the question is "No".

    As for defunct Apache processes, best way to get a handle on them is to manually stop, then start Apache. An unclean shutdown/restart of Apache will cause more problems than anything else and the manual method will usually clear things up.

    Not to say it will work in every case, but it's a good starting point.
     
Loading...

Share This Page