Skip to content

pool at capacity error #37

@jjg-123

Description

@jjg-123

(See also https://jira.ncsa.illinois.edu/browse/CIL-1928)

This occurs because the pooling code is used for anything that has connections to manage, such as databases or http clients. The issue is that the counter for in use is not being correctly updated in certain failure modes. So the situation is that something starts failing (e.g. a service is down). The system them discards the connection, creates another and tries.

The problem is that depending on the failure type, the counter for connection in use was not being decremented, hence eventually there would be a "pool at capacity" error. What should happen is that the counter is decremented correctly and some logging about which component is failing should be done.

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