Hi everyone,

It's happens on my FreeBSD9.1 stable.
And the HAProxy detail.

root@Ha-L1-n1:/usr/local/etc # haproxy -vv
HA-Proxy version 1.5-dev19 2013/06/17
Copyright 2000-2013 Willy Tarreau <w...@1wt.eu>

Build options :
  TARGET  = freebsd
  CPU     = generic
  CC      = cc
  CFLAGS  = -O2 -pipe -fno-strict-aliasing -DFREEBSD_PORTS
  OPTIONS = USE_GETADDRINFO=1 USE_ZLIB=1 USE_OPENSSL=1 USE_PCRE=1

Default settings :
  maxconn = 2000, bufsize = 16384, maxrewrite = 8192, maxpollevents = 200

Encrypted password support via crypt(3): yes
Built with zlib version : 1.2.7
Compression algorithms supported : identity, deflate, gzip
Built with OpenSSL version : OpenSSL 0.9.8y 5 Feb 2013
Running on OpenSSL version : OpenSSL 0.9.8y 5 Feb 2013
OpenSSL library supports TLS extensions : yes
OpenSSL library supports SNI : yes
OpenSSL library supports prefer-server-ciphers : yes
Built with PCRE version : 8.33 2013-05-28
PCRE library supports JIT : no (USE_PCRE_JIT not set)
Built with transparent proxy support using: IP_BINDANY IPV6_BINDANY

Available polling systems :
     kqueue : pref=300,  test result OK
       poll : pref=200,  test result OK
     select : pref=150,  test result OK
Total: 3 (3 usable), will use kqueue.


The HAProxy configure
###############
global
        pidfile /var/run/ha-l1-n1.pid
        maxconn 200000
        maxpipes 50000
        daemon
        stats socket /tmp/ha-l1-n1.sock
        nbproc 2
        spread-checks 5
        tune.rcvbuf.client 16384
        tune.rcvbuf.server 16384
        tune.sndbuf.client 32768
        tune.sndbuf.server 16384
        node frontendL1
#       debug

defaults
 #TCP SECTION
        maxconn 200000
        backlog 32768
        timeout connect 5s
        timeout client 60s
        timeout server 60s
        timeout queue 60s
        timeout check 10s
        timeout http-request 15s
        timeout http-keep-alive 1s
        timeout tunnel 3600s
        option tcpka
#       option tcp-smart-accept
#        option nolinger


 #HTTP SECTION
        hash-type consistent
        option accept-invalid-http-request
        option accept-invalid-http-response
        option redispatch
#        option http-server-close
#        option http-pretend-keepalive
#        option http-no-delay
        option forceclose
        retries 2
        option httplog
        no option checkcache



 #SYSTEM SECTION
        option dontlog-normal
        option dontlognull
        option log-separate-errors
#        cookie SERVERID
        

######### frontend ##############
frontend tcp-in
        bind :2222 
        mode tcp
        log global
        option tcplog

        #distingush HTTP and non-HTTP
        tcp-request inspect-delay 10s
        tcp-request content accept if HTTP


        #ACTION 
        use_backend NginxCluster if HTTP
        default_backend Direct


backend NginxCluster
        mode http
        option abortonclose
        option forwardfor header X-Client
        balance uri whole
        log global
        source 0.0.0.0
        option httpchk GET /check.txt HTTP/1.1\r\nHost:\ 192.168.172.30
        server Jail-L2-nx1-n1 192.168.172.26:2222   weight 20 check inter 5s 
maxconn 10000
        server Jail-L2-nx2-n1 192.168.172.25:2222   weight 20 check inter 5s 
maxconn 10000
        server XEN-L2-xn1-n2  192.168.172.15:2222   weight 20 check inter 5s 
maxconn 10000
        server XEN-L2-xn2-n2  192.168.172.16:2222   weight 20 check inter 5s 
maxconn 10000


backend Direct
        mode tcp
        log global
        option tcplog
        no option httpclose
        no option http-server-close
        no option accept-invalid-http-response
        no option http-pretend-keepalive
        option transparent      
        option abortonclose     


I use IPFW to fwd my traffic to HA.

 fwd 192.168.20.20,2222 tcp from any to any via vlan64 in


And I have a core dump file here but it's too large to upload (about 63MB).



Regards
Jinge



Reply via email to