Linode Forum
Linode Community Forums
 FAQFAQ    SearchSearch    MembersMembers      Register Register 
 LoginLogin [ Anonymous ] 
Post new topic  Reply to topic
Author Message
 Post subject: Zombie processes
PostPosted: Sat Jul 03, 2004 6:06 pm 
Offline

Joined: Sat Jul 03, 2004 5:10 pm
Posts: 1
ICQ: 170786789
I've had, on occasion a problem with processes becoming zombies instead of terminating when they're finished:
Code:
zak@orionrecruitinggroup:~$ ps -A|grep defunct|wc -l
     145

Killing all the zombies doesn't solve the problem because new ones are generated constantly. They eventually cause mysql to act up; most services on the system depend on mysql. The only solution seems to be a reboot, which isn't acceptable to do regularily on a machine that needs to be available to receive mail all the time. The symptoms are similar to this.

Has anyone encountered a similar issue?


Top
   
 Post subject:
PostPosted: Sun Jul 04, 2004 11:48 am 
Offline
Senior Member
User avatar

Joined: Fri Oct 24, 2003 3:51 pm
Posts: 965
Location: Netherlands
Discussion that you referenced was continued here: http://seclists.org/lists/linux-kernel/2004/Apr/2065.html, where it is described as a local DoS. The symptoms are ascribed to a userspace program blocking a signal and then receiving many such signals, causing sigqueue overflow.

When sigqueue overflows in 2.4, all linuxthreads-based programs, including root-run daemons, stop receiving notifications about thread exits. All completed threads become zombies.

In 2.6, since NPTL is used instead of linuxthreads, there are no zombies from system daemons but sigqueue overflow still causes strange (bad) things to happen.

They specifically mention mysql problems.

Edited to add:

More specifically, long lived processes that generate many short-lived threads during their normal operations (like mysql) are the first to feel the pain when the process table fills up.

_________________
/ Peter


Top
   
Display posts from previous:  Sort by  
Post new topic  Reply to topic


Who is online

Users browsing this forum: No registered users and 2 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum

Search for:
Jump to:  
RSS

Powered by phpBB® Forum Software © phpBB Group