Hi,
> I am using haproxy with Apache to keep alive an EC2 server. Sometimes
> haproxy stops taking new requests during this period we can't open our
> website, If I reload haproxy service it starts working normally.
Please clarify what "can't open" means exactly, what error your see in the
browser, and what haproxy is logging.
> timeout server 86400000
> timeout connect 86400000
> timeout client 86400000
With those insane values you will probably hit maxconn after some
time (depending on your clients).
> #timeout queue 30s
And because queue timeout is commented, new request will wait in
the queue for "timeout connect" time (24h) until serving a 503 due to queue
timeout.
Please read the documentation about server, connect, client and
queue timeouts.
Regards,
Lukas