I did a 'netstat -na’ I have a lot of this ... tcp 0 0 85.222.94.102:8080 82.235.167.251:39853 VERBUNDEN tcp 0 0 85.222.94.102:8080 63.235.83.197:54544 VERBUNDEN tcp 0 0 85.222.94.102:8080 66.77.124.166:1138 VERBUNDEN tcp 0 0 85.222.94.102:8080 71.238.83.197:54441 VERBUNDEN tcp 0 0 85.222.94.102:8080 55.16.224.251:57015 VERBUNDEN tcp 0 0 85.222.94.102:8080 63.238.83.194:54398 VERBUNDEN tcp 0 0 85.222.94.102:8080 82.3.230.222:64944 VERBUNDEN ... VERBUNDEN means 'connected'
and a lot of this ... tcp6 0 0 85.222.94.102:80 93.0.129.72:54926 TIME_WAIT tcp6 0 0 85.222.94.102:80 55.88.48.11:52137 TIME_WAIT tcp6 0 0 85.222.94.102:80 96.0.132.72:54959 TIME_WAIT tcp6 0 0 85.222.94.102:80 82.4.231.233:56815 TIME_WAIT tcp6 0 0 85.222.94.102:80 82.4.231.233:56810 TIME_WAIT tcp6 0 0 85.222.94.102:80 82.4.231.233:56829 VERBUNDEN tcp6 0 0 85.222.94.102:80 112.57.267.29:50781 TIME_WAIT ... and also a lot of this ... unix 3 [ ] STREAM VERBUNDEN 3177882023 unix 3 [ ] STREAM VERBUNDEN 3179982022 unix 3 [ ] STREAM VERBUNDEN 3179785519 unix 3 [ ] STREAM VERBUNDEN 3179747018 ... Hope this helps Am Donnerstag, 19. März 2015 16:11:12 UTC+1 schrieb // ravi: > > On Mar 19, 2015, at 6:10 AM, Spab Rice <[email protected] <javascript:>> > wrote: > > > > Yes I'm using socket.io. I will have a look on this, but I think the > sockets should close automatically if client leave the app, doesn't it? > > Yes the service has many clients and it's growing. > > At the moment the app can run 5-6 days without problems, and then once > the TCP sockets are exhausted the whole server crashes. > > > At one of these points where the app has been running for say 3 or 4 days, > can you run ‘netstat -na’ and share the output? Please reduce the output of > the command to only those ports that are relevant for your app (you can do > that by using netstat options, or using -p and grep'ing for your process > PID, or by the port). You may also wish to mask IP addresses if you have > privacy/security concerns. > > —ravi > > -- Job board: http://jobs.nodejs.org/ New group rules: https://gist.github.com/othiym23/9886289#file-moderation-policy-md Old group rules: https://github.com/joyent/node/wiki/Mailing-List-Posting-Guidelines --- You received this message because you are subscribed to the Google Groups "nodejs" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To post to this group, send email to [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/nodejs/0b80e312-b3d8-4b1c-b81d-7c33054129d7%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.
