Commit 06cb8b8
committed
minor #13512 Avoid Supervisord to go in fatal error (orangevinz)
This PR was submitted for the 5.0 branch but it was merged into the 4.4 branch instead (closes #13512).
Discussion
----------
Avoid Supervisord to go in fatal error
`startsecs`: The total number of seconds which the program needs to stay running after a startup to consider the start successful (moving the process from the `STARTING` state to the `RUNNING` state).
Set to 0 to indicate that the program needn’t stay running for any particular amount of time.
Default : 1
It means that if you have for instance a `--limit=1` and your program has finished before 1 second, Supervisord will consider it failed.
After 3 times (cf `startretries` value), your process won't run anymore, considering that too many occured quickly.
Apparently it's a good pratice to set this value to `0`, specially with php.
Doc : http://supervisord.org/configuration.html?highlight=startsecs
<!--
If your pull request fixes a BUG, use the oldest maintained branch that contains
the bug (see https://symfony.com/roadmap for the list of maintained branches).
If your pull request documents a NEW FEATURE, use the same Symfony branch where
the feature was introduced (and `master` for features of unreleased versions).
-->
Commits
-------
f48788f Avoid Supervisord to go in fatal error1 file changed
+1
-0
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
619 | 619 | | |
620 | 620 | | |
621 | 621 | | |
| 622 | + | |
622 | 623 | | |
623 | 624 | | |
624 | 625 | | |
| |||
0 commit comments