From owner-freebsd-net@FreeBSD.ORG Sun Apr 10 22:34:57 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 E1269106566C for ; Sun, 10 Apr 2011 22:34:57 +0000 (UTC) (envelope-from przemyslaw@frasunek.com) Received: from lagoon.freebsd.lublin.pl (lagoon.freebsd.lublin.pl [IPv6:2a02:2928:a::3]) by mx1.freebsd.org (Postfix) with ESMTP id 717318FC12 for ; Sun, 10 Apr 2011 22:34:57 +0000 (UTC) Received: from [IPv6:2a02:2928:a:ffff:28ad:34ff:fe65:464f] (unknown [IPv6:2a02:2928:a:ffff:28ad:34ff:fe65:464f]) by lagoon.freebsd.lublin.pl (Postfix) with ESMTPSA id A531923944A; Mon, 11 Apr 2011 00:34:56 +0200 (CEST) Message-ID: <4DA23090.8060206@frasunek.com> Date: Mon, 11 Apr 2011 00:34:56 +0200 From: Przemyslaw Frasunek User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9.2.14) Gecko/20110223 Thunderbird/3.1.8 MIME-Version: 1.0 To: Eugene Grosbein References: <4D947756.6050808@freebsd.lublin.pl> <4D9F6C71.1040209@frasunek.com> <4DA171BA.9000507@frasunek.com> <4DA1E39C.9090300@rdtc.ru> In-Reply-To: <4DA1E39C.9090300@rdtc.ru> Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Cc: freebsd-net@freebsd.org Subject: Re: mpd5/Netgraph issues after upgrading to 7.4 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: Sun, 10 Apr 2011 22:34:58 -0000 > 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. Unfortunately, increasing net.graph.maxdata & net.graph.maxalloc didn't solved EPERM problems on netgraph control sockets. It is still appearing every few hours, but failure counters are zero: ITEM SIZE LIMIT USED FREE REQUESTS FAILURES NetGraph items: 36, 65598, 0, 1404, 52978, 0 NetGraph data items: 36, 65598, 0, 780, 2876420, 0 I also tried to increase kern.ipc.nmbclusters to 262140, but after that, mpd stopped accepting any connections - each failed with ENOBUFS. What is the upper limit of kernel memory usage?