[syslog-ng]writing to /dev/log hungs system

Balazs Scheidler bazsi@balabit.hu
Thu, 20 Feb 2003 13:14:15 +0100


On Thu, Feb 20, 2003 at 01:49:55PM +0200, Elan Ruusamäe wrote:
> hi
> 
> 
> since time to time all applications hung that write to syslog, and i cannot ^C ^Z ^\ them ;(
> i cannot su to root and kill syslog-ng too.
> 
> this has happened several times over several machines
> i've turned off dns lookups, since i guessed dns downtime affects this, but that did not help
> 
> the problem, when it's arisen, gets solved by some 6 hours
> 
> i guess the hung arises on high flood to syslog
> ...
> 
> source src { pipe("/proc/kmsg"); unix-stream("/dev/log"); internal(); };

you are probably running syslog-ng and klogd at the same time and both of
them are reading /proc/kmsg. see the FAQ entry about this.

-- 
Bazsi
PGP info: KeyID 9AF8D0A9 Fingerprint CD27 CFB0 802C 0944 9CFD 804E C82C 8EB1