[syslog-ng]Slow capturing syslog

Brad Arlt arlt@cpsc.ucalgary.ca
Sun, 11 Nov 2001 10:56:12 -0700


On Sun, Nov 11, 2001 at 08:32:58PM -0800, Chee Chew wrote:
> I tested with kiwi syslog generator and I found either syslog-ng or syslogd
> is putting the log into file destination very slow at fastest exactly 10sec
> per log. At the rest of the log is queue in buffer. If syslog-ng were to run
> in environment that has log input with consistently 1 log per second, this
> will not work even we set the buffer large. Also not real time.
> 
> I believe this is something to do with the synchronisation of SOCK_STREAM
> socket because I am using linux. Do you know how to fine tune this.

This feels like a DNS issue.  If you tell syslog-ng not to resolve
hostnames, does the lag disappear?
----------------------------------------------------------------------------
   __o		Bradley Arlt	  Email: arlt@cpsc.ucalgary.ca         o__
 _ \<_				    WWW: www.acs.ucalgary.ca/~bdarlt   _>/ _
(_)/(_)  -Eat well, sleep peacefully, drink lots, and ride like hell. (_)\(_)