Need help to configure timeout value in haproxy.cfg

From: Mohamed Yusuf - IT <yusuf#mobile-worx.com>
Date: Tue, 11 Nov 2008 13:04:36 +0530


Hi Willy,

I have configured stable version 1.2.18. I am using HAProxy with Nginx for load balancing Ruby mongrels..

Everything was working fine . But there was an issue that the haproxy is getting stopped automatically while reaching the maximum timeout values mentioned below

Thanks & Regards

Mohamed Yusuf A.L.
Sr. System Administrator
Mobile-Worx Pvt Ltd.,
http://www.mobile-worx.com
ob : +(91) 94 8686 7286
Skype : visityusuf
"Move Forward with Positive Approach"
**

# this config needs haproxy-1.1.28 or haproxy-1.2.1

global

        log 127.0.0.1   local0
        log 127.0.0.1   local1 notice
        #log loghost    local0 info
        maxconn 4096
        chroot /usr/sbin/haproxy
        uid 99
        gid 99
        daemon
        #debug
        #quiet

defaults
        log     global
        mode    http
        option  httplog
        option  dontlognull
        retries 3
        redispatch
        maxconn 2000

* contimeout 5000
clitimeout 50000 srvtimeout 50000* listen rails_proxy 0.0.0.0:2811 # cookie SERVERID rewrite balance roundrobin

server mon01 127.0.0.1:4000 weight 1 minconn 1 maxconn 2 check inter 2s rise 2 fall 2
server mon02 127.0.0.1:4001 weight 1 minconn 1 maxconn 2 check inter 2s rise 2 fall 2
server mon03 127.0.0.1:4002 weight 1 minconn 1 maxconn 2 check inter 2s rise 2 fall 2
server mon04 127.0.0.1:4003 weight 1 minconn 1 maxconn 2 check inter 2s rise 2 fall 2
server mon05 127.0.0.1:4004 weight 1 minconn 1 maxconn 2 check inter 2s rise 2 fall 2 Received on 2008/11/11 08:34

This archive was generated by hypermail 2.2.0 : 2008/11/11 08:45 CET