From owner-freebsd-questions Thu Nov 6 04:38:36 1997 Return-Path: Received: (from root@localhost) by hub.freebsd.org (8.8.7/8.8.7) id EAA10931 for questions-outgoing; Thu, 6 Nov 1997 04:38:36 -0800 (PST) (envelope-from owner-freebsd-questions) Received: from DFDC004.HQ.AF.MIL (dfdc004.hq.af.mil [134.205.95.12]) by hub.freebsd.org (8.8.7/8.8.7) with SMTP id EAA10924 for ; Thu, 6 Nov 1997 04:38:34 -0800 (PST) (envelope-from gregorys@af.pentagon.mil) Received: by DFDC004.HQ.AF.MIL with SMTP (Microsoft Exchange Server Internet Mail Connector Version 4.0.995.52) id <01BCEA85.AD7335D0@DFDC004.HQ.AF.MIL>; Thu, 6 Nov 1997 07:29:12 -0500 Message-ID: From: "Gregory, Scott, SrA, SAF/AADXT" To: "'Marc Slemko'" Cc: "'freebsd-questions@freebsd.org'" Subject: RE: Need Help Determining Why My System Keeps Crashing Date: Thu, 6 Nov 1997 07:39:33 -0500 X-Mailer: Microsoft Exchange Server Internet Mail Connector Version 4.0.995.52 Encoding: 56 TEXT Sender: owner-freebsd-questions@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk >> I have a web server running FreeBSD 2.2.2. I have been experiencing >> random crashes and until today have not gotten any info as to why. I >> caught the server before it rebooted and was able to get this >> information from the console: >> >> Nov 5 10:44:02 afpubs /kernel: Out of mbuf clusters - increase >> maxusers! > >Well, have you tried doing what it says? > >[Gregory, Scott, SrA, SAF/AADXT] > >Actually yes. The kernel that was previously installed had the max users set >to 100. It took longer, but the system still crashed (it did log the above >error). Something is not releasing all the mbuf clusters is uses. > >> *********************************************** >> Kernel Configuration File: >> >> machine "i386" >> #cpu "I386_CPU" >> #cpu "I486_CPU" >> #cpu "I586_CPU" >> cpu "I686_CPU" >> ident "AFPUBS" >> maxusers 30 >maxusers 128 > >(or even 256) >[Gregory, Scott, SrA, SAF/AADXT] > >What is the limit? It seems that maxusers set this high will make the >internal tables larger than they need to be which is why I changed it to 30 >(I don't plan to have more than 500 processes at any given time). I could >increase maxusers everytime it crashes, but I would prefer to find out what >is sucking up the mbufs. Is there any utility that will allow me to monitor >mbuf usage and maybe even find mbufs that are assigned without a running >process? > >> >> options "MAXMEM=98304" > >If you have 128 megs of RAM, you are only using 96 with this setup. > >You should be able to handle around 400 httpd process w/128 megs of RAM >without much trouble if nothing else is going on. > >[Gregory, Scott, SrA, SAF/AADXT] > >My mistake. This system has only 96 megs of RAM. My other BSD box has the >128. Will the processor be able to handle 400 httpd processes? > > >Thanks > >Scott