yaoweibin/nginx_tcp_proxy_module — Issue #22: check_status
Author: glebus
Created: 2011-12-29 10:59:26+00:00
State: open

Hello! I have a few questions.

1. Please tell us the meaning of the fields in the table that the output of the check_status.

2. I have this problem. There is a server written in Python / Twisted uses to connect to the web sockets. On it were sufficiently high loads, and I decided to make a cluster. Advantage of your leadership and everything turned out. Queries in round robin went on all 6 servers, but there was such probelma - after connecting to the server after a while the connection is lost and re-appears. You do not know what it can be connected?

Thank you.

uname-a
Linux 2.6.32-30-server # 59-Ubuntu SMP Tue Mar 1 22:46:09 UTC 2011 x86_64 GNU / Linux

config:

tcp {
upstream backend {
server 95.169.184.31:8044;
server 95.169.184.31:8045;
server 95.169.184.31:8046;
server 95.169.184.31:8047;
server 95.169.184.31:8048;
server 95.169.184.31:8049;
check interval = 3000 rise = 2 fall = 5 timeout = 10000;
}

server {
listen *: 8043;
tcp_nodelay on;
proxy_pass backend;
}
}

http {

server {
listen 9000;
location / wstat {
check_status;
}
}
}