Hello. I'm running Samba 2.0.7 on Solaris 2.6. Noticing that there was quite a lot smbd processes on the Solaris box, I compared PIDs with those given by smbstat. I found that a lot of smbds, some of them being several days old, did not correspond to any samba connection. So the question: I believed that a smbd process starts when someone connects to a share, is associated with this connection, and dies when the connection is closed. Am I wrong, and if so when is the process supposed to die? Is it normal that some smbd processes go on living after the connection is closed; are they still doing anything? Thanx, F.G. // /^^\ \OO/ -------------oOOO--/ \--OOOo--------------------------------------- \../ Frederic GILBERT '\/ Frederic.Gilbert@inria.fr INRIA Rocquencourt / SIR Domaine de Voluceau Tel: +33 (0)1 39 63 57 85 BP 105, 78153 LE CHESNAY, FRANCE Fax: +33 (0)1 39 63 55 96 --------------------------------------------------------------------
Frederic Gilbert wrote: | So the question: I believed that a smbd process starts when | someone connects to a share, is associated with this connection, | and dies when the connection is closed. | Am I wrong, and if so when is the process supposed to die? Is it | normal that some smbd processes go on living after the connection | is closed; are they still doing anything? They're usually still running because the client crashed or was powered off when there was no activity on the connection. Samba doesn't know that no-one's on the other end of the connection, and doesn't close down the connection. We recommend you set "keep alive = 60" to make Samba check for dead clients after 60 seconds of silence. Optionally you might set "dead time = 30", to make samba close inactive connections after half an hour. See http://www.oreilly.com/catalog/samba/chapter/book/appf_01.html for other recommendations... --dave -- David Collier-Brown, | Always do right. This will gratify Performance & Engineering Team | some people and astonish the rest. Americas Customer Engineering | -- Mark Twain (905) 415-2849 | davecb@canada.sun.com