[syslog-ng]Re: syslog-ng dying randomly?

John Morrissey jwm@horde.net
Tue, 28 May 2002 21:26:42 -0400


On Mon, May 27, 2002 at 05:38:00PM +0200, Balazs Scheidler wrote:
% I made two patches, one against syslog-ng the other against libol, please
% check if these fixes your problems.
[snip]
% --- src/afinet.c	26 Apr 2002 09:43:54 -0000	1.17
% +++ src/afinet.c	27 May 2002 15:37:19 -0000
% @@ -536,7 +536,8 @@
%  {
%  	CAST(afinet_dest, self, c);
%  	if (self->conn_fd) {
% -		KILL_RESOURCE(&self->conn_fd->super.super);
% +		/* KILL_RESOURCE(&self->conn_fd->super.super); */
% +		closekill_fd(self->conn_fd);

When I built this, the compiler complained that closekill_fd() wants two
args. I didn't bother checking and just assumed CLOSE_EOF was good enough
for the second arg. :-)

These patches seem to do it for me; I can't provoke syslog-ng into dying
when the syslog hub goes away. Thanks a bunch for your work!

Now, I hope I'm not asking too much, but should I expect a new release soon
with this incorporated? I'll be rebuilding my local RPMs and deploying this
to a few dozen machines and I'd like to update them to an "official"
release.

thanks again,
john
-- 
John Morrissey          _o            /\         ----  __o
jwm@horde.net        _-< \_          /  \       ----  <  \,
www.horde.net/    __(_)/_(_)________/    \_______(_) /_(_)__