From owner-freebsd-stable Sun Apr 1 22:37: 1 2001 Delivered-To: freebsd-stable@freebsd.org Received: from jamus.xpert.com (jamus.xpert.com [199.203.132.17]) by hub.freebsd.org (Postfix) with ESMTP id 13A5B37B71C for ; Sun, 1 Apr 2001 22:36:57 -0700 (PDT) (envelope-from roman@xpert.com) Received: from roman (helo=localhost) by jamus.xpert.com with local-esmtp (Exim 3.13 #1) id 14jx5b-0007X1-00; Mon, 02 Apr 2001 07:41:19 +0200 Date: Mon, 2 Apr 2001 07:41:19 +0200 (IST) From: Roman Shterenzon To: "Karsten W. Rohrbach" Cc: Subject: Re: sendto: No buffer space available In-Reply-To: <20010402030944.E75063@mail.webmonster.de> Message-ID: Organization: Xpert UNIX Systems Ltd. MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-stable@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG I've MAXUSERS at 96, which makes NSFBUFS 2048... NMBCLUSTERS are nowhere near end- as I learn it from netstat -m On Mon, 2 Apr 2001, Karsten W. Rohrbach wrote: > you might config your kernel with > maxusers 64 # at least > options NMBCLUSTERS=8192 # or more? > > i got my webservers configured with maxusers=mb_of_ram/2 and > NMBCLUSTERS=16384 so at least the periods between restarts are > longer if something goes really wrong > > /k > > Roman Shterenzon(roman@xpert.com)@2001.04.02 02:46:38 +0000: > > Hi, > > I've just got ADSL at home (using mpd-netgraph, Archie - it's really cool:) ). > > After some amount of data passed through the line, I'm getting: > > sendto: No buffer space available > > even for ping (!) > > > > alchemy:/home/mapc% netstat -m > > 178/880/4096 mbufs in use (current/peak/max): > > 148 mbufs allocated to data > > 26 mbufs allocated to packet headers > > 4 mbufs allocated to fragment reassembly queue headers > > 143/240/1024 mbuf clusters in use (current/peak/max) > > 700 Kbytes allocated to network (22% of mb_map in use) > > 0 requests for memory denied > > 0 requests for memory delayed > > 0 calls to protocol drain routines > > > > Thus, I don't see mbuf starvation. What could it be? Perhaps it's some other > > error which is reported incorrectly? This is 4.3-RC2 kernel. > > > > --Roman Shterenzon, UNIX System Administrator and Consultant > > [ Xpert UNIX Systems Ltd., Herzlia, Israel. Tel: +972-9-9522361 ] > > > > ------------------------------------------------- > > This mail sent through IMP: webmail.harmonic.co.il > > > > To Unsubscribe: send mail to majordomo@FreeBSD.org > > with "unsubscribe freebsd-stable" in the body of the message > > -- > > Hackers do it with fewer instructions. > KR433/KR11-RIPE -- http://www.webmonster.de -- ftp://ftp.webmonster.de > > --Roman Shterenzon, UNIX System Administrator and Consultant [ Xpert UNIX Systems Ltd., Herzlia, Israel. Tel: +972-9-9522361 ] To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-stable" in the body of the message