Skip to content

PoolManager Should be Closed on ApiClient Close #38

@jpulec

Description

@jpulec

urllib3.PoolManager will keep sockets open if .clear() is not called on it. This can lead to running out of file descriptors. This can happen if you have a long running process that invokes a lot of threads, as it will never close any sockets, and eventually you'll run out of file descriptors.

See this github issue: urllib3/urllib3#1538

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions