Hi Guys,
We have been using haproxy and have loved it and appreciate all the hard work
you have put into this great product.
I am new to the project and still trying to grasp it's complexities so forgive
me in advance for any ignorance.
We have been running haproxy infront of a web farm since January. HAProxy
1.4.24 on a Debian 7 server performing a round robin balance across 6 web
servers using IIS 7.5 and hosting a .NET application. All hosted in AWS.
Recently we have started to see a strange issue arise. Every once in a while a
browser request or a web service call will hang until our 10 minute client
timeout is hit and the request fails.
Using fiddler for testing once in a while I see a request initiate but never
make the connection to a back end server. The request hangs and eventually
fiddler reports a content length mismatch as our header declared a certain
amount of data but the client only received a fraction of it.
The issue is random but happens pretty consistently throughout the day.
This just started a few weeks ago and there were no changes on our HAProxy
config made since February.
Below find our configuration.
# Global config
global
log 127.0.0.1 local0
log 127.0.0.1 local1 notice
maxconn 100000
stats socket /var/run/haproxy.sock mode 0600 level admin
user haproxy
group haproxy
daemon
# Default config
defaults
log global
mode http
option httplog
option dontlognull
option redispatch
option forwardfor
option httpclose
option abortonclose
retries 1
timeout connect 5000
timeout client 50000
timeout server 50000
listen stats
#disabled
bind *:8888
stats enable
stats uri /haproxy?stats
stats realm Strictly\ Private
stats auth xxxx:xxxxxxxxxx
frontend unsecured *:80
timeout client 600000
default_backend web
backend web
timeout server 600000
balance roundrobin
server web1 xxx.xxx.xxx.xxx:80 check
server web2 xxx.xxx.xxx.xxx:80 check
server web3 xxx.xxx.xxx.xxx:80 check
server web4 xxx.xxx.xxx.xxx:80 check
server web5 xxx.xxx.xxx.xxx:80 check
server web6 xxx.xxx.xxx.xxx:80 check
Is there anything in our configuration that could cause this weird behavior?
Or anything I could add?
How about kernel settings in sysctl? What are the optimal settings to run a
haproxy server?
Any help you can give I would really appreciate it?
Please let me know if there is anything else I can provide.
John Dzialo | Linux System Administrator
Direct 203.783.8163 | Main 800.352.0050
Environmental Data Resources, Inc.
440 Wheelers Farms Road, Milford, CT 06461
www.edrnet.com<http://www.edrnet.com/> |
commonground.edrnet.com<http://commonground.edrnet.com/>
[Description: Description: Description: Description: Description:
EDR_logo4color_EDR_only_80px2]