[syslog-ng] syslog-ng not reconnecting when using tcp
Gergely Nagy
algernon at balabit.hu
Wed Apr 2 14:19:10 CEST 2014
prasad padiyar <prasad.padiyar at gmail.com> writes:
[...]
> syslog-ng version:
>
> syslog-ng 1.6.12
[...]
> I got a reply from one of the balabit guys that i have to use version 3.4.
Indeed, 1.6 is ancient.
> 1. How many number of times the connection is retried.
It is retried every time_reopen() seconds until it succeeds, or
syslog-ng is stopped.
> 2. when exactly the connection retry happens (when will it get to know when
> it has to retry)
The retry happens after syslog-ng disconnected (and syslog-ng
disconnects when it notices a network error, usually during a write() or
a poll()), after time_reopen() seconds have passed.
> 3. time_reopen(40), what exactly is 40seconds here.
The 40 seconds here is the time spent with the destination suspended
after an error, before trying to reconnect again.
Hope that answers your questions!
--
|8]
More information about the syslog-ng
mailing list