Take the 2-minute tour ×
Server Fault is a question and answer site for professional system and network administrators. It's 100% free, no registration required.

I'm using Amazon's elastic load balancing across several machines that are running nginx. The problem is, after running for fifteen minutes or so, ELB starts to mark all of the machines as dead. When we look at the nginx access logs, however, the ELB requests are returning 200's in less than 1 ms (we just have nginx serving the a static file for the ELB healthcheck). So, I'm not sure how to figure out what's going on.

Is there either some way we can get a more detailed description of why ELB thought all of the machines were bad, or any general tips for situations that might cause this? I'm really stumped trying to figure out what I can try next, to debug.

share|improve this question
Do you have Amazon Support? –  Tom O'Connor Jan 24 '12 at 0:37
Less than 1ms sounds like localhost retrieval, have you confirmed the file is accessible from other networks? –  thinice Jan 24 '12 at 0:42
Amazon Support is a good idea. We don't have it but probably we would shell out for it. ELB isn't accessing the file, it's accessing HTTP:80/the_file_name which nginx serves in < 1 ms. –  lacker Jan 24 '12 at 1:09
A good (if somewhat dated) diagnostic procedure for ELBs can be found here - and a series of automated tests here. Perhaps they will provide some additional information for you (that you can include in your question, if it doesn't reveal the problem for you). –  cyberx86 Jan 24 '12 at 1:58
@cyberx86 - Unfortunately, there aren't any links in your comment. Sounds like it would be helpful. –  Jordan Feb 5 '13 at 22:12
show 1 more comment

Know someone who can answer? Share a link to this question via email, Google+, Twitter, or Facebook.

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Browse other questions tagged or ask your own question.