Skip site navigation (1) Skip section navigation (2)

strange pauses

From: Adrian Moisey <adrian(at)careerjunction(dot)co(dot)za>
To: pgsql-performance(at)postgresql(dot)org
Subject: strange pauses
Date: 2008-01-16 10:42:11
Message-ID: (view raw, whole thread or download thread mbox)
Lists: pgsql-performance

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: | Email: adrian(at)careerjunction(dot)co(dot)za
Phone: +27 21 686 6820 | Mobile: +27 82 858 7830 | Fax: +27 21 686 6842


pgsql-performance by date

Next:From: Richard HuxtonDate: 2008-01-16 10:50:23
Subject: Re: strange pauses
Previous:From: Jakub OuhrabkaDate: 2008-01-15 17:06:33
Subject: Re: Linux/PostgreSQL scalability issue - problem with 8 cores

Privacy Policy | About PostgreSQL
Copyright © 1996-2017 The PostgreSQL Global Development Group