I'm having remote connections drop with 1.6. I have my hosts log to localhost stunnel to my server. The problem seems to be when hosts rotate and HUP their daemons, it breaks the stunnel connection. I believe my log server is working after putting keep-alive on it; when I reload it, I don't see messages indicating reconnects. It doesn't on the clients, though, it gave me a syntax error. It seems keep-alive only works in source sections but not in destination sections. Is this correct? The manual online seems to suggest it would work with any tcp stream... (the man page that came with my syslog-ng doesn't mention it at all). Is this different in 2.0? Thanks, J
On Mon, 2007-12-03 at 19:41 -0500, Josh Endries wrote:
I'm having remote connections drop with 1.6. I have my hosts log to localhost stunnel to my server. The problem seems to be when hosts rotate and HUP their daemons, it breaks the stunnel connection. I believe my log server is working after putting keep-alive on it; when I reload it, I don't see messages indicating reconnects. It doesn't on the clients, though, it gave me a syntax error. It seems keep-alive only works in source sections but not in destination sections. Is this correct? The manual online seems to suggest it would work with any tcp stream... (the man page that came with my syslog-ng doesn't mention it at all). Is this different in 2.0?
The destinations are always reopened upon HUP even in 2.0. I'm Ccing the documentation team to clarify this in the documentation. Is it really worth supporting keep-alive on destinations? I assume stunnel also reconnects, right? -- Bazsi
Balazs Scheidler wrote:
The destinations are always reopened upon HUP even in 2.0. I'm Ccing the documentation team to clarify this in the documentation.
Is it really worth supporting keep-alive on destinations? I assume stunnel also reconnects, right?
I'm not sure, I didn't mean to suggest changing anything. I have been going through my logs fixing anything that seems wrong, and seeing all the reconnects made me wonder if there was a way to avoid breaking the connection. If not, that's okay, I'll either ignore them or use another log rotation method that avoids using HUP. Thanks! Josh
participants (2)
-
Balazs Scheidler
-
Josh Endries