[syslog-ng] Simple Doubt
ac56 at soas.ac.uk
Mon Jun 4 14:12:13 CEST 2007
Luiz Cruz <luizcruz.msg at gmail.com> [20070604 09:43:08 -0200]:
> Hi all,
> I have a doubt about a process that i have. Maybe the solution is
> in the side of syslog-ng, i am searching. My process is:
> Log -> Perl Script -> Fifo -> Syslog-ng -------------- > Syslog-ng ->
> perl -> rrd
Can't this be redone as:
Perl Script ---(Sys::Syslog)---> syslog-ng -> syslog-ng -> Perl -> RRD
You do not explain where and what 'Log' is so it is difficult to help out.
> The problem is when the application write to many lines in the fifo
> file (through the perl script), my syslog-ng (Standard Configuration)
> can't process all lines quickly, and the load of cpu rises a lot. Is
> there any parameters that i can use to optimize the reading? Someone
> have a similar solution?
If 'Log' is a file on the machine why can you not just use the 'tail'
functionality of syslog-ng?
> Thanks a lot.
> syslog-ng maillist - syslog-ng at lists.balabit.hu
> Frequently asked questions at http://www.campin.net/syslog-ng/faq.html
More information about the syslog-ng