Comments (3)
这个是因为只对后端做了tcp连接性检查,没有和后端进行mysql协议交互造成的。
如果针对mysql协议层进行检查,是否需要真正登录成功才可以?这样的话需要在nginx配置中暴露myql用户名密码,又会带来安全问题。
上一个issue #32 中提到的host_cache_size = 0 是不是可以规避此问题?
from ngx_healthcheck_module.
host_cache_size = 0 只能规避nginx IP不会被block,但是如果5.7.19默认的日志级别不调整的话,还是会输出很多note错误信息到mysql错误日志中,现在我这边是把mysql的日志级别从默认的3调到2了,log_error_verbosity=2,我的版本是5.7.19,我看了官方文档,不同的版本这个默认日志级别是不一样的
from ngx_healthcheck_module.
关闭host_cache_size就像上面说的,只能规避IP不会被block,但是日志会输出很多,如果是开发就没办法了,线上的话要调整日志输出
from ngx_healthcheck_module.
Related Issues (20)
- upstream是否可以支持https ?
- 日志文件重复生成
- 配置未生效 HOT 1
- 该模块是否存在检查计数器会归0的情况?
- 支持nginx 1.18版本吗? HOT 1
- nginx-upsync-module
- Unexpected false negatives
- Support for random load balancing
- 支持nginx 1.20版本吗 HOT 2
- dynamic module support
- 和tengine的ngx_http_upstream_check_module能一起用吗 HOT 1
- openresty1.17.8.2安装模块后访问status显示server数量为0
- 无法正确检查“主机不可达”的UDP服务器的健康状态 HOT 1
- healthcheck server status down not closing active TCP connections
- 不支持动态增删upstream节点以及发现几个Bug
- not support dynamic add/delete detect node and found some bugs
- After build ,Directives not found
- make的时候报错 HOT 2
- 希望增加type=ssl_hello模式
- nginx 1.26.1 不支持
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from ngx_healthcheck_module.