taobao/tengine — pull request #181 by yaoweibin (2013-02-04 15:39:18+00:00)
Title: Check busyness

Add a new argument named max_busy in the check directive. If the connection number with a upstream server is greater than this argument, it will be marked down. This sever will not be assigned new connection until it's up again.

An example:

upstream test{
server 192.168.1.1;
server 192.168.1.2;
check interval=2000 rise=2 fall=2 timeout=1000 max_busy=10;
}