Skip to content

the overflowed connections of postgres_keepalive are still alive all time  #61

Description

@fengzhimengna

Hi, i have some trouble recently.
In our project, i set the ngx_postgresql below:
upstream database { postgres_server 127.0.0.1 dbname=oms user=postgres password=password; postgres_keepalive max=10 mode=single overflow=ignore; }
but, when the number of connections is greater than the max value 10, the overflow connections are still alive all time, they may not disconnect automatically, why?

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions