From owner-freebsd-net@FreeBSD.ORG Mon Jan 17 16:45:40 2011 Return-Path: Delivered-To: freebsd-net@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id C3F47106566B for ; Mon, 17 Jan 2011 16:45:40 +0000 (UTC) (envelope-from mike@sentex.net) Received: from smarthost1.sentex.ca (smarthost1-6.sentex.ca [IPv6:2607:f3e0:0:1::12]) by mx1.freebsd.org (Postfix) with ESMTP id 7EF218FC12 for ; Mon, 17 Jan 2011 16:45:40 +0000 (UTC) Received: from [IPv6:2607:f3e0:0:4:6d90:8d21:568f:4366] ([IPv6:2607:f3e0:0:4:6d90:8d21:568f:4366]) by smarthost1.sentex.ca (8.14.4/8.14.4) with ESMTP id p0HGjc5j070545 (version=TLSv1/SSLv3 cipher=DHE-RSA-CAMELLIA256-SHA bits=256 verify=NO); Mon, 17 Jan 2011 11:45:38 -0500 (EST) (envelope-from mike@sentex.net) Message-ID: <4D34722A.9010700@sentex.net> Date: Mon, 17 Jan 2011 11:45:30 -0500 From: Mike Tancsa User-Agent: Mozilla/5.0 (Windows; U; Windows NT 6.1; en-US; rv:1.9.2.13) Gecko/20101207 Thunderbird/3.1.7 MIME-Version: 1.0 To: Eugene Grosbein References: <4D3011DB.9050900@frasunek.com> <4D30458D.30007@sentex.net> <4D341E80.7000303@rdtc.ru> <4D342AEC.4030600@sentex.net> <4D346AEB.8000807@rdtc.ru> In-Reply-To: <4D346AEB.8000807@rdtc.ru> X-Enigmail-Version: 1.1.1 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit X-Scanned-By: MIMEDefang 2.67 on IPv6:2607:f3e0:0:1::12 Cc: freebsd-net@freebsd.org Subject: Re: Netgraph/mpd5 stability issues X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Networking and TCP/IP with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 17 Jan 2011 16:45:40 -0000 Thanks, I will give those values a try! ---Mike On 1/17/2011 11:14 AM, Eugene Grosbein wrote: > 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 > _______________________________________________ > freebsd-net@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-net > To unsubscribe, send any mail to "freebsd-net-unsubscribe@freebsd.org" > >