From owner-freebsd-isp@FreeBSD.ORG Thu Mar 30 23:11:59 2006 Return-Path: X-Original-To: freebsd-isp@freebsd.org Delivered-To: freebsd-isp@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id F3A2216A401 for ; Thu, 30 Mar 2006 23:11:58 +0000 (UTC) (envelope-from matt@frii.com) Received: from mail.frii.com (phobos02.frii.net [216.17.128.162]) by mx1.FreeBSD.org (Postfix) with ESMTP id AC8DA43D45 for ; Thu, 30 Mar 2006 23:11:58 +0000 (GMT) (envelope-from matt@frii.com) Received: from elara.frii.com (elara.frii.com [216.17.128.39]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by mail.frii.com (FRII) with ESMTP id 4AC3BA4CDE; Thu, 30 Mar 2006 16:11:58 -0700 (MST) Date: Thu, 30 Mar 2006 16:11:58 -0700 (MST) From: Matt Ruzicka X-X-Sender: mattr@elara.frii.com To: Jorge Evangelista In-Reply-To: Message-ID: References: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII; format=flowed Cc: freebsd-isp@freebsd.org Subject: Re: Problem sometimes Freebsd crash X-BeenThere: freebsd-isp@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Internet Services Providers List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 30 Mar 2006 23:11:59 -0000 I don't have any experience with Bandwidth Manager so I'm not really sure what it should be doing in this case. I can say that we had something similar happen to us a while back on our web servers with the same symptoms. I wasn't really part of that project at the time, but I know we have the entry kern.ipc.nmbclusters="16384" in our /boot/loader.conf to specifically up the mbuffs. I don't remember if we also needed to add anything to our kernel specifically as well though. I'd check out the tuning man page as the error indicates to see what can be done to increase the mbufs. It is likely that bwmgrd isn't able to affect the mbuf maximums because it is kernel or boot time setting and can't be changed once the box is running. Good luck. Matthew Ruzicka - Systems Administrator Front Range Internet, Inc. matt@frii.net - (970) 212-0728 Got SPAM? Take back your email with MailArmory. http://www.MailArmory.com On Thu, 30 Mar 2006, Jorge Evangelista wrote: > Hi friends, > > My name is Jorge, i am from Peru, excuse me for my english, I have a > server with FreeBSD 4.11-RELEASE #2 and Bandwitdh Manager (bwmgrd), > but I have many problems with it, I have rise up mbuf clusters in my > server to 16384 (It I have made in the file /boot/loader.conf), before > It was configured to 12000. Now I do not have logs about > > Mar 3 20:42:57 trafico /kernel: All mbuf clusters exhausted, please > see tuning(7). > Mar 3 20:46:49 trafico /kernel: All mbuf clusters exhausted, please > see tuning(7). > Mar 3 20:46:52 trafico /kernel: All mbuf clusters exhausted, please > see tuning(7). > Mar 9 20:31:24 trafico /kernel: All mbuf clusters exhausted, please > see tuning(7). > Mar 9 20:31:27 trafico /kernel: All mbuf clusters exhausted, please > see tuning(7). > > However, sometimes my server still hang, crash. I have to reboot the > server for that I work again. If I have enough memory, why bwmgrd no > use it, I do not why it said 59 requests for memory denied > > > > > There are some logs > > #netstat -m > > 1881/9050/16384 mbuf clusters in use (current/peak/max) > 20364 Kbytes allocated to network (41% of mb_map in use) > 59 requests for memory denied > 0 requests for memory delayed > 0 calls to protocol drain routines > > > This is report of my server memory > > # muse -m > Active: 34.305 MB > Inactive: 171.328 MB > Wired: 133.832 MB > Reserved: 1.949 MB > Cache: 0.000 MB > Kernel: 0.133 MB > Interrupt: 0.008 MB > Buffer: 137.203 MB > > Total: 1252.453 MB > Free: 912.988 MB > > > ET/BWMGR Driver v3.25b > > Thanks, for your help. > > -- > "The network is the computer" > _______________________________________________ > freebsd-isp@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-isp > To unsubscribe, send any mail to "freebsd-isp-unsubscribe@freebsd.org" >