From owner-freebsd-questions Mon Jan 10 18:20:20 2000 Delivered-To: freebsd-questions@freebsd.org Received: from legolas.counted.com (net-trak.stats.net [209.185.154.33]) by hub.freebsd.org (Postfix) with ESMTP id 4292415478 for ; Mon, 10 Jan 2000 18:19:26 -0800 (PST) (envelope-from fthylmann@stats.net) Received: from sonic (nate@sonic.oph.RWTH-Aachen.DE [137.226.147.5]) by legolas.counted.com (8.8.8/8.8.8) with SMTP id CAA20559; Tue, 11 Jan 2000 02:20:00 GMT (envelope-from fthylmann@stats.net) Message-ID: <002a01bf5c26$a4227ee0$0593e289@oih.rwthaachen.de> From: "Fabian Thylmann" To: "Scott Hess" , References: <004301bf58c6$9f33bc40$0593e289@oph.rwthaachen.de> <0ad901bf587b$6fde13f0$1e80000a@avantgo.com> Subject: Re: Problem with not disappearing sockets. Date: Tue, 11 Jan 2000 03:26:00 -0800 MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 5.00.2314.1300 X-MimeOLE: Produced By Microsoft MimeOLE V5.00.2314.1300 Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG Hi Scott, sorry for taking so long to reply, I normally reply faster, but I had too much stuff to do.. Your sysctl thing helped wonders :) Thanks a LOT for this! The way we handle the high socket numbers is just a very high maxusers setting in the kernel and on top of that also directly setting the max nmbclusters to a high number (even higher than the calculated one that results from the maxusers) ..... This helped keeping the box from kernel panicing because of mbuf cluster overruns, which I guess your box probably crashes on. Check the netstat -m numbers, that will give you info on max and current mbuf usage. If thats very close, its probably mbuf clusters running out and the kernel panicing on that. The easiest way to get around this is to just increase the maxusers number in the kernel. Fabian Thylmann STATSnet sprl ----- Original Message ----- From: Scott Hess To: Fabian Thylmann ; Sent: Thursday, January 06, 2000 11:22 AM Subject: Re: Problem with not disappearing sockets. > [...] > > [BTW, could you please make suggestions as to how you managed tens of > thousands of sockets in this state? Our machines always rebooted at around > 1500.] > > [...] To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message