-
Notifications
You must be signed in to change notification settings - Fork 983
Description
calling disconnect doesn't close socket.io client connections.
steps:
1 - on server side, I calling following command to list how many open file by nodes (before client connection)
lsof -i -n -P | grep nodejs | wc -l
1
2 - connecting socket.io server from client
lsof -i -n -P | grep nodejs | wc -l
5
3 - Calling disconnect on client sdks
lsof -i -n -P | grep nodejs | wc -l
4
4 - Reconnect server
lsof -i -n -P | grep nodejs | wc -l
6
5 - Calling disconnect on client sdks
lsof -i -n -P | grep nodejs | wc -l
4
6 - Reconnect server
lsof -i -n -P | grep nodejs | wc -l
6
5 - Calling disconnect on client sdks
lsof -i -n -P | grep nodejs | wc -l
5
6 - Reconnect server
lsof -i -n -P | grep nodejs | wc -l
6
5 - Calling disconnect on client sdks
lsof -i -n -P | grep nodejs | wc -l
5
Iterating reconnect-disconnect again, I get 6 and 5 accordingly. Connections leave open till process is terminated manually.
Any idea ?