Stable tag slipped

Matthew Dillon dillon at apollo.backplane.com
Mon Apr 4 15:33:59 PDT 2005


:I've been running 3 loops of mirroring wget -m on the apache manual, 
:with the fetched page deleted in between, MaxClients=256, 
:MaxKeepAliveRequests=0. There is one loop runned localy.
:
:There are more than 4000 connections in TIME_WAIT, more than 4000 sockets.
:
:The server responds very well and there are no delays.
:
:Tomorrow I will try MaxKeepAliveRequests to an impossibly high number to 
:generate long running connections and see how it copes.
:
:I welcome suggestions on what test to run as I am no expert in neither 
:os nor networking.
:
:Raphael

    Have you adjusted the portrange?  Do these:

	sysctl net.inet.ip.portrange
	sysctl net.inet.tcp.msl
	sysctl kern.ipc.maxsockets
	sysctl net.inet.tcp.recvspace
	sysctl net.inet.tcp.sendspace

    You may also have to lower the MSL on the originating machines to reduce
    the number of sockets being held in a TIME_WAIT state.

	(default is 30000ms)
	sysctl net.inet.tcp.msl=15000

					-Matt
					Matthew Dillon 
					<dillon at xxxxxxxxxxxxx>





More information about the Kernel mailing list