<p dir="ltr">Hi,</p>
<p dir="ltr">Thanks for the information. The culprit seems to be that we keep a mutex locked for the duration of the COMMIT statement, which seems to take long. This then causes to stop processing the inputs.</p>
<p dir="ltr">Is there any reason why PgSQL stalls in COMMIT? Can you check the pgsql side?</p>
<p dir="ltr">maybe syslog-ng progresses, just very-very slowly. if for instance COMMIT takes a minute, and then it wakes up processes a message and then a commit again, may make it feel like it completely stopped whereas it stops waiting for long operations.</p>
<p dir="ltr">Hmm.. it would probably make sense to release the lock around the commit operation though.<br></p>
<p dir="ltr">-- <br>
Bazsi</p>
<div class="gmail_quot&lt;blockquote class=" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Hello,<br>
<br>
mine colleague prepared the backtraces.<br>
Please, see attached file.<br>
<br>
Let me know if there is anything elase a should provide (cfg files,<br>
logs,..).<br>
<br>
Thanks for any suggestions/help.<br>
--<br>
Tomáš Novosad<br>
LinuxBox.cz, s.r.o.<br>
28. října 168, 709 00 Ostrava<br>
<br>
tel.:   <a href="tel:%2B420%20591%20166%20221" value="+420591166221">+420 591 166 221</a><br>
mobil:  <a href="tel:%2B420%20737%20238%20655" value="+420737238655">+420 737 238 655</a><br>
email:  <a href="mailto:tomas.novosad@linuxbox.cz">tomas.novosad@linuxbox.cz</a><br>
jabber: <a href="mailto:novosad@linuxbox.cz">novosad@linuxbox.cz</a><br>
<a href="http://www.linuxbox.cz" target="_blank">www.linuxbox.cz</a><br>
<br>
mobil servis: <a href="tel:%2B420%20737%20238%20656" value="+420737238656">+420 737 238 656</a><br>
email servis: <a href="mailto:servis@linuxbox.cz">servis@linuxbox.cz</a><br>
<br>
On  5. 1. 12:11, Scheidler, Balázs wrote:<br>
&gt; Hi,<br>
&gt;<br>
&gt; checking the backtrace again, it might actually be a genuine deadlock. can<br>
&gt; you give a backtrace of all the threads as syslog-ng stalls like that?<br>
&gt;<br>
&gt;<br>
&gt; --<br>
&gt; Bazsi<br>
&gt;<br>
<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>
<br></div>