Received: from localhost (unknown [200.46.204.187]) by postgresql.org (Postfix) with ESMTP id A576D2E2368 for ; Wed, 16 Jan 2008 06:42:20 -0400 (AST) Received: from postgresql.org ([200.46.204.71]) by localhost (mx1.hub.org [200.46.204.187]) (amavisd-maia, port 10024) with ESMTP id 98183-05 for ; Wed, 16 Jan 2008 06:42:09 -0400 (AST) Received: from cptwks26.careerjunction.local (unknown [196.212.105.173]) by postgresql.org (Postfix) with ESMTP id 83C762E3576 for ; Wed, 16 Jan 2008 06:42:09 -0400 (AST) Received: from [127.0.0.1] (localhost [127.0.0.1]) by cptwks26.careerjunction.local (Postfix) with ESMTP id 1D3C8B7A4A for ; Wed, 16 Jan 2008 12:42:12 +0200 (SAST) Message-ID: <478DDF83.8070106@careerjunction.co.za> Date: Wed, 16 Jan 2008 12:42:11 +0200 From: Adrian Moisey User-Agent: Thunderbird 2.0.0.6 (X11/20071022) MIME-Version: 1.0 To: pgsql-performance@postgresql.org Subject: strange pauses Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Virus-Scanned: Maia Mailguard 1.0.1 X-Archive-Number: 200801/131 X-Sequence-Number: 28370 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