Re: HAProxy stops working all of a sudden

2012-08-10 Thread Rahul Nair
By default net.ipv4.conf.eth0.rp_filter is 1 which means IP spoofing protection is enabled (source route verification is turned on) As far as I understand, TPROXY spoofs outgoing connections using the client's IP address. But since all the IPs are configured on same physical adapter, not sure if

Re: HAProxy stops working all of a sudden

2012-08-10 Thread Rahul Nair
Willy, Following are the information I could gather: As per this link we need to add following sysctl parameters. #Reverse Path Filtering: Basically, if the reply to a packet wouldn't go out the interface this packet came in, then this

what are difference between stream_int_shutr/w and stream_sock_shutr/w

2012-08-10 Thread Mark Green
Hi, I'm confused why there are two pairs shutdonw functions? stream_int_shutr / stream_int_shutw and stream_sock_shutr / stream_sock_shutw is this necessary? what are the difference between them? Thanks! Mark

Re: HAProxy stops working all of a sudden

2012-08-10 Thread Rahul Nair
Just FYI... Following are the config parameters that I use: global log 127.0.0.1 local0 info ulimit-n 80038 chroot /var/lib/haproxy daemon defaults log global mode http option dontlognull retries 3 option redispatch maxconn 2000 timeout connect 5000 timeout client 30 timeout server 30 l