gps-tracking-nodejs icon indicating copy to clipboard operation
gps-tracking-nodejs copied to clipboard

Netstat Shows too many established connections

Open jAddict7 opened this issue 6 years ago • 1 comments

Socket not getting closed. Its getting increased as time passes. Around 200 devices are sending data to the server. But after restarting within 24-32 hours netstat -atn | wc -l shows around 60000 established connections. When connections go beyond 70K, then server getting crashed any time. Whether timeout scenario or anything helps in this scenario. Please guide.

jAddict7 avatar Dec 29 '19 04:12 jAddict7

you need to set timout, for read/write event, and close when no data received....

azzahrah avatar Dec 06 '20 03:12 azzahrah