zabbix报错:zabbix server is not running: the information displayed may not be current!

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