Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 30 Apr 1997 10:43:40 -0700 (PDT)
From:      Tom Samplonius <tom@uniserve.com>
To:        Kachun Lee <kachun@zippo.com>
Cc:        freebsd-stable@freebsd.org
Subject:   Re: kmem_map full with 2.2beta to 2.2-releng-970422
Message-ID:  <Pine.NEB.3.95.970430104137.11772u-100000@haven.uniserve.com>
In-Reply-To: <1.5.4.32.19970430090159.006da760@dopey.pathlink.com>

next in thread | previous in thread | raw e-mail | index | archive | help

On Wed, 30 Apr 1997, Kachun Lee wrote:

> Since did not get a response from freebsd-question yet, I am trying my luck
> here.
> 
> After upgraded some of our news servers to 2.2, they would panic about every
> other days with the kmem_map full (Just for info, they went fine with
> 2.1.6). I increased NMBCLUSTERS from 3000 to 4000 to 5000 to 6000 and that
> did not help. I logged the netstat -m every 15 minutes and the mbufs usage
> was in the 2000s when the system crashed.
> 
> Any suggestion, or where or how I should look for the problem?
> 
> Thank you in advance.
> 
> PS: system conf->
> 
> maxusers    128
> 
> # options   MATH_EMULATE        #Support for x87 emulation
> options     INET            #InterNETworking
> options     FFS         #Berkeley Fast Filesystem
> options     NFS         #Network Filesystem
> options     MFS         #Memory File System
> options     MSDOSFS         #MSDOS Filesystem
> options     "CD9660"        #ISO 9660 Filesystem
> options     PROCFS          #Process filesystem
> options     "COMPAT_43"     #Compatible with BSD 4.3
> options     SCSI_DELAY=15       #Be pessimistic about Joe SCSI device
> options     UCONSOLE        #Allow users to grab the console
> 
> options     OPEN_MAX=4000
> options     CHILD_MAX=2000

  These two are insanely large.  You might want to bring these both down
to 500 or so.

> options     NMBCLUSTERS=5000
> 
> options     "MAXMEM=(192*1024)"
> 
> options     SYSVSHM
> options     SYSVSEM
> options     SYSVMSG

  If you remove this SYS* stuff you get a smaller kernel.

Tom





Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.NEB.3.95.970430104137.11772u-100000>