You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
net.Server.listen's backlog option is no effect when use pm2 #1786
Activity
tangxinfa commentedon Nov 24, 2015
This problem looks like come from node.js 's cluster module, still don't know how to resolve it.
Unitech commentedon Nov 25, 2015
What is that backlog?
tangxinfa commentedon Nov 26, 2015
There is a two example, i set backlog to 64:
Without cluster:
ss -ltn | grep 3000 output:
With cluster
ss -ltn | grep 3000 output:
The backlog take effect is 511 not 64, this means node cluster module NOT take care of the backlog option when we call listen: server.listen(port[, hostname][, backlog][, callback])
tangxinfa commentedon Nov 28, 2015
Already pulled a request to node: cluster, net: backlog need pass to listen #4056
eladnava commentedon Nov 30, 2021
Another PR (more recent), which is also now unfortunately closed due to lack of activity: nodejs/node#33827
eladnava commentedon Feb 25, 2022
This is now fixed in PR nodejs/node#41623 and published in Node
17.6.0!