Hi John... I did exactly that... [root@clxd01md syslog-ng]# /etc/init.d/syslog-ng restart Shutting down system logger: [ OK ] Starting system logger: syntax error at 20 Parse error reading configuration file, exiting. (line 20) [FAILED] [root@clxd01md syslog-ng]# cat /etc/syslog-ng/syslog-ng.conf | grep time time_reopen (10); time_sleep(30); [root@clxd01md syslog-ng]# /sbin/syslog-ng -V syslog-ng 1.6.10 Am I doing something wrong? -----Original Message----- From: syslog-ng-bounces@lists.balabit.hu [mailto:syslog-ng-bounces@lists.balabit.hu] On Behalf Of John Morrissey Sent: April 25, 2006 12:38 PM To: Syslog-ng users' and developers' mailing list Subject: Re: [syslog-ng] time_sleep() On Tue, Apr 25, 2006 at 11:44:29AM -0700, Vaibhav Goel wrote:
I just installed syslog-ng 1.6.10 and cannot figure out how to use the time_sleep() option in the conf file. Any ideas? We are having some nasty cpu spikes because of lots of parallel connections to syslog-ng and hoping this will solve the issue.
It's just an option, i.e.: options { time_sleep(30); } john -- John Morrissey _o /\ ---- __o jwm@horde.net _-< \_ / \ ---- < \, www.horde.net/ __(_)/_(_)________/ \_______(_) /_(_)__ _______________________________________________ syslog-ng maillist - syslog-ng@lists.balabit.hu https://lists.balabit.hu/mailman/listinfo/syslog-ng Frequently asked questions at http://www.campin.net/syslog-ng/faq.html
On Tue, Apr 25, 2006 at 01:00:17PM -0700, Vaibhav Goel wrote:
I did exactly that...
[root@clxd01md syslog-ng]# /etc/init.d/syslog-ng restart Shutting down system logger: [ OK ] Starting system logger: syntax error at 20 Parse error reading configuration file, exiting. (line 20) [FAILED] [root@clxd01md syslog-ng]# cat /etc/syslog-ng/syslog-ng.conf | grep time time_reopen (10); time_sleep(30);
[root@clxd01md syslog-ng]# /sbin/syslog-ng -V syslog-ng 1.6.10
Am I doing something wrong?
Strange. I backported the time_sleep change to the Debian package I'm running (1.6.9) so I can't speak for the pristine 1.6.10 source, but it's been working fine for us. I glanced at the 1.6.10 tarball and see some time_sleep code there. Could you post your entire syslog-ng.conf? john -- John Morrissey _o /\ ---- __o jwm@horde.net _-< \_ / \ ---- < \, www.horde.net/ __(_)/_(_)________/ \_______(_) /_(_)__
participants (2)
-
John Morrissey
-
Vaibhav Goel