Skip to content
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

Hitting ctrl+c produced a number of issues and inability to rerun server #2436

Closed
aliak00 opened this issue Apr 26, 2020 · 3 comments
Closed

Comments

@aliak00
Copy link

aliak00 commented Apr 26, 2020

Starting a vanilla vibe server goes fine until you press ctrl+c

Then I get:

Running ./services/api/bin/api 
[main(----) INF] Listening for requests on http://0.0.0.0:8080/
^C[main(----) INF] Received signal 2. Shutting down.

And I can't restart the server sometimes as the port is in use and the app is still running in the background. So I have to find the id with ps and run kill -9 id to be able to rerun the server sometimes

Sometimes this happens:

Warning (thread: main): leaking eventcore driver because there are still active handles
   FD 9 (streamListen)
   FD 10 (streamListen)
   FD 13 (streamSocket)
Warning (thread: main): leaking eventcore driver because there are still active handles
   FD 9 (streamListen)
   FD 10 (streamListen)
   FD 13 (streamSocket)

And then I can rerun the server.

Related to #2245

@Kozzi11
Copy link

Kozzi11 commented Apr 27, 2020

vibe-d/vibe-core#205

@aliak00
Copy link
Author

aliak00 commented Apr 27, 2020

Huh. Adding that version really does fix the issue 🤔

@Geod24
Copy link
Contributor

Geod24 commented Jun 23, 2021

The aforementioned issue has been fixed as of eventcore v0.9.11

@Geod24 Geod24 closed this as completed Jun 23, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants