But the behavior is hard to trace, I have tried valgrind, strace and
gdb, it will not fail while running these debuggers, I get this
messages:
WebController: timeout: expiring
WebController: shutdown: stopping sessions.
WServer/wthttp: Shutdown: stopping web server.

But nothing before that would indicate a problem.

I am using haproxy 1.5, but had the same problem with 1.4
Has anyone else seen something like this?

Thanks for any help.

global
    log 127.0.0.1 local0 
    log 127.0.0.1 local1 notice
    maxconn 4096
    user haproxy
    group haproxy
    daemon
    # pidfile /var/run/haproxy.pid
    # stats socket /var/run/haproxy.stat mode 600
    # stats socket /tmp/haproxy

defaults
    log     global
    mode    http
    option  httplog
    option  dontlognull
    retries 3
    option  redispatch
    maxconn    1000
    #contimeout 5000 # haproxy 1.4
    timeout connect 5000
    #clitimeout 50000 # haproxy 1.4
    timeout client 50000
    #srvtimeout 50000 # haproxy 1.4
    timeout server 50000
    #option httpclose
    #option  http-server-close # HTTP keepalive without killing Apache
    #option  http-pretend-keepalive
    #option  forwardfor
    #option  originalto

frontend wt
    #bind 108.59.251.28:80
    bind 216.224.185.71:80
    # bind 0.0.0.0:80
    # option http-server-close  # HTTP keepalive without killing Apache
    # Set inside Witty Wizard main.cpp
    # This seems to work fine for redirect root to ww aka wt
    #acl has_ww_uri path_beg -i /ww
    #reqirep ^([^\ :]*)\ /(.*) \1\ /ww/\2 if !has_ww_uri
    redirect prefix http://wittywizard.org code 301     if { hdr(host)
-i www.wittywizard.org }
    # Note: see wthttpd.sh session-id-prefix
    acl srv1 url_sub wtd=wt-8060
    acl srv1_up nbsrv(bck1) gt 0
    use_backend bck1 if srv1_up srv1 
    # Second Thread
    # Note: see wthttpd.sh session-id-prefix
    # acl srv2  url_sub wtd=wt-8061
    # acl srv2_up nbsrv(bck2) gt 0
    # use_backend bck2 if srv2_up srv2 has_ww_uri
    #
    default_backend bck_lb
    #
backend bck_lb
    balance roundrobin
    server srv1 216.224.185.71:8060 track bck1/srv1
    # server srv2 108.59.251.28:8061 track bck2/srv2

backend bck1
    balance roundrobin
    server srv1 216.224.185.71:8060 check
    # server srv2 108.59.251.28:8060 check


------------------------------------------------------------------------------
Open source business process management suite built on Java and Eclipse
Turn processes into business applications with Bonita BPM Community Edition
Quickly connect people, data, and systems into organized workflows
Winner of BOSSIE, CODIE, OW2 and Gartner awards
http://p.sf.net/sfu/Bonitasoft
_______________________________________________
witty-interest mailing list
witty-interest@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/witty-interest

Reply via email to