From owner-freebsd-questions@FreeBSD.ORG Mon Mar 13 16:43:48 2006 Return-Path: X-Original-To: freebsd-questions@freebsd.org Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 6952816A42B for ; Mon, 13 Mar 2006 16:43:47 +0000 (UTC) (envelope-from maslak@ihlas.net.tr) Received: from mailhub.ihlas.net.tr (mailhub.ihlas.net.tr [213.238.128.250]) by mx1.FreeBSD.org (Postfix) with ESMTP id C286C43D5F for ; Mon, 13 Mar 2006 16:43:43 +0000 (GMT) (envelope-from maslak@ihlas.net.tr) Received: (qmail 86019 invoked from network); 13 Mar 2006 16:44:10 -0000 Received: from unknown (HELO ihlasnetym) (maslak@213.238.150.220) by 0 with ESMTPA; 13 Mar 2006 16:44:10 -0000 Message-ID: <003901c646bd$29ecdcf0$dc96eed5@ihlasnetym> From: "Halid Faith" To: Date: Mon, 13 Mar 2006 18:42:48 +0200 MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 6.00.2800.1506 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1506 Subject: the server gives "kmem_map too small" ? X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 13 Mar 2006 16:43:48 -0000 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