From: Scott Marlowe <scott.marlowe@gmail.com>
To: Adrian Moisey <adrian@careerjunction.co.za>
Cc: pgsql-performance@postgresql.org
Subject: Re: strange pauses
Date: Wed, 16 Jan 2008 09:30:48 -0600
Message-ID: <dcc563d10801160730u21b55aeaqe7eaa792451492cd@mail.gmail.com> (raw)
In-Reply-To: <478DDF83.8070106@careerjunction.co.za>
References: <478DDF83.8070106@careerjunction.co.za>
On Jan 16, 2008 4:42 AM, Adrian Moisey <adrian@careerjunction.co.za> wrote:
> Hi
>
> I've noticed a strange pattern in our logs.
>
> We only log anything that takes longer then 5 seconds.
>
> If I tail the logs, I see a steady stream of functions that took longer
> then 5 seconds. But every now and then I see nothing for 3 minutes and
> after that a whole bunch (about 20 - 30) queries all finishing at the
> same second.
>
> During this 3 minutes of nothing being logged, the db is still active
> and I can access our website
>
> Looks to me like "something" is "locking" and causing requests to be
> delayed. Once this "lock" unlocks, everything goes through.
Hmmm. Are these queries actually all finishing at the same time or
just showing up in the logs at the same time. Just thinking there
might be some kind of issue going on with logging. Are you using
syslog or postgresql stderr logging?
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 using the --to and --cc options:
reply via email
To: pgsql-performance@postgresql.org
Cc: scott.marlowe@gmail.com, adrian@careerjunction.co.za
Subject: Re: strange pauses
In-Reply-To: <dcc563d10801160730u21b55aeaqe7eaa792451492cd@mail.gmail.com>
* 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