pg.ddx.io  pgsql-admin@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Jérôme BENOIS <jerome.benois@argia-engineering.fr>
To: pgsql-admin@postgresql.org
Subject: LOG:  statistics buffer is full
Date: Thu, 22 Jun 2006 09:24:05 +0200
Message-ID: <1150961045.4506.308.camel@localhost.localdomain> (raw)

Hello,

        We use 7.4.6 version and now we have a bad performance on our
production server. We detected several strange messages in a log file :

    LOG:  statistics buffer is full
    LOG:  statistics buffer is full
    LOG:  statistics buffer is full

When i search on mailings list archive, i found a patch to increase the
buffer size in src/include/pgstat.h 

-#define PGSTAT_RECVBUFFERSZ ((int) (1024 * sizeof(PgStat_Msg)))
+#define PGSTAT_RECVBUFFERSZ ((int) (16384 * sizeof(PgStat_Msg)))

And when i look the same file on the subversion trunk, the
"PGSTAT_RECVBUFFERSZ" constant is defined in a new file :
src/backend/postmaster/pgstat.c but with a same value.

Can you explain this statistics buffer problem ? And increase this
buffer size is a good resolution ?

Thanks for your help

Best Regards,
Jérôme BENOIS.
--
Share'nGo Team
http://www.sharengo.org

Attachments:

  signature.asc (application/pgp-signature, 188B) download

view thread (3+ messages)  latest in thread

Message-ID: <1150961045.4506.308.camel@localhost.localdomain>
Permalink:  ../1150961045.4506.308.camel@localhost.localdomain/
Also on:    postgresql.org/message-id/1150961045.4506.308.camel@localhost.localdomain

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients from your mail client; the link fills in
  the headers below: reply via email
  Some clients, webmail especially, drop In-Reply-To and References from
  a link, and the reply then starts a new thread: use the mbox below.

  To: pgsql-admin@postgresql.org
  Cc: jerome.benois@argia-engineering.fr
  Subject: Re: LOG:  statistics buffer is full
  In-Reply-To: <1150961045.4506.308.camel@localhost.localdomain>
  References: <1150961045.4506.308.camel@localhost.localdomain>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox