<br><br>
<div class="gmail_quote">On Sun, May 31, 2009 at 6:56 PM, Chieu <span dir="ltr">&lt;<a href="mailto:lfchieu@gmail.com">lfchieu@gmail.com</a>&gt;</span> wrote:<br>
<blockquote class="gmail_quote" style="PADDING-LEFT: 1ex; MARGIN: 0px 0px 0px 0.8ex; BORDER-LEFT: #ccc 1px solid">hi,<br>I want to implement a module that can check the heathy of the backend web servers circlely. If the upstream died, the module can remove the server from the upstream list and if the upstream get up, the module can add  it to the list. <br>
Is there a good way to implement it? <br><br>thank you<br><font color="#888888">Chieu<br></font></blockquote></div>
<div><br> </div>
<div>I think it&#39;s already be implemented in nginx</div>
<div> </div>
<div>See <a href="http://wiki.nginx.org/NginxHttpUpstreamModule">http://wiki.nginx.org/NginxHttpUpstreamModule</a>  </div>
<div> </div>
<div>The server directive has tow args: max_fails fail_timeout</div>