Hi,

I'm experiencing a problem with backend TCP connections being reset
[RST+ACK] by HAProxy after serving one HTTP request and receiving the [ACK]
for the HTTP response. Delay between backend's [ACK] and haproxy's
[RST+ACK] seems random, ranging from single seconds to several minutes.

What I wanted to achieve is: for each backend server keep a limited pool of
backend TCP connections open, and when a HTTP request comes in through the
frontend, reuse one of the existing connections (in HTTP keep-alive mode),
creating one if necessary.

It was my understanding that 'timeout server 5m' should keep backend
connections opened for 5 minutes before closing them. Was I mistaken? Would
"timeout tunnel" allow me to specify such timeout, despite HAProxy working
in http-keep-alive mode?

I'm attaching the haproxy config.

Thank you,



-- 

*Michał Ślizak*
DaftCode Sp. z o.o.
ul. Domaniewska 34a, 02-672 Warszawa
tel. +48 506 175 074

Attachment: haproxy_redacted.cfg
Description: Binary data

Reply via email to