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.

defunct all over the place

Discussion in 'General Discussion' started by denisdekat09, Sep 19, 2004.

  1. denisdekat09

    denisdekat09 Well-Known Member

    Joined:
    Mar 2, 2002
    Messages:
    265
    Likes Received:
    0
    Trophy Points:
    16
    Location:
    San Francisco
    I just noticed that I am building up loads of defunct processes on my servers, particularly RH9 and the bwlimit ones (had one with a bunch of exim also):

    root@server01 [/usr/local]# ps auxw | grep defunct
    root 6526 0.0 0.0 0 0 ? ZN Sep15 0:00 [upcp <defunct>]
    root 31881 0.0 0.0 0 0 ? ZN Sep15 0:00 [bwlimit <defunct>]
    root 9603 0.0 0.0 0 0 ? ZN Sep16 0:00 [bwlimit <defunct>]
    root 8747 0.0 0.0 0 0 ? ZN Sep16 0:00 [bwlimit <defunct>]
    root 22489 0.0 0.0 0 0 ? ZN Sep16 0:00 [bwlimit <defunct>]
    root 16141 0.0 0.0 0 0 ? ZN Sep16 0:00 [bwlimit <defunct>]
    root 31898 0.0 0.0 0 0 ? ZN Sep16 0:00 [bwlimit <defunct>]
    root 5912 0.0 0.0 0 0 ? ZN Sep16 0:00 [bwlimit <defunct>]
    root 395 0.0 0.0 0 0 ? ZN Sep16 0:00 [bwlimit <defunct>]
    root 9248 0.0 0.0 0 0 ? ZN Sep17 0:00 [bwlimit <defunct>]
    root 9249 0.0 0.0 0 0 ? ZN Sep17 0:00 [reachedbwlimit <defunct>]
    root 15921 0.0 0.0 0 0 ? ZN Sep17 0:00 [bwlimit <defunct>]
    root 12227 0.0 0.0 0 0 ? ZN Sep17 0:00 [bwlimit <defunct>]
    root 23888 0.0 0.0 0 0 ? ZN Sep17 0:00 [bwlimit <defunct>]
    root 9475 0.0 0.0 0 0 ? ZN Sep17 0:00 [bwlimit <defunct>]
    root 886 0.0 0.0 0 0 ? ZN Sep17 0:00 [bwlimit <defunct>]
    root 10888 0.0 0.0 0 0 ? ZN Sep17 0:00 [bwlimit <defunct>]
    root 22642 0.0 0.0 0 0 ? ZN Sep17 0:00 [bwlimit <defunct>]
    root 11575 0.0 0.0 0 0 ? ZN Sep17 0:00 [bwlimit <defunct>]
    root 21647 0.0 0.0 0 0 ? ZN Sep18 0:00 [bwlimit <defunct>]
    root 24566 0.0 0.0 0 0 ? ZN Sep18 0:00 [bwlimit <defunct>]
    root 25860 0.0 0.0 0 0 ? ZN Sep18 0:00 [bwlimit <defunct>]
    root 28491 0.0 0.0 0 0 ? ZN Sep18 0:00 [bwlimit <defunct>]
    root 2929 0.0 0.0 0 0 ? ZN Sep18 0:00 [bwlimit <defunct>]
    root 12675 0.0 0.0 0 0 ? ZN Sep18 0:00 [bwlimit <defunct>]
    root 16346 0.0 0.0 0 0 ? ZN Sep18 0:00 [bwlimit <defunct>]
    root 4588 0.0 0.0 0 0 ? ZN 04:11 0:00 [bwlimit <defunct>]
    root 9506 0.0 0.0 0 0 ? ZN 10:14 0:00 [bwlimit <defunct>]
    root 21239 0.0 0.0 0 0 ? ZN 16:15 0:00 [bwlimit <defunct>]
    mailnull 21527 0.1 0.0 0 0 ? ZN 18:59 0:00 [exim <defunct>]
    root 26368 0.0 0.0 4456 640 pts/1 S 19:00 0:00 grep defunct

    I tried

    ps auwx | grep defunct | awk '{fs=" "}{print $2}'| xargs kill -9

    But nothing kills them :( Treid rebooting one server and it cleared them up, but man I hate rebooting everything all over the place. Any ideas why these could be happening?

    Thanks :)
     
  2. AbeFroman

    AbeFroman BANNED

    Joined:
    Feb 16, 2002
    Messages:
    654
    Likes Received:
    1
    Trophy Points:
    0
    Something must be stopping those mid process, do you have a process kill or memory limiter?
     
  3. denisdekat09

    denisdekat09 Well-Known Member

    Joined:
    Mar 2, 2002
    Messages:
    265
    Likes Received:
    0
    Trophy Points:
    16
    Location:
    San Francisco
    nope, not at all :( I monitor these guys, but they do not have anythng killing processes that I ever put in...
     
  4. denisdekat09

    denisdekat09 Well-Known Member

    Joined:
    Mar 2, 2002
    Messages:
    265
    Likes Received:
    0
    Trophy Points:
    16
    Location:
    San Francisco
    This is coming back on this server.. I guess I will be opening a ticket ;)
     
  5. AbeFroman

    AbeFroman BANNED

    Joined:
    Feb 16, 2002
    Messages:
    654
    Likes Received:
    1
    Trophy Points:
    0
    What you find out?
     
  6. seeyes

    seeyes Well-Known Member

    Joined:
    Sep 12, 2003
    Messages:
    50
    Likes Received:
    0
    Trophy Points:
    6
    I boys,
    I have the same problem... there are more processo like:
    [bwlimit] <defunct>
    from the last server restart. When I have restat the server, I don't see any [bwlimit] process, but now (after two days) I have 195 process...

    I use Fedora Core 2 on a WHM 9.9.0 cPanel 9.9.0-E56

    Thank you
     
  7. denisdekat09

    denisdekat09 Well-Known Member

    Joined:
    Mar 2, 2002
    Messages:
    265
    Likes Received:
    0
    Trophy Points:
    16
    Location:
    San Francisco
    sorry, I thought they went away after reboot, but they are coming back. I will open a ticket for sure this time :)

    I have this on RH9 and RH7.3 happening so far...

    I don't have as many as before:

    ps auxw | grep defunct
    root 9920 0.0 0.0 0 0 ? ZN Sep19 0:00 [bwlimit <defunct>]
    root 16222 0.0 0.0 0 0 ? ZN Sep20 0:00 [bwlimit <defunct>]
    root 26186 0.0 0.0 0 0 ? ZN Sep20 0:00 [bwlimit <defunct>]
    root 32695 0.0 0.0 0 0 ? ZN Sep20 0:00 [bwlimit <defunct>]
    root 28139 0.0 0.0 0 0 ? ZN Sep20 0:00 [bwlimit <defunct>]
    root 5902 0.0 0.0 0 0 ? ZN Sep21 0:00 [bwlimit <defunct>]
    root 8343 0.0 0.0 0 0 ? ZN Sep21 0:00 [bwlimit <defunct>]


    But still get them and they refuse to die :(

    I tried to use kill -9 on these but no luck...
     
  8. Promethyl

    Promethyl Well-Known Member

    Joined:
    Mar 27, 2004
    Messages:
    68
    Likes Received:
    0
    Trophy Points:
    6
    This also happens to me on RHE with Cpanel current.
     
  9. mydomain

    mydomain Well-Known Member

    Joined:
    Aug 10, 2003
    Messages:
    138
    Likes Received:
    0
    Trophy Points:
    16
    Same issue for us also with bwlimit defunct processes
     
  10. Promethyl

    Promethyl Well-Known Member

    Joined:
    Mar 27, 2004
    Messages:
    68
    Likes Received:
    0
    Trophy Points:
    6
    GC doesn't clean these until the owner process finishes. I sighup'd mine, and the defunts were removed, but ... who's to say it was coincidence.
     
  11. dhost

    dhost Active Member

    Joined:
    Nov 29, 2002
    Messages:
    32
    Likes Received:
    0
    Trophy Points:
    6
    zombies bwlimit<defunct>

    Same here more than 79 processes. /scripts/upcp killed all except 1
     
  12. sasha

    sasha Member

    Joined:
    Nov 5, 2002
    Messages:
    9
    Likes Received:
    0
    Trophy Points:
    1
    Same problem here
    WHM 9.9.0 cPanel 9.9.0-C55
    Fedora i686 - WHM X v3.1.0


    /etc/init.d/cpanel restart
    makes zombies go away
     
  13. haze

    haze Well-Known Member

    Joined:
    Dec 21, 2001
    Messages:
    1,550
    Likes Received:
    3
    Trophy Points:
    38
  14. webits

    webits Well-Known Member

    Joined:
    May 15, 2004
    Messages:
    114
    Likes Received:
    0
    Trophy Points:
    16
    I'm having the same problem anyone report a bug if so whats the link so i can add on there.
     
  15. SupermanInNY

    SupermanInNY Well-Known Member

    Joined:
    Jul 19, 2003
    Messages:
    255
    Likes Received:
    0
    Trophy Points:
    16

    WHM 9.9.0 cPanel 9.9.1-S50
    RedHat 9 i686 - WHM X v3.1.0

    /etc/init.d/cpanel restart

    Did the trick for me!


    -Alon.
     
    #15 SupermanInNY, Oct 16, 2004
    Last edited: Oct 16, 2004
  16. @home

    @home Well-Known Member

    Joined:
    Nov 5, 2003
    Messages:
    119
    Likes Received:
    0
    Trophy Points:
    16
    cPanel Access Level:
    Root Administrator
    Is there any news on this problem?

    I have this on all servers.
    I am on RHEL and 9.9.8-STABLE_6.

    Restarting cpanel is only a tempory solution.
    After checking bandwidth accounts i seems there are a number of zombie processes beeing created.

    bwlimit <defunct>

    It looks like for every account that is reaching his bandwidth a zombie is beeing created.
     
  17. duranduran

    duranduran Well-Known Member

    Joined:
    Apr 30, 2004
    Messages:
    198
    Likes Received:
    0
    Trophy Points:
    16
    Same here - de CPanel restart is not a solution.
     
  18. SupermanInNY

    SupermanInNY Well-Known Member

    Joined:
    Jul 19, 2003
    Messages:
    255
    Likes Received:
    0
    Trophy Points:
    16
    Yes, I'm also back with the same problem and the remedy I suggested earlier is only a temp relief (kinda reminds me: Two tablets of advil are better than 4 tablets of excedrin which are better than 2 tabs of aspirin which are better than......:))) ).

    So anyone with a permanent solution to that (this is a call to the cPanel guys).

    A bugzilla ticket has been submitted now: http://bugzilla.cpanel.net/show_bug.cgi?id=1487


    -Alon.
     
    #18 SupermanInNY, Oct 25, 2004
    Last edited: Oct 25, 2004
  19. Dathorn_ADT

    Dathorn_ADT Active Member

    Joined:
    Nov 16, 2002
    Messages:
    41
    Likes Received:
    1
    Trophy Points:
    6
    cPanel Access Level:
    Root Administrator
    Having this very same issue on all of our RHE servers, running latest Current version as of this past Sunday.
     
  20. SupermanInNY

    SupermanInNY Well-Known Member

    Joined:
    Jul 19, 2003
    Messages:
    255
    Likes Received:
    0
    Trophy Points:
    16
Loading...

Share This Page