[Samba] Samba creating multiple isntances of the deamon

Benoit Gauthier gauthier at circum.com
Thu Oct 13 19:51:07 GMT 2005


(2005.10.13, 15:50)

Here is the netstat output for SMB. What does it tell you?

tcp        0      0 0.0.0.0:139                 0.0.0.0:*                   LISTEN      0          7150985    8709/smbd
tcp        0      0 0.0.0.0:445                 0.0.0.0:*                   LISTEN      0          7150984    8709/smbd
tcp      281      0 192.168.0.99:139            192.168.0.199:1531          CLOSE_WAIT  0          7115860    7758/smbd
tcp        0      0 192.168.0.99:139            192.168.0.199:1552          ESTABLISHED 0          7172137    9237/smbd
tcp       54      0 192.168.0.99:139            192.168.0.199:1546          CLOSE_WAIT  0          7153205    8737/smbd
tcp        1      0 192.168.0.99:139            192.168.0.199:1550          CLOSE_WAIT  0          7171470    9214/smbd
tcp        0      0 192.168.0.99:139            192.168.0.196:1346          ESTABLISHED 0          7171578    9222/smbd
tcp        1      0 192.168.0.99:139            192.168.0.199:1540          CLOSE_WAIT  0          7134524    8211/smbd
udp        0      0 127.0.0.1:39332             0.0.0.0:*                               0          7115861    7758/smbd
udp        0      0 127.0.0.1:39336             0.0.0.0:*                               0          7134525    8211/smbd
udp        0      0 127.0.0.1:39343             0.0.0.0:*                               0          7153206    8737/smbd
udp        0      0 127.0.0.1:39350             0.0.0.0:*                               0          7171471    9214/smbd
udp        0      0 127.0.0.1:39351             0.0.0.0:*                               0          7171579    9222/smbd
udp        0      0 127.0.0.1:39352             0.0.0.0:*                               0          7172138    9237/smbd


Benoît



> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1

> Benoit Gauthier wrote:
> | (2005.10.10, 14:25)
> |
> | I am running Samba 3.0.14a-2 on Fedora 4. I have
> | no problem seeing the Linux file system from
> | any of the Windows (2000, SP4) computers attached
> | to the network.
> |
> | The problem is that smbd processes are created for
> | no apparent reason and never die. I noticed this when
> | the computer had been up for about three days
> | and there were some 600 active smbd processes!
> |
> | What could be the cause of this behaviour? More
> | importantly, what is the solution? Clearly, this is
> | not normal behaviour!

> You going to need to attach with gdb or run strace to
> figure out what the smbd processes are doing.
> Will one of the long lived processes respond to
> kill -TERM ?

> You might also want to run netstat to find the IP addresses
> associated with the smbd processes.





> cheers, jerry
> -----BEGIN PGP SIGNATURE-----
> Version: GnuPG v1.4.0 (GNU/Linux)
> Comment: Using GnuPG with Thunderbird - http://enigmail.mozdev.org

> iD8DBQFDTmOiIR7qMdg1EfYRAnORAKDib+Uk8MA/l4rA7xy1CQQw9ZmlmgCghG8m
> IQQkSXSK8FJC0K65CvDYuh8=
> =AuAy
> -----END PGP SIGNATURE-----



More information about the samba mailing list