From owner-freebsd-isp Thu Jul 20 16:28:14 2000 Delivered-To: freebsd-isp@freebsd.org Received: from mail.fpsn.net (mail.fpsn.net [63.224.69.57]) by hub.freebsd.org (Postfix) with ESMTP id 3FCBE37C1D9 for ; Thu, 20 Jul 2000 16:28:11 -0700 (PDT) (envelope-from simon@optinet.com) Received: from station1 (adsl-151-202-97-90.bellatlantic.net [151.202.97.90]) by mail.fpsn.net (8.9.3/8.9.3) with SMTP id RAA58451; Thu, 20 Jul 2000 17:21:21 -0600 (MDT) (envelope-from simon@optinet.com) Message-Id: <200007202321.RAA58451@mail.fpsn.net> From: "Simon" To: "Blake Freeburg" , "Enno Davids" Cc: "freebsd-isp@FreeBSD.ORG" Date: Thu, 20 Jul 2000 19:31:47 -0500 Reply-To: "Simon" X-Mailer: PMMail 2000 Professional (2.10.2010) For Windows 2000 (5.0.2195) In-Reply-To: <200007202322.JAA29647@peppermint.national.com.au> MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Subject: Re: Freebsd4.0, apache, mod_jserv socket starvation Sender: owner-freebsd-isp@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org What does netstat -m print on your box? you want to increase your mbufs if you are running out of sockets kernel option: options NMBCLUSTERS=20096 -Simon On Fri, 21 Jul 2000 09:22:12 +1000 (EST), Enno Davids wrote: >| We are running a an Apache 1.3.12 server with mod_jserv 1.1 and finding that under load tests, FreeBSD 4.0 is ending up socket starved. Any ideas on how to increase the number of sockets available? > >For what its worth, under _Solaris_ you can see thousands of sockets hung >in TIME_WAIT when you use mod_jserv. The fix there is to apply a kernel >patch. Might be worth revisiting some of the timers round closing connections. > > >Enno. > > > > >To Unsubscribe: send mail to majordomo@FreeBSD.org >with "unsubscribe freebsd-isp" in the body of the message > To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-isp" in the body of the message