On Wed, 2007-21-02 at 12:24 +0100, Dr. Peter Poeml wrote:
> Hello,
> 
> I have written an Apache module which uses apr_memcache. While
> benchmarking with e.g. "ab -n 5000 -c 40", I find that there are lots of
> sockets in TIME_WAIT after each test:
> 
> tcp        0      0 127.0.0.1:11211         127.0.0.1:59866         TIME_WAIT 
>   -                   
> tcp        0      0 127.0.0.1:11211         127.0.0.1:60125         TIME_WAIT 
>   -                   
> tcp        0      0 127.0.0.1:11211         127.0.0.1:59860         TIME_WAIT 
>   -                   
> 
>  # netstat -tupan | grep 11211 | grep WAIT | wc -l
> 3057
> 

Having just looked at a similar issue in another context I stumbled
across http://blade.nagaokaut.ac.jp/cgi-bin/scat.rb/ruby/ruby-core/8929
which is further confirmed by
http://tangentsoft.net/wskfaq/articles/debugging-tcp.html #4

As to shortening that.. I have no clue :)
-- 
Matthew Kent \ SA \ bravenet.com

Reply via email to