From owner-freebsd-questions@FreeBSD.ORG Fri Mar 23 09:15:47 2012 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 0F90B106564A for ; Fri, 23 Mar 2012 09:15:47 +0000 (UTC) (envelope-from mark@exonetric.com) Received: from relay0.exonetric.net (relay0.exonetric.net [178.250.72.161]) by mx1.freebsd.org (Postfix) with ESMTP id 9A59F8FC17 for ; Fri, 23 Mar 2012 09:15:46 +0000 (UTC) Received: from [192.168.1.24] (unknown [78.86.207.85]) by relay0.exonetric.net (Postfix) with ESMTP id A537757011; Fri, 23 Mar 2012 09:15:51 +0000 (GMT) Mime-Version: 1.0 (Apple Message framework v1257) From: Mark Blackman In-Reply-To: Date: Fri, 23 Mar 2012 09:15:45 +0000 Message-Id: <28FEAF01-5966-43C3-AD61-6604483FC62D@exonetric.com> References: To: Traiano Welcome X-Mailer: Apple Mail (2.1257) Content-Type: text/plain; charset=windows-1252 Content-Transfer-Encoding: quoted-printable X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Cc: freebsd questions Subject: Re: FreeBSD: syslog-ng: I/O error occurred while writing; fd='xx', error='No buffer space available (yy)' X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 23 Mar 2012 09:15:47 -0000 On 23 Mar 2012, at 08:58, Traiano Welcome wrote: > Hi Mark >=20 >=20 > On 22/03/2012 13:54, "Mark Blackman" wrote: >=20 >>=20 >> On 22 Mar 2012, at 11:40, Traiano Welcome wrote: >>>=20 >>> Somehow this doesn't strike me as a large volume of throughput =8A >>=20 >> Ok, fair enough. You might try simulating the problem by deliberately >> overloading the syslog UDP output and confirm the cause. >=20 >=20 > Apparently this means that the network driver has "filled" up with > packets. John Baldwin over at freebsd-net@ advises I up the number of > descriptors assigned to igb to the maximum > to workaround this using the hw.igb.maxtxd tunable you would set. So = I've > rebooted with the following in loader.conf: >=20 > hw.igb.rxd=3D4096 > hw.igb.txd=3D4096 >=20 >=20 > This seems to be working so far. What I've noticed is that the system = is > using far less RAM than previously, and CPU utilisation is up to 100% = of > one core, load average is 1, which I would guess means that the system = is > now processing a lot more syslog data now that "more packets are = making > it through the network driver". >=20 > I'll keep monitoring over a 24 hour period though, to see how = effective > this is. Right, good news. Interesting that you need to tweak network drivers. - Mark