Re: Stable tag slipped

看板DFBSD_kernel作者時間21年前 (2005/04/05 06:32), 編輯推噓0(000)
留言0則, 0人參與, 最新討論串5/9 (看更多)
: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@backplane.com>
文章代碼(AID): #12KS1d00 (DFBSD_kernel)
文章代碼(AID): #12KS1d00 (DFBSD_kernel)