Received: from maia.hub.org (maia-5.hub.org [200.46.204.29]) by mail.postgresql.org (Postfix) with ESMTP id 85639B5DBC7 for ; Tue, 27 Sep 2011 17:12:16 -0300 (ADT) Received: from mail.postgresql.org ([200.46.204.86]) by maia.hub.org (mx1.hub.org [200.46.204.29]) (amavisd-maia, port 10024) with ESMTP id 58039-01 for ; Tue, 27 Sep 2011 20:12:09 +0000 (UTC) X-Greylist: from auto-whitelisted by SQLgrey-1.8.0-rc2 Received: from sss.pgh.pa.us (sss.pgh.pa.us [66.207.139.130]) by mail.postgresql.org (Postfix) with ESMTP id 9A817B5DBC4 for ; Tue, 27 Sep 2011 17:12:09 -0300 (ADT) Received: from sss2.sss.pgh.pa.us (tgl@localhost [127.0.0.1]) by sss.pgh.pa.us (8.14.2/8.14.2) with ESMTP id p8RKC5np028511; Tue, 27 Sep 2011 16:12:05 -0400 (EDT) To: Alvaro Herrera cc: Max Kunz , Pg Bugs Subject: Re: BUG #6229: Postgresql crashes after: LOG: statistics buffer is full In-reply-to: <1317152315-sup-4059@alvh.no-ip.org> References: <201109271650.p8RGovgW053195@wwwmaster.postgresql.org> <1317152315-sup-4059@alvh.no-ip.org> Comments: In-reply-to Alvaro Herrera message dated "Tue, 27 Sep 2011 16:41:13 -0300" Date: Tue, 27 Sep 2011 16:12:05 -0400 Message-ID: <28510.1317154325@sss.pgh.pa.us> From: Tom Lane X-Virus-Scanned: Maia Mailguard 1.0.1 X-Spam-Status: No, hits=-2.404 tagged_above=-5 required=5 tests=BAYES_00=-1.9, RP_MATCHES_RCVD=-0.504 X-Spam-Level: X-Archive-Number: 201109/206 X-Sequence-Number: 31223 Alvaro Herrera 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