HAProxy is suddenly crashing on new Ubuntu (Digital Ocean, AWS - 14.04 and 
15.10) installs. I’ve had the same configuration working for over a year now. 
I’ve posted all the logs and details below. Is there a new bug, or should my 
configuration be changed to suit the new versions?

I am seeing this fail with 1.5.14, 1.5.15 - however, on older images, I am 
seeing this work with 1.5.14.

http://serverfault.com/questions/762407/haproxy-suddenly-crashing-on-new-ubuntu-images-same-config-works-elsewhere
 
<http://serverfault.com/questions/762407/haproxy-suddenly-crashing-on-new-ubuntu-images-same-config-works-elsewhere>

Here is my HAProxy config:

global
    daemon
    maxconn 256000
    user haproxy
    group haproxy
    stats socket /var/run/haproxy.sock mode 0600 level admin
    pidfile /var/run/haproxy.pid
    spread-checks 5

defaults
    maxconn 256000
    log global
    option redispatch
    option allbackups
    option abortonclose
    option http-server-close
    timeout connect  5000
    timeout client   5000
    timeout server   5000
    timeout queue    5000
    timeout check    5000
    retries 2

# Statistics
listen stats :1936
    mode http
    stats enable
    stats hide-version
    stats realm Haproxy\ Statistics
    stats uri /
    stats auth myuser:mypass

# Front-end HTTP Rules
frontend f_http
    bind *:80
    mode http
    default_backend b_http_us

# Frontend HTTPS Rules
frontend f_https
    bind *:443
    mode tcp
    default_backend b_https_us

backend b_http_us
    mode http
    option accept-invalid-http-response
    balance roundrobin
    server www.mywebsite.com www.mywebsite.com:80 maxconn 100000 check inter 2s 
fastinter 2s downinter 2s

backend b_https_us
    mode tcp
    balance roundrobin
    server www.mywebsite.com www.mywebsite.com:443 maxconn 100000 check inter 
2s fastinter 2s downinter 2s

Reply via email to