Hi,
I am seeing periodic latency spikes in HAProxy logs. Latency spike
correspond to high *TC* (Backend connect time ) times (all ranging from
*1000-1010* ms). Suspecting some kind of timeout happening but doesnt know
which one.

Following is the HAProxy configuration
Current HAProxy config timeouts:

    retries                 3
    timeout http-request    10s
    timeout queue           1m
    timeout connect         10s
    timeout client          1m
    timeout server          5m
    timeout http-keep-alive 100s
    timeout check           10s
    maxconn                 10000

while analyzing HAProxy logs, i have seen a pattern in TC occurances.
each tomcat server have TC for all HAproxy at some second.
so issues seems to be with tomcat config.


i am using default config of embedded tomcat (8.0.20)

in my infra,
there are 3 HAProxy servers(for load balancing)
3 embedded tomcat servers




Please suggest if someone knows whats going wrong in the system ?

Thanks,
Salman

Reply via email to