-
Notifications
You must be signed in to change notification settings - Fork 1.2k
supervisorctl start <process> hangs when system clock is set to an earlier time #802
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
Comments
|
What's the rest of the What version of Supervisor are you using? |
Sorry, I should have been more clear.
where I just did a git clone and tested with the latest code. I also have seen the same issue with 3.2.3 and 3.3.0. |
Reproduced on Supervisor 3.3.0. Minimal
Set date to one day in the future, then start
Set date back to normal, then run
|
Fixed in Supervisor 3.3.1. Thanks for the report! |
To reproduce:
1)Set your machine's time to the future.
2)start supervisord
3)set your machine's time to the correct time.
4)supervisorctl stop
5)supervisorctl start
issuing 5) will hang until shortly after the time the system thought it was when supervisord was started.
It looks like the process is started immediately, but supervisorctl is blocked on the http response.
this:
seems to fix it for me, but I'm not familiar enough with the code to be confident this is the right thing to do.
In older version's of supervisor, when stopProcess() had a non-zero delay time, supervisorctl stop would also hang.
The text was updated successfully, but these errors were encountered: