Balazs, The patch worked fine. I also tried 1.3.15 and it appears to work fine. I've had it running for about 12 hours now and it appears to be running well. I'd like to let it go for a week or so to test it properly. Thanks. ----- Original Message ----- From: "Balazs Scheidler" <bazsi@balabit.hu> To: <syslog-ng@lists.balabit.hu> Sent: Sunday, February 13, 2000 10:21 AM Subject: Re: [syslog-ng] Syslog-ng fails with more than one program destination
I tried 1.3.14 and it has the same problem. It seems to be load related. The machine I'm running this on receives about 1000 messages a minute. When I stop logging to this computer from the other machines it restarts fine. Is there any other debugging you'd like me to try?
-George
hmmm... I'll try to increase the load. I've just arrived home and catching up messages. (I was skiing in Czech Republic last week :)
This patch should fix the problem:
--- main.c 1999/12/18 22:25:38 1.22 +++ main.c 2000/02/13 15:07:57 @@ -131,7 +131,7 @@
void sig_child(int signo) { - while (waitpid(-1, NULL, WNOHANG) != -1) + while (waitpid(-1, NULL, WNOHANG) > 0) ; signal(SIGCHLD, sig_child); }
-- Bazsi PGP info: KeyID 9AF8D0A9 Fingerprint CD27 CFB0 802C 0944 9CFD 804E C82C 8EB1 url: http://www.balabit.hu/pgpkey.txt
_______________________________________________ syslog-ng maillist - syslog-ng@lists.balabit.hu http://lists.balabit.hu/mailman/listinfo/syslog-ng