epgsql icon indicating copy to clipboard operation
epgsql copied to clipboard

Timeout in state 'timeout'

Open hairyhum opened this issue 10 years ago • 1 comments

Sometimes, when database is slow and number of requests is big psql_connection is crushing because of message 'timeout' got in state 'timeout'. Is it a valid behaviour? I am using poolboy to store connections in gen_server and pgaql timeout is lesser than gen_servers timeout.

hairyhum avatar Apr 04 '14 12:04 hairyhum

If you are using poolboy before 1.5.1 there is a bug which always times out when the pool is already fully used, you should look there first.

AeroNotix avatar Jun 01 '15 17:06 AeroNotix