[Samba] Over 400 smbd pid's?

Ed Kasky ed at esson.net
Tue Feb 17 01:00:33 GMT 2009


At 03:08 PM Monday, 2/16/2009, Volker Lendecke wrote -=>
>On Mon, Feb 16, 2009 at 01:17:29PM -0800, Ed Kasky wrote:
> > # /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
>
>None of this explains what fd 22 is connected to. You need
>to scan for 0xdb59ba00 (or whatever it will be next time),
>and find the non-smbd process that holds this socket.
>Restart that one or don't start it at all.

I really hate to sound stupid, but here goes anyway - right now, the 
first smbd in the list gives the following socket information:
COMMAND     PID      USER   FD      TYPE     DEVICE       SIZE       NODE NAME
smbd      18355      root   21u     unix 
0xd9994c00               4039461 socket
smbd      18355      root   22u     unix 
0xc9292600               4039462 socket
smbd      18355      root   25u     unix 
0xe7311600               4039464 socket

How exactly does one go about figuring out what fd 22 is connected 
to?  Andy why exactly FD22?

Sorry, but some of this is new for me - I am learning about some of 
this stuff as I go along...

Thanks for your help by the way.  I appreciate the time that folks on 
the list take to help others...

Ed

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

Randomly Generated Quote (591 of 1503):
God hated reality but realized it was still the only place to
get a good steak. -Woody Allen



More information about the samba mailing list