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

FS#516 - procd doesn't wait for a process to quit during restart #5566

Closed
openwrt-bot opened this issue Feb 15, 2017 · 1 comment
Closed
Labels

Comments

@openwrt-bot
Copy link

stintel:

Some software takes some time to do a clean shutdown, but procd doesn't wait for a process to quit during restart. This can cause several problems, one of them being the new process unable to bind to the socket because the old process still has it open.

Wed Feb 15 01:41:52 2017 daemon.info domoticz: Domoticz is exiting... Wed Feb 15 01:41:52 2017 daemon.notice domoticz: Closing application!... Wed Feb 15 01:41:52 2017 daemon.notice domoticz: Stopping worker... Wed Feb 15 01:41:52 2017 daemon.notice domoticz: RxQueue: queue worker stopped... Wed Feb 15 01:41:52 2017 daemon.notice domoticz: WebServer(HTTP) stopped Wed Feb 15 01:41:52 2017 daemon.info domoticz: Domoticz is starting up.... Wed Feb 15 01:41:52 2017 daemon.info domoticz: Domoticz running... Wed Feb 15 01:41:52 2017 daemon.notice domoticz: EventSystem: reset all events... Wed Feb 15 01:41:52 2017 daemon.notice domoticz: WebServer(HTTP) started on address: :: with port 8080 Wed Feb 15 01:41:52 2017 daemon.notice domoticz: Proxymanager started. Wed Feb 15 01:41:52 2017 daemon.err domoticz: Error: Exception starting shared server: bind: Address in use

It seems procd simply does not support this basic feature, so this should be implemented and I'd say this should even be default behavior.

@openwrt-bot
Copy link
Author

dedeckeh:

Patch https://patchwork.ozlabs.org/patch/726020/ tackles this issue

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant