Typos and typos
This commit is contained in:
parent
b0f8382bbe
commit
e9bbb589e5
|
@ -119,7 +119,7 @@ Restart=on-failure
|
|||
WantedBy=multi-user.target
|
||||
```
|
||||
|
||||
This is a really straightfoward unit with one deviation - `StartLimitInterval=15` is used to prevent the daemon from restarting immediately on failure. In my experience (probably a n00b error), Python doesn't properly clean up the socket immediately, leading to the daemon blowing through its ~5 restart attempts in under a second and failing every time. This interval gives some breathing room for the socket to free up. And luckily, HAProxy won't change the stage if the agent check becomes unreachable, so this should be safe.
|
||||
This is a really straightfoward unit with one deviation - `StartLimitInterval=15` is used to prevent the daemon from restarting immediately on failure. In my experience (probably a n00b error), Python doesn't properly clean up the socket immediately, leading to the daemon blowing through its ~5 restart attempts in under a second and failing every time with an "Address already in use" error. This interval gives some breathing room for the socket to free up. And luckily, HAProxy won't change the state if the agent check becomes unreachable, so this should be safe.
|
||||
|
||||
### Conclusion
|
||||
|
||||
|
|
Loading…
Reference in New Issue