Re: backend has no server available!

2017-11-15 Thread Igor Cicimov
Dhaval, Looking again into your config, what is this: option httpchk /test-testalive suppose to be testing? Looks like instead of testing the ELB as an endpoint you are actually testing your application so the timeouts are comming from your app and not the ELB. I would suggest you remove that

Re: backend has no server available!

2017-11-15 Thread DHAVAL JAISWAL
Some more information while showing backend not available. Server test_cluster/server1 is DOWN, reason: Layer7 timeout, check duration: 2001ms. 0 active and 0 backup servers left. 3 sessions active, 0 requeued, 0 remaining in queue. backend test_cluster has no server available! Server

Re: backend has no server available!

2017-11-14 Thread Igor Cicimov
Dhaval, What I put in my resolvers is the EC2 instance subnet dns server which for EC2 is always the second IP of the subnet range, xxx.xxx.xxx..2 You can also find this IP in your /etc/resolv.conf on the haproxy instances. Try replacing ​ 169.254.169.253:53 with that value and see how you go.

Re: backend has no server available!

2017-11-14 Thread DHAVAL JAISWAL
Even after reducing "hold valid" to 1s shows the same behavior. One more observation is that after introducing ELB in haproxy config, site seems to have little late response. Provided link is helpful, however if any one face same issue or can share experience to solve it will be really helpful.

Re: backend has no server available!

2017-11-13 Thread Igor Cicimov
On Mon, Nov 13, 2017 at 11:28 PM, James Stroehmann < james.stroehm...@proquest.com> wrote: > I had a similar problem, and I believe reducing my ‘hold valid’ setting to > 1s fixed it. > > > > > ​Possible explanation is the "inter" parameter which is by default set to 2s for the "check" operation,

Re: backend has no server available!

2017-11-13 Thread DHAVAL JAISWAL
I will apply the suggested setting. Any other parameters need to modify or add here. On Mon, Nov 13, 2017 at 5:58 PM, James Stroehmann < james.stroehm...@proquest.com> wrote: > I had a similar problem, and I believe reducing my ‘hold valid’ setting to > 1s fixed it. > > > > > > *From:* DHAVAL

RE: backend has no server available!

2017-11-13 Thread James Stroehmann
I had a similar problem, and I believe reducing my ‘hold valid’ setting to 1s fixed it. From: DHAVAL JAISWAL [mailto:dhava...@gmail.com] Sent: Monday, November 13, 2017 2:31 AM To: HAproxy Mailing Lists Subject: backend has no server available! [External Email] I had the