<div dir="ltr"><div>Hi,</div><div><br></div><div>Can you describe the issue in detail, please? Could you share the reproduction steps?</div><div></div><div><br></div><div>You say there is an issue with disk-buffer truncating after it's emptied, and that is resolved when syslog-ng restart?</div><div>How do you check if the queue is empty?<br></div><div><br></div><div>Regards,<br></div><div>Gabor<br></div><div><br><br></div><div><br></div><div><br></div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">Raghunath Adhyapak <<a href="mailto:funduraghu@gmail.com">funduraghu@gmail.com</a>> ezt írta (időpont: 2020. jún. 9., K, 0:08):<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div dir="auto">Correcting subject<div dir="auto"><br></div><div dir="auto">We did some more troubleshooting on this and we found that all logs in buffer were indeed sent out and that syslog-ng was facing issues in truncating the file.</div><div dir="auto">This issue got fixed with restart.</div><div dir="auto">However, we are observing that this issue is happening too often.</div><div dir="auto">Would anyone help me understand why this could be happening?</div><div dir="auto"><br></div><div dir="auto">Thanks</div><div dir="auto">Raghu</div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Mon, May 11, 2020, 19:34 Fabien Wernli <<a href="mailto:wernli@in2p3.fr" target="_blank">wernli@in2p3.fr</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">Hi,<br>
<br>
On Mon, May 11, 2020 at 12:23:27PM +0000, László Várady (lvarady) wrote:<br>
> > 2. Why couldn't syslog-ng resume operations after partition was freed up and destination was available?<br>
> <br>
> That might be a bug. Once a destination becomes available (set time-reopen() to a lower value to check more frequently), syslog-ng should send messages out from the disk buffer.<br>
> Could you reproduce this issue and share the reproduction steps?<br>
<br>
I remember having a lot of corrupt disk buffers when disk was full.<br>
In my case, they caused a segfault on startup, maybe that got "fixed" by a<br>
deletion instead?<br>
<br>
______________________________________________________________________________<br>
Member info: <a href="https://lists.balabit.hu/mailman/listinfo/syslog-ng" rel="noreferrer noreferrer" target="_blank">https://lists.balabit.hu/mailman/listinfo/syslog-ng</a><br>
Documentation: <a href="http://www.balabit.com/support/documentation/?product=syslog-ng" rel="noreferrer noreferrer" target="_blank">http://www.balabit.com/support/documentation/?product=syslog-ng</a><br>
FAQ: <a href="http://www.balabit.com/wiki/syslog-ng-faq" rel="noreferrer noreferrer" target="_blank">http://www.balabit.com/wiki/syslog-ng-faq</a><br>
<br>
</blockquote></div>
______________________________________________________________________________<br>
Member info: <a href="https://lists.balabit.hu/mailman/listinfo/syslog-ng" rel="noreferrer" target="_blank">https://lists.balabit.hu/mailman/listinfo/syslog-ng</a><br>
Documentation: <a href="http://www.balabit.com/support/documentation/?product=syslog-ng" rel="noreferrer" target="_blank">http://www.balabit.com/support/documentation/?product=syslog-ng</a><br>
FAQ: <a href="http://www.balabit.com/wiki/syslog-ng-faq" rel="noreferrer" target="_blank">http://www.balabit.com/wiki/syslog-ng-faq</a><br>
<br>
</blockquote></div>