Skip to content

Use of select.select() in threading handler is a problem #266

@fried

Description

@fried

I ran into a situation where an application (with a ton of open FDs) was calling my application in a popen and did not use close_fd. So the single fd passed into select.select in connection.py had a int value that was too large and select.select throws a ValueError.

Using some other poller may be wise.

Take a look at asyncio.selectors.DefaultSelector for a really nice solution to different poller support on different OS's

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