Re: Reload takes about 3 minutes

2017-10-16 Thread Joel W Kall
Just want to report that changing to another DNS server made it take about 2 seconds instead of 3 minutes :) Thanks for the help! Joel W Kall *Loop54* Barnhusgatan 20 111 23 Stockholm www.loop54.com Mobil: 073-5933 255 j...@loop54.com 2017-10-13 23:45 GMT+02:00

Re: Reload takes about 3 minutes

2017-10-13 Thread Joel W Kall
Oh, that makes sense. I'll try to investigate why the DNS server doesn't answer or why it is slow. Maybe we'll just switch to another. Thanks a bunch! Joel W Kall

Re: Reload takes about 3 minutes

2017-10-13 Thread Joel W Kall
it doesn't timeout as often so the total time is much faster. So some follow up questions: 1. Does it try to connect to each backend when starting up and won't start until it has tested all of them? If so, can we disable this? 2. What is the poll([{fd=6, events=POLLIN}], 1, -1) call that takes 3

Re: Reload takes about 3 minutes

2017-10-13 Thread Joel W Kall
host header configurations] ## switches use_backend 1 if host_1 [more if-clauses] backend 1 server node1 [some IP] check server node2 [some IP] check [more backends] ### Will try with strace and see what we see. Joel W Kall

Reload takes about 3 minutes

2017-10-13 Thread Joel W Kall
cause HAProxy to take so long to reload? - How can we find out what it's doing? For instance, what level of logging do we need to enable and what would we look for in the log? - Do you have a suggestion for a fix? Thanks! Joel W Kall