Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 2 Apr 2001 07:41:19 +0200 (IST)
From:      Roman Shterenzon <roman@xpert.com>
To:        "Karsten W. Rohrbach" <karsten@rohrbach.de>
Cc:        <freebsd-stable@freebsd.org>
Subject:   Re: sendto: No buffer space available
Message-ID:  <Pine.LNX.4.30.0104020740120.27780-100000@jamus.xpert.com>
In-Reply-To: <20010402030944.E75063@mail.webmonster.de>

next in thread | previous in thread | raw e-mail | index | archive | help
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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.LNX.4.30.0104020740120.27780-100000>