<p dir="ltr">I remember a bug in that caused similar symptoms when the output template produced zero length strings.</p>
<p dir="ltr">That has been fixed though. But can you try that regardless?</p>
<p dir="ltr">Can you perhaps use gdb to check where it is spinning?</p>
<p dir="ltr">If not, I would need to reproduce it.</p>
<div class="gmail_quote">On Oct 18, 2013 5:55 AM, &quot;Alexandre Biancalana&quot; &lt;<a href="mailto:biancalana@gmail.com">biancalana@gmail.com</a>&gt; wrote:<br type="attribution"><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div dir="ltr"><div><div><div><div><div><div><div>Hi list,<br><br></div> Running syslog-ng with self written patterndb and format_json output the process is hitting 100% of CPU looks like it&#39;s freezed (infinite loop ?) and nothing is written to the output.<br>

<br></div> Follow the link to syslog-ng.conf, patterndb file and example logfile:<br><br></div>syslog-ng.conf - <a href="http://pastebin.com/QD6huzA3" target="_blank">http://pastebin.com/QD6huzA3</a><br>httpd.xml (patterndb) - <a href="http://pastebin.com/kF9zJHYH" target="_blank">http://pastebin.com/kF9zJHYH</a><br>

</div>all.log - <a href="http://pastebin.com/syusGF2H" target="_blank">http://pastebin.com/syusGF2H</a><br><br><br></div>Was possible to reproduce that with 3.4.4 and 3.5.0beta3.<br><br></div>Regards,<br></div>Alexandre<br>
</div>
<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></blockquote></div>