cD during ldap job

On 1.8.30, every day at 17:30 someone runs a ldap sync of some sort and it seems like his connection is getting cut:

prd_ldap_389 prd_ldap_backend/prd_ldap_server_389_3 1/0/23774 42933789 cD 24/1/0/0/0 0/0

On the ldaps side I see a bunch of

prd_ldaps_com_636~ prd_ldaps_backend/prd_server_636_3 43/1/10045 14 cD 25/22/21/5/0 0/0

Config:

timeout connect         5s
timeout client          15s
timeout server          15s
timeout http-keep-alive     10s
timeout check           5s


balance roundrobin

    server prd_ldap_389_2 ldap2.mycompany.com:389 check observe layer4 error-limit 10 on-error mark-down

    server prd_ldaps_636_2 ldap2.mycompany.com:636 ssl check observe layer4 error-limit 10 on-error mark-down ssl ca-file /etc/openldap/certs/ldaprootCA.pem

What can I do to allow them to finish their job?

You have configured haproxy to cut the connection after 15 seconds of inactivity:

timeout client          15s
timeout server          15s

If you want more, raise the values of timeout client and timeout server.

Thank you, I increased to 15 minutes and that solved it.