Linode Forum
Linode Community Forums
 FAQFAQ    SearchSearch    MembersMembers      Register Register 
 LoginLogin [ Anonymous ] 
Post new topic  Reply to topic
Author Message
PostPosted: Thu Mar 26, 2009 7:19 pm 
Offline
Newbie

Joined: Sat Jan 31, 2009 2:38 pm
Posts: 2
Hi,

My system is FC9. Currently whenever a process finishes execution it remains as a zombie process indefinitely and never dies, now under control of the init process. It appears init is never executing wait.

This is a major problem as my system is a webserver where hundreds of internal and public emails are sent daily. As a result when I last checked, there were upward of 4000 defunct sendmail processes.
Eventually the httpd was reporting memory usage errors, I suspect because the process table had no room for more PIDs. I was forced to reboot/kill init thread in order kill them all.

On boot my server has about 24mb of memory free of ~384 which can be reduced if I optimise the httpd and mysqld. Could lack of memory cause this?!

I am fairly inexperienced with Linux so any help is greatly appreciated.

Thanks


Top
   
 Post subject:
PostPosted: Thu Mar 26, 2009 7:47 pm 
Offline
Senior Member
User avatar

Joined: Fri Oct 24, 2003 3:51 pm
Posts: 965
Location: Netherlands
init cleans up zombies if their parent process dies without terminating its child processes cleanly. Your zombies sound like their parent is still running, just not 'wait'-ing its children.

_________________
/ Peter


Top
   
 Post subject:
PostPosted: Thu Mar 26, 2009 8:20 pm 
Offline
Newbie

Joined: Sat Jan 31, 2009 2:38 pm
Posts: 2
Yes, it is init (PID=1) that is not wait()-ing its newly adopted zombie procs.

For example, sendmail is running and starts a new child to send a new email. The parent sendmail process does not die, however the child process gets adopted by init and remains a zombie.
I just cannot understand why this is happening


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


Who is online

Users browsing this forum: No registered users and 4 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