From owner-freebsd-questions@FreeBSD.ORG Sun Jan 11 15:15:16 2004 Return-Path: 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 CA19D16A4D0 for ; Sun, 11 Jan 2004 15:15:16 -0800 (PST) Received: from server4.yawl.com.br (server4.yawl.com.br [200.193.239.4]) by mx1.FreeBSD.org (Postfix) with SMTP id 7A63E43D5D for ; Sun, 11 Jan 2004 15:15:12 -0800 (PST) (envelope-from einstein@yawl.com.br) Received: (qmail 35042 invoked by uid 1009); 11 Jan 2004 23:15:10 -0000 Received: from unknown (200.193.239.25) by server4.yawl.com.br with SMTP; 11 Jan 2004 21:15:10 -0000 Message-ID: <4001D903.2030209@yawl.com.br> Date: Sun, 11 Jan 2004 21:15:15 -0200 From: Einstein Oliveira User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.5) Gecko/20031007 X-Accept-Language: en-us, en MIME-Version: 1.0 To: Chris Byrnes References: <06d001c3d895$1ede07a0$1abcd118@wi.rr.com> In-Reply-To: <06d001c3d895$1ede07a0$1abcd118@wi.rr.com> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit cc: stable@freebsd.org cc: questions@freebsd.org Subject: Re: All mbufs exhausted/Random spontaneous reboots started today X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 11 Jan 2004 23:15:16 -0000 Chris Byrnes wrote: > Sorry for the crosspost, not sure where this should go. Please cc me in > replies because I am not subscribed. > > Server was up almost 134 days and spontaneously rebooted this morning saying > "All mbufs exhausted, please see tuning(7)." Had never seen it before, read > up on it and figured something just happened causing a lot of memory usage > or something, chalked it up to an abnormality. > > Took the opportunity to upgrade to the latest -STABLE and rebooted. > > Server was up for 30 minutes and just rebooted AGAIN with the same > message(s).. > > Jan 11 16:32:19 /kernel: All mbufs exhausted, please see tuning(7). > Jan 11 16:32:50 last message repeated 33 times > Jan 11 16:34:44 last message repeated 127 times > > Do you have any idea what's causing this and how I can monitor/stop it? > Use netstat -m to chek the current configuration/load. It's something like this: ---- 191/8272/65536 mbufs in use (current/peak/max): 186 mbufs allocated to data 5 mbufs allocated to packet headers 170/8128/16384 mbuf clusters in use (current/peak/max) ^^^^^^^^^^^^^^ 18324 Kbytes allocated to network (37% of mb_map in use) 0 requests for memory denied 0 requests for memory delayed 0 calls to protocol drain routines ---- You can modify the number of mbufs with sysctl variable kern.ipc.nmbclusters. Usually setting this on /boot/loader.conf ex.: kern.ipc.nmbclusters=16384 Check also tuning(7) ;) > Thank you.. > > > Chris > -- Einstein Oliveira einstein@yawl.com.br ______________________________________________________ Yawl Internet Ltda. http://www.yawl.com.br/