-
Notifications
You must be signed in to change notification settings - Fork 61
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Connections hang if the database limit max_size is overtaken #471
Comments
With regard to the replica status of connections, the initial connections are reported as primary (database limit
then they switch back to primary, hence this is not the problem. |
Checking the status of the connections on the PostgreSQL side I've:
Then, I quit
it ran for 4 minutes instead of 60 seconds.
pgbench=# select datname, count(*) from pg_stat_activity group by datname; pgbench=# show max_connections ;
|
I've noted also another behaviour that I'm not sure is neither regular nor related to this issue: if I kill the
but
|
While inspecting #456 I found this behavior that applies also to master branch 40acff6:
so the system is allowing 15 max connections and 12 are possible at max against the
pgbench
database.Every run with a number of client less than 12 (pgbench max connections) works:
then when the number of clients is greater than max connections for the database, the system seems to hang the connections and the running never ends:
in the meantime, observing the status reports the connections to be in replica mode:
The text was updated successfully, but these errors were encountered: