Re: BUG #6229: Postgresql crashes after: LOG: statistics buffer is full

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: Alvaro Herrera <alvherre(at)commandprompt(dot)com>
Cc: Max Kunz <admin(at)m4ximus(dot)de>, Pg Bugs <pgsql-bugs(at)postgresql(dot)org>
Subject: Re: BUG #6229: Postgresql crashes after: LOG: statistics buffer is full
Date: 2011-09-27 20:12:05
Message-ID: 28510.1317154325@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-bugs

Alvaro Herrera <alvherre(at)commandprompt(dot)com> writes:
> Excerpts from Max Kunz's message of mar sep 27 13:50:57 -0300 2011:
>> i have detected a problem after postgres logs "statistics buffer is full":
>> The database achieves farther on connections from the clients but no one
>> could process a statement and neither of the connection was closed.
>> It was also not possible to shutdown postgresql regularly.

> The 8.1 branch is no longer supported. You need to upgrade, at least to
> 8.2; but since that's going to lose support just past December 2011, you
> should look into something more recent than that too.

FWIW, I suspect the problem is at a much deeper level and "statistics
buffer is full" is just a minor symptom. If the stats buffer process is
stuck, that should really have no effect on the system other than
failure to deliver statistics updates. Probably the reason why it's
reporting this is that the stats collector process is stuck, and perhaps
the underlying reason for that is also affecting regular backends. But
there's not nearly enough info here to diagnose the true cause.

In any case I agree with Alvaro that 8.1.3 is horribly obsolete,
and you should at least update to the end of the 8.1 release branch
if you can't easily migrate to a supported branch.

regards, tom lane

In response to

Browse pgsql-bugs by date

  From Date Subject
Next Message Tom Lane 2011-09-28 02:05:56 Re: BUG #6227: No arguments for COPY OIDS and HEADER
Previous Message Alvaro Herrera 2011-09-27 19:41:13 Re: BUG #6229: Postgresql crashes after: LOG: statistics buffer is full