node-js memo (for self)

memo

que

NodeJS Socket.io : Many connections in state CLOSE_WAIT and FIN_WAIT2 without release
https://stackoverflow.com/questions/20777827/nodejs-socket-io-many-connections-in-state-close-wait-and-fin-wait2-without-re

ans

Also, it appears that calling socket.destroy() from worker processes on Node.js v4.9.5 also leads to sockets stuck in CLOSE_WAIT state. Updating to Node.js v6.9.5 LTS fixed this for me.

memo

links