The Samba-Bugzilla – Bug 1287
Restarting smbd from SWAT produces zombie procces
Last modified: 2005-11-14 09:28:46 UTC
Environnement: Samba 3.0.2a compiled from source with --prefix=/usr/local/samba
After restarting smbd from SWAT, smbd create many zombies process (smbd
[defunct] in ps). Restarting samba from init script (that run smbd -D) don't
do that (and kill the remaining zombie process). Maybe the restarting swat
code is broken.
I can send any logs if you want. Currently running in loglevel 3 and nothing
weird seems to happens after the restarting from swat.
It seems to be linux or else debian woody related.
Same problem happens (when starting/restarting frow swat, zombie processes
appears, 2 at the beginning then the number increases as clients connects)
No problem on a freebsd test box with the same release (3.0.3).
Don't know if it's stunnel 3 (from woody) related (cause swat uses that but I
don't think that's the problem).
I'll try without stunnel.
Sorry for the post.
Was not a swat problem but really a stunnel problem. (the one from woody is
broken, as seen on stunnel web site:
Stunnel 3.24 and earlier (as well as 4.0x x<4) does not properly handle
SIGCHLD signals safely. Stunnel 3.26 is now available and fixes this problem.
So it's why the process couldn't end properly, becoming zombies.
Thanks for the update. Closing.