Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 6 Nov 1997 07:39:33 -0500
From:      "Gregory, Scott, SrA, SAF/AADXT" <gregorys@af.pentagon.mil>
To:        "'Marc Slemko'" <marcs@znep.com>
Cc:        "'freebsd-questions@freebsd.org'" <freebsd-questions@FreeBSD.ORG>
Subject:   RE: Need Help Determining Why My System Keeps Crashing
Message-ID:  <c=US%a=attmail%p=gov%2Bdms%2Btrans%l=DFSMTTAYZ023-971106123933Z-7073@DFDC004.HQ.AF.MIL>

next in thread | raw e-mail | index | archive | help
>> 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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?c=US%a=attmail%p=gov%2Bdms%2Btrans%l=DFSMTTAYZ023-971106123933Z-7073>