The timeouts are rather big but the initial 400/600 have proved to be too short to cause 504 on most file uploads to the farm.
Created
October 3, 2012 06:47
-
-
Save argent-smith/3825447 to your computer and use it in GitHub Desktop.
Haproxy timeouts for stable communication with nginx/unicorn backend
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
backend nginx_backend | |
#timeout connect 400 | |
timeout connect 6000 | |
#timeout server 600 | |
timeout server 6000 | |
server server1 10.0.0.1:8080 maxconn 2000 check |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment