Stopping nmbd in 1.9.18alphaXX

Eloy A. Paris eparis at ven.ra.rockwell.com
Wed Dec 24 04:25:45 GMT 1997


Hi,

I have seen something that could be a problem with the behavior of
nmbd in 1.9.18alpha13 and 14. What happens is that sometimes nmbd does
not shutdown after receiving a SIGTERM signal. For example, look at
this sequence of events:

zeus:/usr/src# ps ax|grep [ns]mbd
  693  ?  S      0:09 /usr/sbin/nmbd -D
24054  ?  S      0:00 /usr/sbin/nmbd -D
zeus:/usr/src# killall nmbd
zeus:/usr/src# ps ax|grep [ns]mbd
  693  ?  S      0:09 /usr/sbin/nmbd -D
24054  ?  S      0:00 /usr/sbin/nmbd -D
zeus:/usr/src# killall -9 nmbd
zeus:/usr/src# ps ax|grep [ns]mbd
zeus:/usr/src#

First of all, see the PID's of both nmbd processes. If one nmbd is
forking the other then their PID's should be very similar but they
aren't.

See also how when nmbd is sent a SIGTERM signal (killall nmbd) the
process does not die and a SIGKILL (killall -9 nmbd) is needed to get
rid of the problem.

Is it me doing something wrong or this should not be happening?

Thanks,

E.-

-- 

Eloy A. Paris
Information Technology Department
Rockwell Automation de Venezuela
Telephone: +58-2-9432311 Fax: +58-2-9431645


More information about the samba mailing list