Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 10 Sep 2010 05:36:24 GMT
From:      jason zhoa <jason_zhoa@126.com>
To:        freebsd-gnats-submit@FreeBSD.org
Subject:   misc/150459: lots of time_wait 
Message-ID:  <201009100536.o8A5aO8I021843@www.freebsd.org>
Resent-Message-ID: <201009100540.o8A5e47S073310@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help

>Number:         150459
>Category:       misc
>Synopsis:       lots of time_wait
>Confidential:   no
>Severity:       non-critical
>Priority:       medium
>Responsible:    freebsd-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Fri Sep 10 05:40:04 UTC 2010
>Closed-Date:
>Last-Modified:
>Originator:     jason zhoa
>Release:        FreeBSD 7.2-RELEASE #0
>Organization:
gy
>Environment:
FreeBSD 7.2-RELEASE #0  
amd64
>Description:
tcp4       0      0 192.168.0.26.9939      192.168.0.195.11211    TIME_WAIT
netstat -an | awk '{if($5 ~/11200/ && $6 ~/TIME_WAIT/) print $0}' | wc -l
   64203

sysctl net.inet.tcp.msl
net.inet.tcp.msl: 2500


msl will not recycle "TIME_WAIT" states when have lots of "TIME_WAIT",like 64203
so server local port will Exhaust&#65292; if i open a connection it will report:
telnet 192.168.0.195 11211
Trying 192.168.0.195...
telnet: connect to address 192.168.0.195: Can't assign requested address
telnet: Unable to connect to remote host


what can i do? only reboot server?
>How-To-Repeat:

>Fix:


>Release-Note:
>Audit-Trail:
>Unformatted:



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201009100536.o8A5aO8I021843>