Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 29 Oct 2002 13:25:42 -0800 (PST)
From:      "nate" <freebsd@aphroland.org>
To:        <questions@FreeBSD.ORG>
Subject:   syslog-ng dies, whats a good way to monitor it?
Message-ID:  <16197.216.39.174.24.1035926742.squirrel@webmail.linuxpowered.net>

next in thread | raw e-mail | index | archive | help
hi

I've been having this problem all year on several systems, its quite
annoying. I'll take my home network as an example. I use syslog-ng
1.4.15 on freebsd 4.6.2. I have a couple debian machines, a redhat
machine, a suse machine log to it. Most of the time its fine, but
at seemingly random points it stops logging until i kill -HUP it.
All the machines are on the same LAN connected together with a high
performance 48port switch.

I was thinking of trying to write some kind of script that uses
the logger command then searches the recent log entries for a result
but would prefer something more reliable(I'm not that great at
scripting yet) if there is something out there.  I've had this
problem on freebsd 4.4 and 4.6.0 as well using syslog-ng on those
systems as well. Random times syslog-ng just dies and doesn't log.
I use logrotate and completely kill and restart syslog-ng each
week but that doesn't seem to help.

the process itself doesn't exit, it doesn't print any errors, it
just stops responding.

this particular machine is a k6-3 400 with 2MB L3 cache, 384MB
ram, running 2 Ultrawide SCSI disks connected to a 2940UW controller.
My other systems with freebsd were p3-1ghz, 512MB ECC ram, with
IDE disks connected to a promise ATA/66 controller.

no other problems on the systems that I can notice..just syslog-ng.

any ideas? searching around on google didn't turn up much for me,
most other experiences I see include syslog-ng completely crashing,
not just hanging.

it's most annoying because sometimes I don't notice it down for
a couple days, and all those log entries for that time are gone
forever:(

thanks

nate




To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-questions" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?16197.216.39.174.24.1035926742.squirrel>