Very long time to commit or close connections - Mailing list pgsql-general

From Chris Smith
Subject Very long time to commit or close connections
Date
Msg-id 04ff01c3de20$9bc5b110$6f00000a@KYA
Whole thread Raw
Responses Re: Very long time to commit or close connections
Re: Very long time to commit or close connections
List pgsql-general
Hi everyone,

I'm running into a rather serious problem in a production application using
PostgreSQL.

We've got about a connection every 4 seconds being created to the database.
Most of the time, this causes no problems at all.  Occasionally, though, with
no apparent reason, the database will act up for some time (as little as 10
minutes, or as long as 45 minutes).  During that time, it accepts connections
and runs queries and statements with no problems, but hangs when closing the
connections.  After the time period expires, the database will wake up and all
connections that have been waiting will simultaneously return from the JDBC
Connection.close() method.

Unfortunately, the problem is only occurring at a remote customer site to
which we have limited access, and sometimes requires multiple days of running
time to reproduce.  As a result, it's hard to see what's happening at the
instant this happens.  I'm trying to gather more information, but don't have
it right now.

So right now, my question is this: does this sound familiar to anyone, and
what information would you look for in troubleshooting this?

--
www.designacourse.com
The Easiest Way to Train Anyone... Anywhere.

Chris Smith - Lead Software Developer/Technical Trainer
MindIQ Corporation


pgsql-general by date:

Previous
From: Jeff Bowden
Date:
Subject: Re: serverless postgresql
Next
From: Karsten Hilbert
Date:
Subject: Re: Introduced PostgreSQL for Windows