Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 2 Apr 2001 03:09:44 +0200
From:      "Karsten W. Rohrbach" <karsten@rohrbach.de>
To:        Roman Shterenzon <roman@xpert.com>
Cc:        freebsd-stable@freebsd.org
Subject:   Re: sendto: No buffer space available
Message-ID:  <20010402030944.E75063@mail.webmonster.de>
In-Reply-To: <986172398.3ac7cbee50610@webmail.harmonic.co.il>; from roman@xpert.com on Mon, Apr 02, 2001 at 02:46:38AM %2B0200
References:  <986172398.3ac7cbee50610@webmail.harmonic.co.il>

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


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?20010402030944.E75063>