[Samba] Over 400 smbd pid's?

Ed Kasky ed at esson.net
Mon Feb 16 22:19:38 GMT 2009


At 04:53 AM Monday, 2/16/2009, you wrote -=>
>On Sun, Feb 15, 2009 at 03:34:40PM -0800, Ed Kasky wrote:
> > Well, everything went okay for about 36 hours and then at around
> > 10:30 am today, I noticed 3 new pid's every 6 minutes and growing.  I
> > traced a couple of the first ones and they all come back pretty much
> > with the same info.  I did notice some sockets in the list though -
> > but am not sure how to read it all:
>
>You need to figure out what the other end of
>
>smbd      13336      root   22u     unix 0xf1fd4000 2447396 socket
>
>is. Maybe you find another "0xf1fd4000" in lsof?

Since I wrote last night I restarted smbd and it was okay for about 
12 hours.  And then:

# /sbin/service smb status
smbd (pid 18249 18060 18051 18041 17661 17656 17652 17543 17522 17514 
17357 17353 17346 17345 17339 17336 13300 12984 12958 12957 12712 
12384 12379 12342 12005 11973 11968 11870 11842 11839 11723 11717 
11714 11482 11480 11475) is running...
nmbd (pid 11478) is running...

I found a couple of things.  The first smbd started has a couple of sockets:
smbd      11475      root   21u     unix 0xdb59ba00              3225813 socket
smbd      11475      root   22u     unix 0xdb59be00              3225814 socket
smbd      11475      root   25u     unix 0xca340200              3225816 socket

11480 - no sockets
11482 - smbd      11482      root   23u     unix 
0xed4c1400              3225837 socket
11714:
smbd      11714      root   21u     unix 0xdb59ba00              3225813 socket
smbd      11714      root   22u     unix 0xdb59be00              3225814 socket
smbd      11714      root   25u     unix 0xca340200              3225816 socket

11717:
smbd      11717      root   21u     unix 0xdb59ba00              3225813 socket
smbd      11717      root   22u     unix 0xdb59be00              3225814 socket
smbd      11717      root   25u     unix 0xca340200              3225816 socket

and on up the list all have the same three.

I did notice this though as I was looking at the lists not sure if it 
means anything.  The machine is a Mac PB5 :
# /usr/sbin/lsof | grep pbg5mac
smbd      12957      root    6u     IPv4    3927677 
TCP yoda.wrenkasky.com:netbios-ssn->pbg5mac.wrenkasky.com:52093 (CLOSE_WAIT)
smbd      12958      root    6u     IPv4    3927823 
TCP yoda.wrenkasky.com:netbios-ssn->pbg5mac.wrenkasky.com:52094 (CLOSE_WAIT)
smbd      12984      root    6u     IPv4    3928044 
TCP yoda.wrenkasky.com:netbios-ssn->pbg5mac.wrenkasky.com:52095 (CLOSE_WAIT)
smbd      17336      root   29u     IPv4    4022743 
TCP yoda.wrenkasky.com:netbios-ssn->pbg5mac.wrenkasky.com:52103 (CLOSE_WAIT)
smbd      17339      root    6u     IPv4    4022891 
TCP yoda.wrenkasky.com:netbios-ssn->pbg5mac.wrenkasky.com:52107 (CLOSE_WAIT)
smbd      17345      root    6u     IPv4    4023050 
TCP yoda.wrenkasky.com:netbios-ssn->pbg5mac.wrenkasky.com:52112 (CLOSE_WAIT)
smbd      17346      root    6u     IPv4    4023164 
TCP yoda.wrenkasky.com:netbios-ssn->pbg5mac.wrenkasky.com:52114 (CLOSE_WAIT)
smbd      17353      root    6u     IPv4    4023360 
TCP yoda.wrenkasky.com:netbios-ssn->pbg5mac.wrenkasky.com:52116 (CLOSE_WAIT)
smbd      17357      root    6u     IPv4    4023506 
TCP yoda.wrenkasky.com:netbios-ssn->pbg5mac.wrenkasky.com:52117 (CLOSE_WAIT)

I restarted again as communication with smb was timing out.

I keep searching the archives of this list and the Internet but have 
not found a whole lot that relates directly to this issue and the 
things I have tried so far have not fixed it obviously.

Ed

. . . . . . . . . . . . . . . . . .

Randomly generated quote 419 of 492:
"To err is human, to forgive is against company policy."



More information about the samba mailing list