Skip to content

Cluster round-robin scheduler loses requestΒ #3551

@alexeyten

Description

@alexeyten

Example code is here: https://gist.github.com/alexeyten/45fb4319e4158feb793a

I've tested this code with Node.js 4.2.1

This server just response with OK and restart workers after 200-300 completed requests. With default cluster scheduler (SCHED_RR) server eventually loses some requests and ab stops with timeout error. When I uncomment line 5 and use SCHED_NONE scheduler, then server works fine.

/cc @indutny

Metadata

Metadata

Assignees

No one assigned

    Labels

    clusterIssues and PRs related to the cluster subsystem.

    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