Skip to content
This repository was archived by the owner on May 4, 2018. It is now read-only.
This repository was archived by the owner on May 4, 2018. It is now read-only.

threadpool - lockups #1181

@indutny

Description

@indutny

I have serious concerns about our threadpool thingy. It seems to be quite easy to make it hang, just get some fds of blocking devices or FIFOs and issue uv_fs_write or uv_fs_open until all threads will be blocked.

I wonder if we could somehow watch their state and interrupt them with signals or something like that if they are not responding and causing stalls, after such interrupts they could be queued and moved to be run in one thread, making other worker threads non-blocking (at least).

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