Re: strange pauses - Mailing list pgsql-performance

From Scott Marlowe
Subject Re: strange pauses
Date
Msg-id dcc563d10801160730u21b55aeaqe7eaa792451492cd@mail.gmail.com
Whole thread Raw
In response to strange pauses  (Adrian Moisey <adrian@careerjunction.co.za>)
List pgsql-performance
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?

pgsql-performance by date:

Previous
From: Tom Lane
Date:
Subject: Re: strange pauses
Next
From: Greg Smith
Date:
Subject: Re: strange pauses