How to tell nginx to check dead backend in upstream adaptively?

Ryan Chan ryanchan404 at
Thu May 23 15:17:24 UTC 2013


Currently nginx will check every fail_timeout (default=10s) which is too
frequent when the backend server dead completely that require manually
replacement and it might take long time.

Definitely we can mark it as down in the config, but that is not an
automatic solution.

Is it possible to config nginx that it check adaptively?
e.g. start from 10s, then 20s, 40s, 60s etc?

Or are there any better approach?

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <>

More information about the nginx mailing list