Skip to content

Concurrent thread count can exceed configured jobs #7127

@viluon

Description

@viluon

The thread pool starts out constant but can accumulate more threads over time. The concurrent usage of those threads seems to still respect the --jobs parameter, which suggests that some of the spawned threads may be dying.

Image

In the ticker log, this shows up as progressively more and more lines tracking the busy jobs.

FWIW, it mostly seems to occur with parallel test execution, when there are test tasks waiting for their futures to finish, even though there are no futures remaining.

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