From owner-freebsd-isp@FreeBSD.ORG Sun Apr 2 02:27:11 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 D92B616A422 for ; Sun, 2 Apr 2006 02:27:11 +0000 (UTC) (envelope-from dwoolworth@gmail.com) Received: from zproxy.gmail.com (zproxy.gmail.com [64.233.162.194]) by mx1.FreeBSD.org (Postfix) with ESMTP id 2813143D48 for ; Sun, 2 Apr 2006 02:27:11 +0000 (GMT) (envelope-from dwoolworth@gmail.com) Received: by zproxy.gmail.com with SMTP id l8so1225936nzf for ; Sat, 01 Apr 2006 18:27:10 -0800 (PST) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:to:subject:cc:in-reply-to:mime-version:content-type:references; b=V24kc4jFXJX7mLVUmDfdOF8M3Wr0R1Kk0cLhFOxhUoLaDRePGEsNwWZeEDXB6u/QLz4IcOVlQlpJ2K/xyCtmkS4tBaS78xsvIptaKgMLYWjHM5JgK89tizHVQ/v0FdRgBREjUB9OLNK/seCgdkvhP2UBnU6mWHP1FOul20IzBss= Received: by 10.35.111.7 with SMTP id o7mr346506pym; Sat, 01 Apr 2006 18:27:10 -0800 (PST) Received: by 10.35.65.12 with HTTP; Sat, 1 Apr 2006 18:27:10 -0800 (PST) Message-ID: <10fd06c60604011827h21b5d619q638b8c89ce9f697a@mail.gmail.com> Date: Sat, 1 Apr 2006 20:27:10 -0600 From: "Derrick T. Woolworth" To: "Jorge Evangelista" In-Reply-To: MIME-Version: 1.0 References: <10fd06c60603301648t1f3e07c2s99af5a744114ba69@mail.gmail.com> Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Content-Disposition: inline X-Content-Filtered-By: Mailman/MimeDel 2.1.5 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: Sun, 02 Apr 2006 02:27:11 -0000 You can edit kernel parameters in /etc/sysctl.conf and in /boot/loader.conf. You typically enter setting changes in /boot/loader.con= f when the values can only be set at boot time or as the kernel is being loaded. Things like setting shared memory sizes, nmbclusters, etc. are bes= t put in /boot/loader.conf and typically you'll receive a warning in /var/log/messages if you place a setting change in /etc/sysctl.conf that really belongs in /boot/loader.conf. However, what I was wondering is if you used the kernel that comes with bwmgr - the kernel that Emerging Technologies provides or if you kept the GENERIC kernel that comes with the typical FreeBSD installation. It might be best to use ET's kernel as it probably was compiled with the appropriate mbuf settings and nmbclusters, etc. One last consideration - if you adjust the size of nmbclusters in your /boot/loader.conf file, sometimes you need to increase the size of some other settings. What settings have you set in /etc/sysctl.conf and/or /boot/loader.conf ? D On 3/31/06, Jorge Evangelista wrote: > > Thank for your response, but I my license for support is expired :( > I have to solve this problem. Perhaps, I do not sure, but I believe > that I would edit kernel parameters in /etc/sysctl.conf > I have seen tunning with postgresql and freebsd, mysql and freebsd, I > have found examples about it. > Are there links about it? What are parameters corrects for edit memory > in sysctl.conf? > > > On 3/30/06, Derrick T. Woolworth wrote: > > Jorge, > > > > Are you using the kernel that comes with bwmgr or a custom one you > built? > > What other options do you have set besides tweaking the mbufs - if > you're > > using your's? > > > > You may need to talk directly to Emerging Technologies - especially if > > you're using their licensed version of the software and not the demo. > > They'll probably be a lot better at helping you troubleshoot this > problem... > > > > I'm thinking that since this isn't an open source thing it'll probably > be > > difficult for the fellows within this community to help, but if ET > doesn't > > help you out, reply with some additional information about your system > like > > the hardware specs and your custom kernel config, if you built one. > > > > Good Luck, > > > > D > > > > > > > > > > On 3/30/06, 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" > > > > > > > > > > -- > > Derrick T. Woolworth, President > > ServeTheWeb, LLC. http://www.ServeTheWeb.com > > > -- > "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" > -- Derrick T. Woolworth, President ServeTheWeb, LLC. http://www.ServeTheWeb.com