<div dir="ltr">Thanks for the kind reply.<div><br><div><div class="im" style="font-family:arial,sans-serif;font-size:12.499999046325684px">&gt; 1. How many number of times the connection is retried.<br><br></div><span style="font-family:arial,sans-serif;font-size:12.499999046325684px">It is retried every time_reopen() seconds until it succeeds, or</span><br style="font-family:arial,sans-serif;font-size:12.499999046325684px">
<span style="font-family:arial,sans-serif;font-size:12.499999046325684px">syslog-ng is stopped.</span><br></div><div><span style="font-family:arial,sans-serif;font-size:12.499999046325684px"><br></span></div><div><span style="font-family:arial,sans-serif;font-size:12.499999046325684px">But somehow I do not see this happening in my case. Is there some configuration in syslog-ng.conf that does this (retrying until it succeeds or syslog-ng is stopped) ?</span></div>
<div><span style="font-family:arial,sans-serif;font-size:12.499999046325684px"><br></span></div></div></div><div class="gmail_extra"><br><br><div class="gmail_quote">On Wed, Apr 2, 2014 at 5:49 PM, Gergely Nagy <span dir="ltr">&lt;<a href="mailto:algernon@balabit.hu" target="_blank">algernon@balabit.hu</a>&gt;</span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">prasad padiyar &lt;<a href="mailto:prasad.padiyar@gmail.com">prasad.padiyar@gmail.com</a>&gt; writes:<br>
<br>
[...]<br>
<br>
&gt; syslog-ng version:<br>
&gt;<br>
&gt; syslog-ng 1.6.12<br>
[...]<br>
<div class=""><br>
&gt; I got a reply from one of the balabit guys that i have to use version 3.4.<br>
<br>
</div>Indeed, 1.6 is ancient.<br>
<div class=""><br>
&gt; 1. How many number of times the connection is retried.<br>
<br>
</div>It is retried every time_reopen() seconds until it succeeds, or<br>
syslog-ng is stopped.<br>
<div class=""><br>
&gt; 2. when exactly the connection retry happens (when will it get to know when<br>
&gt; it has to retry)<br>
<br>
</div>The retry happens after syslog-ng disconnected (and syslog-ng<br>
disconnects when it notices a network error, usually during a write() or<br>
a poll()), after time_reopen() seconds have passed.<br>
<div class=""><br>
&gt; 3. time_reopen(40), what exactly is 40seconds here.<br>
<br>
</div>The 40 seconds here is the time spent with the destination suspended<br>
after an error, before trying to reconnect again.<br>
<br>
Hope that answers your questions!<br>
<span class="HOEnZb"><font color="#888888"><br>
--<br>
|8]<br>
<br>
______________________________________________________________________________<br>
Member info: <a href="https://lists.balabit.hu/mailman/listinfo/syslog-ng" target="_blank">https://lists.balabit.hu/mailman/listinfo/syslog-ng</a><br>
Documentation: <a href="http://www.balabit.com/support/documentation/?product=syslog-ng" target="_blank">http://www.balabit.com/support/documentation/?product=syslog-ng</a><br>
FAQ: <a href="http://www.balabit.com/wiki/syslog-ng-faq" target="_blank">http://www.balabit.com/wiki/syslog-ng-faq</a><br>
<br>
</font></span></blockquote></div><br><br clear="all"><div><br></div>-- <br>Regards,<br>Prasad
</div>