[syslog-ng] patterndb + format_json 100% CPU
Balazs Scheidler
bazsi77 at gmail.com
Fri Oct 18 11:01:19 CEST 2013
I remember a bug in that caused similar symptoms when the output template
produced zero length strings.
That has been fixed though. But can you try that regardless?
Can you perhaps use gdb to check where it is spinning?
If not, I would need to reproduce it.
On Oct 18, 2013 5:55 AM, "Alexandre Biancalana" <biancalana at gmail.com>
wrote:
> Hi list,
>
> Running syslog-ng with self written patterndb and format_json output the
> process is hitting 100% of CPU looks like it's freezed (infinite loop ?)
> and nothing is written to the output.
>
> Follow the link to syslog-ng.conf, patterndb file and example logfile:
>
> syslog-ng.conf - http://pastebin.com/QD6huzA3
> httpd.xml (patterndb) - http://pastebin.com/kF9zJHYH
> all.log - http://pastebin.com/syusGF2H
>
>
> Was possible to reproduce that with 3.4.4 and 3.5.0beta3.
>
> Regards,
> Alexandre
>
>
> ______________________________________________________________________________
> Member info: https://lists.balabit.hu/mailman/listinfo/syslog-ng
> Documentation:
> http://www.balabit.com/support/documentation/?product=syslog-ng
> FAQ: http://www.balabit.com/wiki/syslog-ng-faq
>
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.balabit.hu/pipermail/syslog-ng/attachments/20131018/d8c886b3/attachment.htm
More information about the syslog-ng
mailing list