Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 11 Apr 2011 00:06:36 +0700
From:      Eugene Grosbein <egrosbein@rdtc.ru>
To:        Przemyslaw Frasunek <przemyslaw@frasunek.com>
Cc:        freebsd-net@freebsd.org
Subject:   Re: mpd5/Netgraph issues after upgrading to 7.4
Message-ID:  <4DA1E39C.9090300@rdtc.ru>
In-Reply-To: <4DA171BA.9000507@frasunek.com>
References:  <4D947756.6050808@freebsd.lublin.pl>	<4D9F6C71.1040209@frasunek.com> <4DA171BA.9000507@frasunek.com>

next in thread | previous in thread | raw e-mail | index | archive | help
On 10.04.2011 16:00, Przemyslaw Frasunek wrote:
> Eventually I found that this issue is related to mbuf exhaustion. In
> periods when sendto() fails with EPERM, the "requests for mbufs denied"
> counter is increasing and "ngctl list" also fails.
> 

Use command "vmstat -z|egrep 'ITEM|NetGraph'" and check FAILURES column.
If you see non-zero values there, you need to increase netgraph memory limits
net.graph.maxdata and net.graph.maxalloc using /boot/loader.conf.

I use:

net.graph.maxdata=65536
net.graph.maxalloc=65536

Eugene Grosbein



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?4DA1E39C.9090300>