This bug is affecting our application.

We configure upstart to respawn so that in production it will
automatically restart the application if it crashes.  We also use pre-
stop to request over http to ask the process to exit.  The pre-stop
procedure allows the process to finish serving current clients requests,
and other clean up duties before it exits.  However the combination of
these two options then cause the application to be restarted upon
running "stop <service>".  This seems like an unusual behavior to us.

So now we are faced with either abandoning upstart or put the respawn
logic somewhere else.

thanks

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/568288

Title:
  init: main process can respawn even when the job is stopping

To manage notifications about this bug go to:
https://bugs.launchpad.net/upstart/+bug/568288/+subscriptions

-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to