-
Notifications
You must be signed in to change notification settings - Fork 1.2k
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
Crash at system time change back #281
Comments
This makes sure system time changes (e.g. via ntp) doesn't result in odd assertion failures due to processes entering the running state before being started. Supervisor#281 https://bugs.activestate.com/show_bug.cgi?id=104508 https://activestate.atlassian.net/browse/STO-859
This makes sure system time changes (e.g. via ntp) doesn't result in odd assertion failures due to processes entering the running state before being started. Supervisor#281 Supervisor#468 https://bugs.activestate.com/show_bug.cgi?id=104508 https://activestate.atlassian.net/browse/STO-859
Just adding a me-too here. We ran into this problem when running supervisord within a vmware instance which had an option set which would sync the guest's time with the host's. This would cause problems when the host was under load or the time ^jumped back^ due to ntp. If we then would kill one of the processes in the guest running under the supervisor instance on the guest, supervisor would die and orphan all the rest of the processes. I can confirm that this patch appears to stop supervisor from crashing. |
Fixes Supervisor#281 Fixes Supervisor#458 Fixes Supervisor#533 Fixes Supervisor#552 Fixes Supervisor#618 (cherry picked from commit fe4edfd)
Refs Supervisor#281 Refs Supervisor#458 Refs Supervisor#533 Refs Supervisor#552 Refs Supervisor#618 (cherry picked from commit 1c2ea90)
There's a reproduce path to make supervisord crash:
Checked the code and see that our process state calculation depends a lot on system time. System time change may cause assertion.
The text was updated successfully, but these errors were encountered: