Skip to content

[BUG-python/deployment] Server crashes when deployed with K8s and postgres (connection pooling issue) #5819

@Kop3sh

Description

@Kop3sh

Describe the bug

In this case Agilla server crashes even under minimal concurrent load and returns server errors (500 error codes)

It turns out the issue is related to postgres having PgBouncer connection pooling extension which has compatibility issues with SQLAlechemy's QueuePool class (default pooling class)

references

similar reports

Stacktrace and code to create the bug

No response

Expected behavior

No response

Environment

current deployment stack is using K8s and PostgreSQL + PgBouncer

Additional context

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    status: staleIndicates that there is no activity on an issue or pull request

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions