B
B
beduin012018-02-26 17:14:23
Python
beduin01, 2018-02-26 17:14:23

Can SQLAlchemy cause PostgreSQL connection pool exhaustion?

The situation is simple. SQLAlchemy has executed several tens of thousands of SQL SELECT queries. Then I killed the app. The neighboring application unexpectedly dropped out swearing that the entire pool of slots for the PG was used up.
Could this be related? If yes, how?

Answer the question

In order to leave comments, you need to log in

1 answer(s)
D
Dimonchik, 2018-02-26
@dimonchik2013

try to repeat a strange question
, looking at some pg_stat_activity, and you yourself will understand,
not to mention "killed" - how is it, so that Alchemy did not have time to close the pool?

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question