[syslog-ng]syslog-ng TCP bug

Scott McDermott [email protected]
Thu, 31 Aug 2000 15:48:01 -0400

Nate Campi on Thu 31/08 12:05 -0700:
> Every hour at exactly 30 minutes past the hour (7:30, 8:30, 9:30, etc)
> syslog-ng dies with the error:
> syslog-ng: io.c:172: io_iter: Assertion `i < nfds' failed.

Yes, we have the same problem here.  But I never compiled debugging
symbols into by binary yet so I couldn't get the line number (and there
I think three of those assertions in that routine)

> Then at 31 minutes past the hour my "syslog-ng.check" script (running
> from cron every minute) sees that syslog-ng isn't running and restarts
> it. syslog-ng runs fine for another hour, then at 30 minutes past the
> next hour it dies again, and the cycle continues.

I also have a script that restarts syslog-ng every hour :) Otherwise, it
crashes 3-4 times per day, and leaks memory like a seive.  I gave up
trying to find the problem because of the strange libol junk.