Re: Request closed abruptly

From: Benoit <max.maverick#maverick.eu.org>
Date: Fri, 14 Nov 2008 19:07:54 +0100


Florian Iragne a écrit :
> Benoit a écrit :

>> Any idea ??
>>

> You should attach your haproxy configuration.
>
> I think i've had such a strange behaviour with options abortonclose or
> forceclose
>
> Florian

#
global

   log 127.0.0.1 local4
  maxconn 32000
  ulimit-n 65536
  nbproc 1

# securite:
  uid nobody
  gid nogroup
# chroot /var/tmp/chroot

defaults applications HTTP

   mode http

   option forwardfor
   option httpclose
   option redispatch

   balance roundrobin # Load balancing policy

   maxconn 10000 # Maximum concurrent sessions

   clitimeout  60s      # socket client, inactive max 60s
   srvtimeout  30s      # socket server, inactive max 30s
   contimeout  30s      # cnx server, max 4s

   #grace 10000 # attente 10s avant l'arret effectif    retries 3

listen stats :8081

   mode http
   stats uri /

# services
frontend phx_lb 0.0.0.0:80

   mode http
# option nolinger

   log global
   option httplog
   option dontlognull

   acl   wstats  url_sub	wstats
   acl   urlBO	hdr_sub(host) back-office.domain.net

   acl	dynamic	url_sub	.cfm
   acl	dynamic	url_sub	cgi-bin
   acl	dynamic	url_end	/

   use_backend   old		if	wstats
   use_backend	static		unless	dynamic

   default_backend       front-offices

   reqidel ^X-Forwarded-For:

   option forwardfor except 127.0.0.1/8

backend front-offices

   mode http
   balance header Host use_domain_only
   cookie PSRVTRACK insert nocache

   errorfile 500 /etc/haproxy/my-errors/500.http
   errorfile 502 /etc/haproxy/my-errors/502.http
   errorfile 503 /etc/haproxy/my-errors/503.http
   errorfile 504 /etc/haproxy/my-errors/504.http

   server web5 10.2.2.5:80 cookie ID05 check inter 10000 maxconn 200    server web6 10.2.2.6:80 cookie ID06 check inter 10000 maxconn 200     ....

backend static

   mode http
   option httpchk

   balance leastconn

   server  web30  10.2.2.30:80  check inter 10000 maxconn 750
   server  web31  10.2.2.31:80  check inter 10000 maxconn 750
   server  web32  10.2.2.32:80  check inter 10000 maxconn 750

defaults

# old server, for some creepy thing still running backend old

   mode http
   dispatch 10.2.2.2:80 Received on 2008/11/14 19:07

This archive was generated by hypermail 2.2.0 : 2008/11/14 19:15 CET