Skip to content

Cluster round-robin scheduler loses request #3551

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

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions