Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 12 Mar 2000 18:37:32 -0800
From:      Alfred Perlstein <bright@wintelcom.net>
To:        Jeff Gray <jwg2@adsl-63-201-55-220.dsl.snfc21.pacbell.net>
Cc:        freebsd-questions@FreeBSD.ORG
Subject:   Re: mbuf or maxuser reset
Message-ID:  <20000312183731.V14279@fw.wintelcom.net>
In-Reply-To: <Pine.BSF.4.10.10003121739410.65039-100000@adsl-63-201-55-220.dsl.snfc21.pacbell.net>; from jwg2@adsl-63-201-55-220.dsl.snfc21.pacbell.net on Sun, Mar 12, 2000 at 05:44:44PM -0800
References:  <XFMail.000312215856.jpedras@webvolution.net> <Pine.BSF.4.10.10003121739410.65039-100000@adsl-63-201-55-220.dsl.snfc21.pacbell.net>

next in thread | previous in thread | raw e-mail | index | archive | help
* Jeff Gray <jwg2@adsl-63-201-55-220.dsl.snfc21.pacbell.net> [000312 18:18] wrote:
> One of my servers had a spontaneous restart.  The logs show,
> 
> Mar 11 07:00:08 NAME/kernel.old: Out of mbuf clusters - adjust
> NMBCLUSTERS \
> or increase maxusers!
> 
> 
> Two approaches are suggested here, but I am not clear which is better,
> preferred and especially why.
> 
> FreeBSD 3.4-STABLE #6: Mon Jan 24 17:07:40 PST 2000
> CPU: Pentium II/Xeon/Celeron (686-class CPU)
>   Origin = "GenuineIntel"  Id = 0x652  Stepping = 2
> Features=0x183fbff<FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,MMX,FXSR>
> real memory  = 268435456 (262144K bytes)    
> 
> 
> 1.  Rebuild the kernel with maxusers from 92 current to say 124 maxusers.

128 or higher would be ok with that amount of memory.

>     
> or
> 
> 2.  use sysctl to change
> 
> kern.ipc.nmbclusters: 1984  <--current
>   to a bigger number.                

this won't work, it needs to be done at boot time, see "man loader"

-Alfred


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-questions" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20000312183731.V14279>