pg.ddx.io  pgsql-performance@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Adrian Moisey <adrian@careerjunction.co.za>
To: pgsql-performance@postgresql.org
Subject: strange pauses
Date: Wed, 16 Jan 2008 12:42:11 +0200
Message-ID: <478DDF83.8070106@careerjunction.co.za> (raw)

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.

Sorry for the bad description, can anybody help?  Where do I start looking?

-- 
Adrian Moisey
System Administrator | CareerJunction | Your Future Starts Here.
Web: www.careerjunction.co.za | Email: adrian@careerjunction.co.za
Phone: +27 21 686 6820 | Mobile: +27 82 858 7830 | Fax: +27 21 686 6842



view thread (14+ messages)  latest in thread

Message-ID: <478DDF83.8070106@careerjunction.co.za>
Permalink:  ../478DDF83.8070106@careerjunction.co.za/
Also on:    postgresql.org/message-id/478DDF83.8070106@careerjunction.co.za

 · 

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 using the --to and --cc options:
  reply via email

  To: pgsql-performance@postgresql.org
  Cc: adrian@careerjunction.co.za
  Subject: Re: strange pauses
  In-Reply-To: <478DDF83.8070106@careerjunction.co.za>

* 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