Skip to content

test_subprocess can timeout on systems with excessive max file descriptors #134954

Closed
@itamaro

Description

@itamaro

Bug report

Bug description:

On some systems, os.sysconf("SC_OPEN_MAX") may return a very large value (i.e. 2**30), leading to the subprocess test timing out (or run forever).

CPython versions tested on:

CPython main branch, 3.14, 3.13, 3.12

Operating systems tested on:

Linux

Linked PRs

Metadata

Metadata

Assignees

No one assigned

    Labels

    testsTests in the Lib/test dirtopic-subprocessSubprocess issues.type-bugAn unexpected behavior, bug, or error

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions