Re: BUG: Infinite syslog() loop - Mailing list pgsql-bugs

From Erik Walthinsen
Subject Re: BUG: Infinite syslog() loop
Date
Msg-id Pine.LNX.4.53L0.0304251521070.13905@alpha.temple-baptist.com
Whole thread Raw
In response to Re: BUG: Infinite syslog() loop  (Oliver Elphick <olly@lfix.co.uk>)
List pgsql-bugs
On Fri, 25 Apr 2003, Oliver Elphick wrote:

> > I woke up this morning to a filled root partition on one of my servers.
> > I found that both debug and syslog were filled with over 50MB each of
> > postgres errors:
> Change your syslog configuration to throw away debug messages from
> postgres (user0)

Um, NO.

I will not configure my system to throw away logging data that's required
to keep track of normal system operations, because there's a bug causing
infinite looping.

This 'solution' in no way solves the problem, which in actuality has very
little to do with syslog and everything to do with the fact that
postgresql managed to get into an infinite loop.  Infinite loops typically
cause the process to eat up all available processing time, hence the
ability to write nearly half a million log messages in just over 16
minutes.  My server has better things to do.

Throwing away the log messages is equivalent to sticking your fingers in
your ears to hide from a nuclear air-burst.

I still welcome any advice that will help me track down the cause of this
bug and get it fixed.

      Erik Walthinsen <omega@temple-baptist.com> - System Administrator
        __
       /  \                GStreamer - The only way to stream!
      |    | M E G A        ***** http://gstreamer.net/ *****
      _\  /_

pgsql-bugs by date:

Previous
From: Erik Walthinsen
Date:
Subject: Re: BUG: Infinite syslog() loop
Next
From: Erik Walthinsen
Date:
Subject: Re: BUG: Infinite syslog() loop