From owner-freebsd-net@FreeBSD.ORG Mon Apr 11 07:21:41 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 25E0A106566C; Mon, 11 Apr 2011 07:21:41 +0000 (UTC) (envelope-from egrosbein@rdtc.ru) Received: from eg.sd.rdtc.ru (eg.sd.rdtc.ru [62.231.161.221]) by mx1.freebsd.org (Postfix) with ESMTP id 89EDC8FC14; Mon, 11 Apr 2011 07:21:40 +0000 (UTC) Received: from eg.sd.rdtc.ru (localhost [127.0.0.1]) by eg.sd.rdtc.ru (8.14.4/8.14.4) with ESMTP id p3B7LZYU054414; Mon, 11 Apr 2011 14:21:35 +0700 (NOVST) (envelope-from egrosbein@rdtc.ru) Message-ID: <4DA2ABFA.7030108@rdtc.ru> Date: Mon, 11 Apr 2011 14:21:30 +0700 From: Eugene Grosbein User-Agent: Mozilla/5.0 (X11; U; FreeBSD i386; ru-RU; rv:1.9.2.13) Gecko/20110112 Thunderbird/3.1.7 MIME-Version: 1.0 To: Przemyslaw Frasunek References: <4D947756.6050808@freebsd.lublin.pl> <4D9F6C71.1040209@frasunek.com> <4DA171BA.9000507@frasunek.com> <4DA1E39C.9090300@rdtc.ru> <4DA23090.8060206@frasunek.com> <20110411054932.GU84445@FreeBSD.org> <4DA2A5AA.4060802@frasunek.com> In-Reply-To: <4DA2A5AA.4060802@frasunek.com> Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Cc: freebsd-net@FreeBSD.org, Gleb Smirnoff 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: Mon, 11 Apr 2011 07:21:41 -0000 On 11.04.2011 13:54, Przemyslaw Frasunek wrote: >> IMO, any kind of memory allocation code (malloc, uma, netgraph item >> allocator) never return EPERM, they return ENOMEM or ENOBUFS. >> >> So, there is a bug somewhere else. > > I think so, but for me it still looks like resource shortage. As I wrote > before, when EPERM starts appearing, I'm unable to run "ngctl list". Increase sysctl kern.ipc.maxsockbuf. I was forced to rise it upto 80MB (sic!) as 8MB was not enough to me. Eugene Grosbein