-
Notifications
You must be signed in to change notification settings - Fork 8k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Socket file that gin listened are not removed when stopping gin process #3817
Comments
It creates the sock file but does not delete it after Ctrl + C or stop by supervisord. Maybe I should handle this situation manually? |
+1 |
I don't think you should have to, if the service is not running anymore, the socket should disappear imo. |
But it still there 😂 |
Description
When listen to unix socket, socket file are not removed when stopping gin process (use
Ctrl + C
). The next time it is executed, the process will report an error:[GIN-debug] [ERROR] listen unix /tmp/testgin.sock: bind: address already in use
How to reproduce
Environment
The text was updated successfully, but these errors were encountered: