Netgraph/mpd5 stability issues
Eugene Grosbein
egrosbein at rdtc.ru
Mon Jan 17 16:14:44 UTC 2011
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
More information about the freebsd-net
mailing list