OpenWrt/LEDE Project

  • Status Closed
  • Percent Complete
    100%
  • Task Type Bug Report
  • Category Base system
  • Assigned To No-one
  • Operating System All
  • Severity Medium
  • Priority Medium
  • Reported Version Trunk
  • Due in Version Undecided
  • Due Date Undecided
  • Votes
  • Private
Attached to Project: OpenWrt/LEDE Project
Opened by Stijn Tintel - 15.02.2017
Last edited by Stijn Tintel - 22.02.2017

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

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.

Closed by  Stijn Tintel
22.02.2017 10:10
Reason for closing:  Implemented
Additional comments about closing:  

Fixed in LEDE master: https://git.lede-project.org/946d1 dfb

Project Manager
Hans Dedecker commented on 15.02.2017 08:09

Loading...

Available keyboard shortcuts

Tasklist

Task Details

Task Editing