zabbix报错:zabbix server is not running: the information displayed may not be current!
企业开发
2023-04-17 09:09:38
阅读次数: 0
zabbix server is not running: the information displayed may not be current!
- 请修改数据库 max_connections= 最大链接 设置
- 查看现有的链接设置:MariaDB [(none)]> show variables like ‘max_connections’;
- 修改/etc/my.cnf.d/server.cnf文件。在[mysqld]下新增如下配置:
max_connections=1000
- 重启Mariadb服务
systemctl restart mariadb.service
- 再次查看Mariadb最大连接数
MariaDB [(none)]> show variables like ‘max_connections’;
±----------------±------+
| Variable_name | Value |
±----------------±------+
| max_connections | 1000 |
±----------------±------+
1 row in set (0.01 sec)
转载自blog.csdn.net/jingxinguofeng/article/details/119780516