[syslog-ng] Syslog-ng fails with more than one program destination
Balazs Scheidler
bazsi@balabit.hu
Fri, 4 Feb 2000 20:01:17 +0100
On Mon, Jan 31, 2000 at 02:50:13PM -0500, George Madden wrote:
> I was testing with 1.3.13 and found it fails with a kill -HUP when more than
> one "program" destination is used. Syslog-ng never restarts and starts using
> all the cpu. I tested this on both Redhat 6.1 and FreeBSD 3.3. When I remove
> all but one program destination, it works fine. It also works fine under
> syslog-ng 1.2.3. I assume I can have more than one program destination but
> maybe not.
>
> Here is the debug output. It never closes the fd and the cpu goes to about
> 97%
>
> binding fd 3, inetaddr: 0.0.0.0, port: 514
> io.c: Preparing fd 3 for reading
> io.c: listening on fd 4
> io.c: Preparing fd 6 for writing
> io.c: Preparing fd 7 for writing
> io.c: Preparing fd 8 for writing
> syslog-ng version 1.3.13 starting
> io.c: Preparing fd 5 for writing
> Garbage collecting while idle...
> Objects alive: 68, garbage collected: 4
> Garbage collecting while idle...
> Objects alive: 68, garbage collected: 14
> Garbage collecting while idle...
> Objects alive: 68, garbage collected: 28
> Garbage collecting while idle...
> Objects alive: 68, garbage collected: 37
> SIGHUP received, restarting syslog-ng
> Marking fd 3 for closing.
> Marking fd 5 for closing.
> Marking fd 8 for closing.
I couldn't reproduce this problem on my Debian Potato system, everything
works fine. I'm releasing my current version as 1.3.14, check if the error
still occurs.
--
Bazsi
PGP info: KeyID 9AF8D0A9 Fingerprint CD27 CFB0 802C 0944 9CFD 804E C82C 8EB1
url: http://www.balabit.hu/pgpkey.txt