[syslog-ng]syslog-ng hanging

Balazs Scheidler syslog-ng@lists.balabit.hu
Sat, 17 Jan 2004 23:27:17 +0100


On Mon, 2003-12-29 at 05:42, david@reno2.com wrote:
> I have noticed that syslog-ng has been hanging on my 2.6.0 kernel gentoo
> host.  I saw in a previous post that strace was requested, so here is some
> info:
> 
> cindy etc # ps -ef |grep syslog-ng
> root      3381     1  0 15:36 ?        00:00:00 /usr/sbin/syslog-ng
> root     11416  9238  0 20:34 pts/1    00:00:00 grep syslog-ng
> cindy etc #
> cindy etc # strace -f -v -i -t -p 3381
> Process 3381 attached - interrupt to quit
> 20:34:39 [4011e878] read(3,  <unfinished ...>
> Process 3381 detached
> cindy etc #
> 
> (The above unfinished part happens after I CTRL-C)
> 
> Using following version of syslog-ng:
> [ebuild   R   ] app-admin/syslog-ng-1.6.0_rc3-r1
> 
> I will leave the system in this state until tomorrow morning (Mon, Dec 29,
> 7AM PST) in case any further diagnostic info is requested by then.  I
> appreciate any help that you can give,

probably both syslog-ng and klogd is reading the same /proc/kmsg source
and this time syslog-ng lost, this it hungs while trying to read.
(otherwise syslog-ng issues read only when poll() indicates that the
source is readable)

-- 
Bazsi
PGP info: KeyID 9AF8D0A9 Fingerprint CD27 CFB0 802C 0944 9CFD 804E C82C 8EB1