[Samba] OSX causing multiple CLOSE_WAIT's

Bob rwickberg at gmail.com
Wed Jun 3 23:09:52 GMT 2009


Gee, I had that same problem when Tiger was first released, only the
server was a Windows NT 4 server.  Didn't bother the Windows 2000
servers on the network, nor the two linux Samba servers I had, only the
one and only NT 4 server I had left.  When the number of waiting
connections reached 250, the server would stop answering requests for
new connections.  With just one Tiger machine on the network, this would
happen about once a day.  With more, it'd happen faster.

The problem seemed to have something to do with browsing, if I kept the
Tiger machines and the NT 4 machine on separate subnets, the server
would be fine.

On Tue, 2009-06-02 at 22:02 -0700, Ed Kasky wrote:
> Lately it never fails when I attach a Mac running OSX 10.5 that I get 
> runaway pid's.  I tracked them down so far to multiple close_wait's:
> 
> # /usr/sbin/lsof | grep pbg5mac
> smbd      24876      root    6u     IPv4   80015755  TCP 
> yoda.wrenkasky.com:netbios-ssn->pbg5mac.wrenkasky.com:49381 (CLOSE_WAIT)
> 
> They can grow to over 100 if I don't catch it or nobody can log on anymore ;-)
> 
> Anybody had any problems with Macs using samba?
> 
> Ed
> 
> ...........................................................................
> 
> Randomly Generated Quote (50 of 1543):
> "Defeat never comes to any man until he admits it."
>     - Josephus Daniels
> 



More information about the samba mailing list