allinurl / gwsocket

fast, standalone, language-agnostic WebSocket server RFC6455 compliant
http://gwsocket.io
MIT License
745 stars 67 forks source link

Sockets are not closing #15

Closed tian2992 closed 1 year ago

tian2992 commented 5 years ago

https://imgur.com/a/F0caWIT Running as

app@server:~$ ~/bin/gwsocket -p 6547 --access-log=~/aclogz --ssl-key=~/sslz/privkey1.pem --ssl-cert=~/sslz/fullchain1.pem --pipeout=~/timelogs/sock
allinurl commented 5 years ago

Thanks for reporting this. Which version of gwsocket are you running? Also, could you please run:

watch -n1 'netstat -np | grep -i gwsocket'

and check if they are being closed with and without --ssl*. Thanks.

tian2992 commented 5 years ago

Running 0.3 built from source 4f4dc79175b2dfc1654fff7d5a523bcdf75dfd8e .

there are a bunch of open sockets. Cannot try without ssl as it is moderately sensitive data being sent.

allinurl commented 1 year ago

v0.4 is out. Multiple changes were added upstream that may have addressed this issue.

Closing this for now, feel free to reopen it as needed. Thank you!