Skip to content

Nested WorkerPool led to Error: runtime/cgo: pthread_create failed: Resource temporarily unavailable  #105

@tle4336

Description

@tle4336

Hi Mr. Jansen @sybrenjansen, another issue that I encountered when using nested WorkerPool is runtime/cgo: pthread_create failed: Resource temporarily unavailable. I am not sure if this package mpire has some functionality/trick to prevent this from happening, particularly within the Unix-based Docker container? The total number of WorkerPool that I set for the outer and inner pool was 25 and 22, which fits with the number of cores in the environment (47 cores)? Or should I set it with 13 cores for outer pool and 3 cores for inner pool, given the outer pool handles a much more heavy job.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions