thanks for the responseFor now our architecture is limiting us to an old syslog-ng version so we cannot upgrade.as for the flush we are running it with 200 and with timeout 200 also. we are trying to increase the flush-lines to 1000 and see if it helps.i also googled the problem and saw a couple of mails that said that there was a bug with syslog-ng 3.2.5/4 and pcre that created a bug with the cpu usage. does someone if it might be the problem and how to fix it.thanksRanOn Tue, Feb 14, 2017 at 5:53 PM, Scheidler, Balázs <balazs.scheidler@balabit.com> wrote:It might be because of transaction size. Sqlite is very inefficient if the transaction size is small.Newer syslog-ng versions support batching, set flush-lines to something like 100 and it would improve a lot.On Feb 14, 2017 06:31, "Fekete, Róbert" <robert.fekete@balabit.com> wrote:Hi,It is not normal, it might be a bug. However, version 3.2 is ancient, I'd recommend upgrading to a newer version. You can find release tarballs on github, or links to binaries here: https://syslog-ng.org/3rd-party-binaries/ Regards,RobertOn Tue, Feb 14, 2017 at 3:19 PM, work ran <work.greeran@gmail.com> wrote:hii am running syslog-ng with sqlitei am sending 50 logs per second and i am getting 80% cpu usage.could someone tell me how i can fix this or is it normalthanksRansyslog-ng 3.2.5Installer-Version: 3.2.5Revision: ssh+git://bazsi@git.balabit//var/scm/git/syslog-ng/syslog-ng -ose--mainline--3.2#master#9d4 bea28198bd731df1a61e980a2af5b8 8d81116 Compile-Date: Jul 25 2014 15:20:50Enable-Threads: onEnable-Debug: offEnable-GProf: offEnable-Memtrace: offEnable-Sun-STREAMS: offEnable-IPv6: onEnable-Spoof-Source: onEnable-TCP-Wrapper: onEnable-SSL: offEnable-SQL: onEnable-Linux-Caps: offEnable-Pcre: onEnable-Pacct: off
____________________________________________________________ __________________
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
____________________________________________________________ __________________
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
____________________________________________________________ __________________
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
____________________________________________________________ __________________
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