Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 22 Mar 2012 10:07:28 +0000
From:      Traiano Welcome <Traiano.Welcome@mtnbusiness.co.za>
To:        Traiano Welcome <Traiano.Welcome@mtnbusiness.co.za>, "freebsd-net@freebsd.org" <freebsd-net@freebsd.org>
Subject:   Re: FreeBSD: syslog-ng: I/O error occurred while writing; fd='xx', error='No buffer space available (yy)'
Message-ID:  <CB90C645.DD68%traiano.welcome@mtnbusiness.co.za>
In-Reply-To: <CB90C586.DD60%traiano.welcome@mtnbusiness.co.za>

next in thread | previous in thread | raw e-mail | index | archive | help
--_004_CB90C645DD68traianowelcomemtnbusinesscoza_
Content-Type: text/plain; charset="us-ascii"
Content-ID: <38111E9CC6DD97428C284D5ED8E28AE1@int.mtnbusiness.net>
Content-Transfer-Encoding: quoted-printable


Performance graphs that were supposed to be attached in the last mail :p



On 22/03/2012 12:03, "Traiano Welcome" <Traiano.Welcome@mtnbusiness.co.za>
wrote:

>Hi List
>
>I've been seeing the following in the messages log of my freebsd syslog
>server for quite some time now:
>
>---
>Mar 20 12:19:12 syslog2 syslog-ng[35313]: I/O error occurred while
>writing; fd=3D'12', error=3D'No buffer space available (55)'
>Mar 20 12:19:12 syslog2 syslog-ng[35313]: Connection broken;
>time_reopen=3D'60'
>Mar 20 12:19:12 syslog2 syslog-ng[35313]: I/O error occurred while
>writing; fd=3D'13', error=3D'No buffer space available (55)'
>Mar 20 12:19:12 syslog2 syslog-ng[35313]: Connection broken;
>time_reopen=3D'60'
>---
>
>These happen at a frequency of about 7 per minute on average. See attached
>trend graphs for an idea of the volume of traffic we're doing, as well as
>the memory and cpu utilisation trends on this server during this period.
>As can be seen from the graphs, load does not seem to be the issue.
>Occasionally during the week, the system freezes and requires a reboot, I
>think it's related to the above message, though I'm not sure.
>
>My question is: What does this error mean, and how can I resolve it?
>
>I have tried to frame this as an operating system kernel resource issue,
>and experimented with increasing the freebsd kernel sysctls for UDP
>performance:
>
>---
>[root@syslog2 <mailto:root@syslog2.ops.mtnbusiness.co.za> /var/log]#
>sysctl kern.ipc.nmbclusters=3D102400
>kern.ipc.nmbclusters: 25600 -> 102400
>
>[root@syslog2 <mailto:root@syslog2.ops.mtnbusiness.co.za> /var/log]#
>sysctl kern.ipc.maxsockbuf=3D201326592
>kern.ipc.maxsockbuf: 100663296 -> 201326592
>
>[root@syslog2 <mailto:root@syslog2.ops.mtnbusiness.co.za> /var/log]#
>sysctl net.inet.udp.recvspace=3D33554432
>net.inet.udp.recvspace: 16777216 -> 33554432
>---
>
>This has reduced the frequency of the errors a little, but in general the
>problem still remains.
>
>Syslog version:
>
>--
>[root@syslog2]# syslog-ng -V
>syslog-ng 2.0.10
>
>--
>
>FreeBSD version:
>
>--
>FreeBSD 7.2-STABLE #0
>--
>
>Any help would be much appreciated!
>Traiano
>
>
>_______________________________________________
>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"


--_004_CB90C645DD68traianowelcomemtnbusinesscoza_--



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CB90C645.DD68%traiano.welcome>