SCM

[#1011125] Timeout while getting a connection from pool (2.0.11.91)

View Trackers | Support Requests | Download .csv | Monitor

Date:
2011-11-21 17:30
Priority:
3
State:
Open
Submitted by:
Kirill Lutarevich (lkirill)
Assigned to:
Nobody (None)
Category:
Group:
Resolution:
None
 
Summary:
Timeout while getting a connection from pool (2.0.11.91)

Detailed description
I'm getting intermittent errors while using 2.0.11.91 driver (see below).

System.Exception: Timeout while getting a connection from pool.
at Npgsql.NpgsqlConnection.Open()
at Npgsql.NpgsqlConnectorPool.RequestPooledConnector(NpgsqlConnection Connection)

Our app used to work with MS SQL database (we just recently switched to PostgreSQL) and we never had any errors related to the use of connection pool.
The app is making lots of requests to the server and it opens and closes the connections for each database call. I have a suspicion that the driver internally have an exclusive lock for each pooled connection and when one thread doesn't release it within the connection timeout period of another thread the driver returns that error. Please, advise.

Followup

No Followups Have Been Posted

Attached Files:

Changes:

No Changes Have Been Made to This Item

Powered By FusionForge