[Samba] My god, it full of "CLOSE_WAITS"

Tim Laurence timl at uchicago.edu
Mon Jan 26 17:53:53 GMT 2004


Hello samba people. I am having a odd problem related to winbindd. 
When I leave it running overnight on a quiet (not silent however) 
server I find that it generates a large number of CLOSE_WAIT state 
connections. 84 on a fairly quiet system in the last 18 hours. I 
can't seem to find any command that directly affects the number of 
CLOSE_WAITS. Below is my netstat listing. Any ideas would be helpful. 
I looked around but could find no reference to this problem. I am 
running in SECURITY = ADS mode. Thank you everyone for help.

   --Tim Laurence




Versions of Software
Samaba 3.0.1
Winbind 3.0.1


823-mailsrv:/# netstat --ip -ap
Active Internet connections (servers and established)
Proto Recv-Q Send-Q Local Address           Foreign Address 
State       PID/Program name
tcp        0      0 mailsrv:8192                *:* 
LISTEN      235/agent.be
tcp        0      0 *:imaps                 *:* 
LISTEN      176/inetd
tcp        0      0 *:pop3s                 *:* 
LISTEN      176/inetd
tcp        0      0 mailsrv:10024               *:* 
LISTEN      171/amavisd (master
tcp        0      0 mailsrv:10025               *:* 
LISTEN      31759/master
tcp        0      0 *:netbios-ssn           *:* 
LISTEN      3882/smbd
tcp        0      0 *:pop3                  *:* 
LISTEN      176/inetd
tcp        0      0 *:imap2                 *:* 
LISTEN      176/inetd
tcp        0      0 *:ssh                   *:* 
LISTEN      199/sshd
tcp        0      0 *:smtp                  *:* 
LISTEN      31759/master
tcp        0      0 *:445                   *:* 
LISTEN      3882/smbd
tcp        0    288 mailsrv:ssh                 128.135.240.109:57166 
ESTABLISHED 1157/sshd
tcp        1      0 mailsrv:36222               duplicity.c.:ldap 
CLOSE_WAIT  32020/winbindd
tcp        0      0 mailsrv:36218               duplicity.c.:ldap 
ESTABLISHED 32019/winbindd
tcp        1      0 mailsrv:35636 
audacity.subcity.l:ldap CLOSE_WAIT  32019/winbindd
tcp        0      0 mailsrv:36247               darkcity.c.u:ldap 
ESTABLISHED 32019/winbindd
tcp        0      0 mailsrv:36246               darkcity.c.u:ldap 
ESTABLISHED 32019/winbindd
tcp        0      0 mailsrv:35599               darkcity.c.u:ldap 
ESTABLISHED 32019/winbindd
tcp        0      0 mailsrv:35598               darkcity.c.u:ldap 
ESTABLISHED 32019/winbindd
tcp        1      0 mailsrv:35592               darkcity.c.u:ldap 
CLOSE_WAIT  32019/winbindd
tcp        1      0 mailsrv:35589               darkcity.c.u:ldap 
CLOSE_WAIT  32019/winbindd
tcp        1      0 mailsrv:35591               darkcity.c.u:ldap 
CLOSE_WAIT  32019/winbindd
tcp        1      0 mailsrv:35612               darkcity.c.u:ldap 
CLOSE_WAIT  32019/winbindd
tcp        0      0 mailsrv:35601               darkcity.c.u:ldap 
ESTABLISHED 32019/winbindd
tcp        1      0 mailsrv:35629               darkcity.c.u:ldap 
CLOSE_WAIT  32019/winbindd

  similar line to above one repeated 76 times

tcp        1      0 mailsrv:35778               darkcity.c.u:ldap 
CLOSE_WAIT  32019/winbindd
tcp        1      0 mailsrv:36219 
audacity.subcity.l:ldap CLOSE_WAIT  32019/winbindd
tcp        0      0 mailsrv:19534               duplicity.c.:grfs TIME_WAIT   -
udp        0      0 mailsrv:32768               mailsrv:ntp 
ESTABLISHED 234/ntpd
udp        0      0 mailsrv:netbios-ns          *:* 
3880/nmbd
udp        0      0 *:netbios-ns            *:* 
3880/nmbd
udp        0      0 mailsrv:netbios-dgm         *:* 
3880/nmbd
udp        0      0 *:netbios-dgm           *:* 
3880/nmbd
udp        0      0 mailsrv:ntp                 *:* 
222/ntpd
udp        0      0 mailsrv:ntp                 *:* 
222/ntpd
udp        0      0 *:ntp                   *:* 
222/ntpd


More information about the samba mailing list