We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Nginx会一直维持后端服务器的8个ESTABLISHED长连接,并且永不释放
tcp ESTAB 0 0 172.16.103.138:63775 172.16.102.241:9001 tcp ESTAB 0 0 172.16.103.138:26924 172.16.102.241:9001 tcp ESTAB 0 0 172.16.103.138:10390 172.16.102.241:9001 tcp ESTAB 0 0 172.16.103.138:16368 172.16.102.241:9001 tcp ESTAB 0 0 172.16.103.138:32328 172.16.102.241:9001 tcp ESTAB 0 0 172.16.103.138:37996 172.16.102.241:9001 tcp ESTAB 0 0 172.16.103.138:5014 172.16.102.241:9001 tcp ESTAB 0 0 172.16.103.138:21452 172.16.102.241:9001
upstream配置
upstream sqlreview2-server { #我这里把检查间隔改成了30秒 check interval=30000 rise=1 fall=3 timeout=3000 type=tcp; server 172.16.102.241:9001;
nginx locaiton配置文件
location /sqlreview { proxy_next_upstream http_502 http_504 error timeout invalid_header; proxy_set_header Host $host; proxy_set_header X-Real-IP $remote_addr; proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for; proxy_pass http://sqlreview2-server; }
Nginx版本: nginx/1.20.1
nginx/1.20.1
The text was updated successfully, but these errors were encountered:
你参见这个:https://github.com/yaoweibin/nginx_upstream_check_module/pull/257/files
Sorry, something went wrong.
No branches or pull requests
Nginx会一直维持后端服务器的8个ESTABLISHED长连接,并且永不释放
upstream配置
nginx locaiton配置文件
Nginx版本:
nginx/1.20.1
The text was updated successfully, but these errors were encountered: