Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 13 Mar 2006 18:42:48 +0200
From:      "Halid Faith" <maslak@ihlas.net.tr>
To:        <freebsd-questions@freebsd.org>
Subject:   the server gives "kmem_map too small"  ?
Message-ID:  <003901c646bd$29ecdcf0$dc96eed5@ihlasnetym>

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

My machine whose O.S. is FreeBSD6.0 has a 512 Mbyte Ram and it works as
gateway.

the server restarts by itself.

I looked at the messages I saw as below

savecore: reboot after panic: kmem_malloc(16384): kmem_map too small:
84840448 total allocated

My kernel settings as below;
options         IPFILTER
options         IPFILTER_LOG
options         TCP_DROP_SYNFIN
options         IPSTEALTH
options         IPFIREWALL              #firewall
options         IPFIREWALL_VERBOSE      #print information about
options         IPFIREWALL_FORWARD      #enable trasparent proxy support
options         IPFIREWALL_DEFAULT_TO_ACCEPT    #allow everything by default
options         IPDIVERT                #divert sockets
options         DUMMYNET
options         HZ=1000
options         NMBCLUSTERS=65000

Here's after the restart operation  my netstat -m ;
205/410/615 mbufs in use (current/cache/total)
192/298/490/8896 mbuf clusters in use (current/cache/total/max)
0/3/2480 sfbufs in use (current/peak/max)
448K/698K/1146K bytes allocated to network (current/cache/total)
0 requests for sfbufs denied
0 requests for sfbufs delayed
0 requests for I/O initiated by sendfile
52 calls to protocol drain routines

sysctl -a | grep vm.kmem_size
vm.kmem_size: 84840448
vm.kmem_size_max: 335544320
vm.kmem_size_scale: 3

Which values do I have to increase ? How can I increase that ( them ) ?

Thanks




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?003901c646bd$29ecdcf0$dc96eed5>