From mboxrd@z Thu Jan 1 00:00:00 1970 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: fee84,df7cbbce6020d741 X-Google-Attributes: gidfee84,public From: jah@mojo.ots.utexas.edu (Jeff Hayward) Subject: Re: Half-open TCP connections under high load Date: 1995/09/12 Message-ID: <433ql6$k4g@geraldo.cc.utexas.edu>#1/1 X-Deja-AN: 109983584 references: <42q4fn$r8o@geraldo.cc.utexas.edu> <432lel$3a4@usenet.pa.dec.com> organization: The University of Texas bcc: j.hayward@utexas.edu newsgroups: comp.unix.osf.osf1 In article <432lel$3a4@usenet.pa.dec.com>, Jeffrey Mogul wrote: >There's a kernel global, somaxconn, that controls the queue limit. >I think the default value is "8". You should set it to be much >larger. I would imagine that setting it to 1000 wouldn't hurt, >unless you have almost no RAM on the system. I think this has >to be done using dbx, but there might be another way. > >This will have no effect, however, unless you ALSO change the >second argument of the listen() system call (done in your SMTP >listener) to be equally large, or larger. This seems to be the correct advice. In case anyone else sees this problem dbx -k /vmunix assign somaxconn=large # exit sets the kernel variable, and OOListen=large # in the sendmail config file tells sendmail 8 what number to use for the "backlog" variable in the "listen" system call. Thanks much for the help. -- Jeff Hayward