ConceptsSelf-healing
If an app hangs
After a deploy, the proxy tests only that an instance accepts TCP connections.
After a deploy, the proxy tests one thing: the instance accepts TCP connections.
1 / 3
Ferry uses the path of the health check (--health) only while a deploy starts new instances. After that, the proxy tests only the TCP connection.
An app that hangs with an open port keeps its traffic. Ferry does not see the problem.
What to do
Make your app exit when it cannot serve. Docker then restarts the container, as for each crash.
To see the restarts of each instance, use this command:
ferry status apiSee Health checks and When a container crashes.