After updating haproxy from 1.6.11 we saw a number of errors with the 
termination state “SD “  that is flooding our logs with errors. It seems to 
only occur on a random subset of requests.  Attached is a pcap of failed 
request. I was wondering the if anyone else was seeing this?  I’ve tried 
turning off gzip on the backend server but it seems to make no difference.

The request all appear to be functioning correctly but it is generating a large 
number of log messages. The flow is browser -> nginx -> haproxy -> nginx.


Jun 01 09:11:01 haproxy haproxy[10519]: haproxy  haproxy[10519]: 
127.0.0.1:24849 [01/Jun/2017:09:11:01.190] MAINSITE_HTTP_MASTER 
phpmaster_80/webphpmaster01 0/0/0/790/790 200 19
22 - - SD-- 3/1/1/0/0 0/0 {CuQGKFkwEmU5eRCEAwZoAg==} "GET /favicon.ico HTTP/1.0"
Jun 01 09:11:01 haproxy  haproxy[10519]: haproxy  haproxy[10519]: 
127.0.0.1:26932 [01/Jun/2017:09:11:01.190] MAINSITE_HTTP php_80/MASTER 
0/0/0/791/791 200 1922 - - SDVN 2/1/1/1/0 0/0 {CuQG
KFkwEmU5eRCEAwZoAg==} "GET /favicon.ico HTTP/1.0"

Configuration
global
    log 127.0.0.1 local0
    tune.bufsize 49152
    maxconn 3072
    spread-checks 2
    pidfile /var/run/haproxy.pid
    user www
    group www
    daemon

defaults
    log global
    option httplog
    retries 3
    mode http
    option httpclose
    option dontlognull
    option dontlog-normal
    option redispatch
    timeout connect 30m
    timeout client 30m
    timeout server 30m
    default-server inter 10s

backend phpmaster_80
    balance leastconn



backend php_80
    cookie server rewrite
    balance leastconn


frontend MAINSITE_HTTP
    bind 127.0.0.2:80
    http-request del-header Proxy
    default_backend php_80
    capture request header x-txid len 24


frontend MAINSITE_HTTP_MASTER
    bind 127.0.1.3:80
    http-request del-header Proxy
    default_backend phpmaster_80
    capture request header x-txid len 24

Thanks!.



Attachment: haproxy1.7.5 error.pcap
Description: haproxy1.7.5 error.pcap

Reply via email to