Unkillable Samba on Irix

Andrew Klaassen ak at dkp.com
Fri Oct 12 14:36:01 GMT 2001


Okay - now things are getting interesting.

# /usr/samba/bin/smbstatus -p | wc -l
            19
# ps -efl | grep smbd | grep -v grep | wc -l
            69

Now smbstatus is reporting a heck of a lot less processes than
ps.  And here's a snippet of the output of ps -efl:

  F S      UID   PID  PPID  C PRI NI  P    SZ:RSS      WCHAN    STIME TTY     TIME CMD
 30 S     root 14920 14919  0  28 20  *   143:96      334e20 16:29:44 pts/6   0:00 -tcsh 
 30 S     root 14949 14948  0  28 20  *   143:95      3368a0 16:32:46 pts/7   0:00 -tcsh 
 38 S     root 15050   710  0  10 20  *   187:39     649d7c0 16:49:04 ?       0:00 /usr/samba/bin/smbd -D 
 38 S     root 15044   710  0  10 20  *   187:39     649d7c0 16:47:19 ?       0:00 /usr/samba/bin/smbd -D 
 38 S     root 15049   710  0  10 20  *   187:39     649d7c0 16:48:19 ?       0:00 /usr/samba/bin/smbd -D 
 38 S     root 15024   710  0  10 20  *   187:39     649d7c0 16:46:58 ?       0:00 /usr/samba/bin/smbd -D 
 38 S     root 15051   710  0  10 20  *   187:39     649d7c0 16:49:27 ?       0:00 /usr/samba/bin/smbd -D 
 38 S     root 15052   710  0  10 20  *   187:39     649d7c0 16:49:46 ?       0:00 /usr/samba/bin/smbd -D 
 38 S     root 15053   710  0  10 20  *   187:39     649d7c0 16:50:12 ?       0:00 /usr/samba/bin/smbd -D 
 38 S     root 15054   710  0  10 20  *   187:39     649d7c0 16:51:31 ?       0:00 /usr/samba/bin/smbd -D 
 38 S     root 15055   710  0  10 20  *   187:39     649d7c0 16:51:36 ?       0:00 /usr/samba/bin/smbd -D 
 38 S     root 15056   710  0  10 20  *   187:39     649d7c0 16:51:46 ?       0:00 /usr/samba/bin/smbd -D 
 38 S     root 15057   710  0  10 20  *   187:39     649d7c0 16:52:06 ?       0:00 /usr/samba/bin/smbd -D 
 38 S     root 15058   710  0  10 20  *   187:39     649d7c0 16:52:16 ?       0:00 /usr/samba/bin/smbd -D 
 38 S     root 15059   710  0  10 20  *   187:39     649d7c0 16:52:16 ?       0:00 /usr/samba/bin/smbd -D 
 38 S     root 15060   710  0  10 20  *   187:39     649d7c0 16:53:07 ?       0:00 /usr/samba/bin/smbd -D 

There are a whole lotta smbds waiting for 649d7c0, whatever that
is.  And you'll notice...

# man ps
...
     F     (l)      Flags (hexadecimal and additive) associated with the
                    process:

                    001   Process is a system (resident) process.
                    002   Process is being traced.
                    004   Stopped process has been given to parent via
                          wait(2).
                    008   Process is sleeping at a non-interruptible priority.
                    010   Process is in core.
                    020   Process user area is in core.
                    040   Process has enabled atomic operator emulation.
                    080   Process in stream poll or select.
                    100   Process is a kernel thread.
...

...that they're "sleeping at a non-interruptible priority".

We've never had this before; I'm beginning to think incipient
hardware failure of some sort.  But what?

(I'm trying to reboot the machine now, but, of course, it's
hanging trying to kill those smbd processes.  I'll have to turn
the key...)

Andrew Klaassen





More information about the samba mailing list