针对您提出的“connection to database 'zabbix' failed: [1040] too many connections”错误,这个问题通常表明数据库'zabbix'的连接数已经达到了其最大限制。以下是根据您的提示分点解答此问题: 1. 确认数据库'zabbix'的当前连接数 要确认当前数据库的连接数,您可以登录到数据库服务器,使用相应的命令或查询来查看...
1、connection to database 'zabbix' failed: [1040] Too many connections 问题:数据库连接池太少 解决:增加数据库连接池 步骤: (1)、进入数据库 show variables like 'max_connections';(查可以看当前的最大连接数) set global max_connections=1000;(设置最大连接数为1000,可以再次查看是否设置成功) 1. 2...
5、zabbix-server日志报错,提示connection to database 'zabbix' failed: [1040] Too many connections错误,mariadb正常。想到应该是mysql最大连接数问题。 修改mysql最大连接数的链接:http://blog.51cto.com/net881004/2089198 6、报警提示More than 100 items having missing data for more than 10 minutes和Zabb...
7、zabbix-server日志报错,提示connection to database 'zabbix' failed: [1040] Too many connections错误,mariadb正常。想到应该是mysql最大连接数问题。修改mysql最大连接数的链接:http://blog.51cto.com/net881004/2089198===
大家会看到的异常信息往往是“ERROR 1040(HY000): Too many connections”,这个时候就是说数据库的连接池里已经有太多的连接了,不能再跟你建立新的连接了! 不知道大家是否还记得我们最早讲过的数据库的整体架构原理,数据库自己其实是有一个连接池的,你的每个系统部 署在一台机器上的时候,你那台机器上部署的系统...
5、zabbix-server日志报错,提示connection to database ‘zabbix’ failed: [1040] Too many connections错误,mariadb正常。想到应该是mysql最大连接数问题。 修改mysql最大连接数的链接:http://blog.51cto.com/net881004/2089198 6、报警提示More than 100 items having missing data for more than 10 minutes和Za...
2552:20141012:211700.552 [Z3001] connection to database 'zabbix' failed: [1040] Too many connections 是由于连接到数据库的数量比较多,mysql 默认的连接数是100,一般设置到500~1000比较合适,我们可以调大这个值:修改/etc/my.cnf这个文件,在[mysqld]中新增max_connections=1000 ...
14 Database error handling 15 Zabbix sender dynamic link library for Windows 16 Issues with SELinux 1. 简介 2. 定义 3. 进程 4. 安装 5. 快速入门 6. Zabbix应用 7. 配置 8. Service 服务监控[ZeMing] 9. Web 监控[ZeMing] 10. 虚拟机监控 ...
DBHostnolocalhostDatabase host name. In case of MySQL localhost or empty string results in using a socket. In case of PostgreSQL only empty string results in attempt to use socket. DBName是据库名称。 DBNameyesDatabase name. DBPassword否据库登录密码。
5、zabbix-server日志报错,提示connection to database 'zabbix' failed: [1040] Too many connections错误,mariadb正常。想到应该是mysql最大连接数问题。 修改mysql最大连接数的链接:http://blog.51cto.com/net881004/2089198 6、报警提示More than 100 items having missing data for more than 10 minutes和Zabb...