Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 17 Jan 2011 22:14:35 +0600
From:      Eugene Grosbein <egrosbein@rdtc.ru>
To:        Mike Tancsa <mike@sentex.net>
Cc:        freebsd-net@freebsd.org
Subject:   Re: Netgraph/mpd5 stability issues
Message-ID:  <4D346AEB.8000807@rdtc.ru>
In-Reply-To: <4D342AEC.4030600@sentex.net>
References:  <4D3011DB.9050900@frasunek.com> <4D30458D.30007@sentex.net> <4D341E80.7000303@rdtc.ru> <4D342AEC.4030600@sentex.net>

next in thread | previous in thread | raw e-mail | index | archive | help
On 17.01.2011 17:41, Mike Tancsa wrote:

>>> I also have stability issues on RELENG_8.
>>>
>>> http://www.freebsd.org/cgi/query-pr.cgi?pr=153497
>>
>> Do you change net.isr.direct from default 1 to 0 for your box?
> 
> No, I leave it at 1
> 
> 	---Mike

I was experiencing some instability with mpd/netgraph too
but found workaround: increase netgraph buffers/queues.

For 4GB RAM, /boot/loader.conf:

# netgraph queue sizes tuning, see vmstat -z|egrep 'ITEM|NetGraph'
net.graph.maxdata=65536
net.graph.maxalloc=65536

For /etc/sysctl.conf:

kern.ipc.maxsockbuf=83886080
net.graph.maxdgram=8388608
net.graph.recvspace=8388608

It helps not to overflow netgraph event queues in my case
and takes away netgraph-related stability problems.

Eugene Grosbein



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