From owner-freebsd-questions Sat Jan 31 03:25:24 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id DAA28724 for questions-outgoing; Sat, 31 Jan 1998 03:25:24 -0800 (PST) (envelope-from owner-freebsd-questions@FreeBSD.ORG) Received: from implode.root.com (implode.root.com [198.145.90.17]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id DAA28719 for ; Sat, 31 Jan 1998 03:25:21 -0800 (PST) (envelope-from root@implode.root.com) Received: from implode.root.com (localhost [127.0.0.1]) by implode.root.com (8.8.5/8.8.5) with ESMTP id DAA17500; Sat, 31 Jan 1998 03:26:59 -0800 (PST) Message-Id: <199801311126.DAA17500@implode.root.com> To: grobin@accessv.com cc: questions@FreeBSD.ORG Subject: Re: Something is very wrong. Memory leak? In-reply-to: Your message of "Sat, 31 Jan 1998 06:02:27 EST." <34D304C3.DA84504D@accessv.com> From: David Greenman Reply-To: dg@root.com Date: Sat, 31 Jan 1998 03:26:59 -0800 Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG X-To-Unsubscribe: mail to majordomo@FreeBSD.org "unsubscribe questions" >> options "NMBCLUSTERS=" >> >> ...where is something like 4000. I would suggest that you do both >> of these - set maxusers to at least 64, and NMBCLUSTERS to 4000. >> > >I have NMBCLUSTERS set to 4096 and maxuses set to 500. Do I have to have >NMBCLUSTERS=4096 in quotation marks? Depends on the version of FreeBSD. For recent versions, quotes aren't needed. > This is what I have right now. > >machine "i386" >#cpu "I386_CPU" >#cpu "I486_CPU" >cpu "I586_CPU" >#cpu "I686_CPU" >ident "DATAIS1" >maxusers 500 > >options NMBCLUSTERS=4096 #mbuf clusters >options CHILD_MAX=1000 #Max # child processes >options OPEN_MAX=1000 #Max fds > >I based these setting on the Apache document _Running a High-Performance >Web Server for BSD_. maxusers is probably a bit high; going over 300 might cause problems with running out of kernel VM, but I don't think this is your problem. While the system is running, I suggest that you periodically monitor the output of "netstat -m" and make sure that the second number in "mbuf clusters in use" doesn't exceed 3/4ths of what you have NMBCLUSTERS set to. -DG David Greenman Core-team/Principal Architect, The FreeBSD Project