From owner-freebsd-stable Fri Nov 9 17:19:30 2001 Delivered-To: freebsd-stable@freebsd.org Received: from topperwein.dyndns.org (acs-24-154-28-168.zoominternet.net [24.154.28.168]) by hub.freebsd.org (Postfix) with ESMTP id EF53337B416 for ; Fri, 9 Nov 2001 17:19:26 -0800 (PST) Received: from topperwein.dyndns.org (topperwein.dyndns.org [192.168.168.10]) by topperwein.dyndns.org (8.11.6/8.11.6) with ESMTP id fAA1K2F35291 for ; Fri, 9 Nov 2001 20:20:02 -0500 (EST) (envelope-from behanna@zbzoom.net) Date: Fri, 9 Nov 2001 20:19:57 -0500 (EST) From: Chris BeHanna Reply-To: Chris BeHanna To: FreeBSD-Stable Subject: Re: 2GB ram system panicking every 40 minutes In-Reply-To: <003c01c1694e$b88fc540$66010a0a@winter> Message-ID: <20011109201814.Q35109-100000@topperwein.dyndns.org> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-stable@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG On Fri, 9 Nov 2001, Phil Rosenthal wrote: > Sorry about the html email before... > > Hello, > > I have 5 servers doing the exact same task running the exact same > world/kernel all identically configured, except 3 of them are 1GB of ram, 2 > of them are 2GB of ram. > the 2 running 2GB of ram randomly panic. > However, there is no information getting dumped into /var/log/messages > Is there anything I can do to figure out what is causing this? > I have just set the option: > options MAXMEM="(1024*1024)" > To try and make them stop crashing. > > The system appears to be stable after setting that option. > The system has maybe 4 programs running that are very sendfile() intensive, > with 60000 sockets open at any given moment and 1.9GB of the ram is to > filesystem cache on average. Each socket is going to chew up 8KB of kernel memory or so, unless you've altered the size of the send and receive buffers. 60,000 connections leads to ~500MB chewed up on the connections alone. Throw in enough other activity to exhaust memory in the kernel, and poof, there you go. -- Chris BeHanna Software Engineer (Remove "bogus" before responding.) behanna@bogus.zbzoom.net I was raised by a pack of wild corn dogs. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-stable" in the body of the message