gps-tracking-nodejs
gps-tracking-nodejs copied to clipboard
Netstat Shows too many established connections
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.
you need to set timout, for read/write event, and close when no data received....