Skip to content

Perf-Test: Database begin transaction failed: pq: too many clients already #380

@dechdev

Description

@dechdev

During a performance test of broadcasts at 50 tx/sec, the following two database errors were encountered ~4.5 hours into the test:

  • ERROR SQL query failed: pq: sorry, too many clients already
  • FF10114: Database begin transaction failed: pq: sorry, too many clients already

This causes the POST /messages/broadcast requests to not be handled at full capacity and returning 500 status codes

bcast

broadcastErrors.log.zip

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