×

Zabbix server is not running :the information displayed may not be current.解决方法

技术文章

Zabbix server is not running :the information displayed may not be current.解决方法

hqy hqy 发表于2022-11-18 浏览456 评论0

前言

我们在使用zabbix监控提供的Web界面会有一些经常遇到的问题。所以,就总结了一些问题的解决方法。但是,有朋友告诫我,把问题全总结到一篇文章中,会给人一种杂乱的感觉。于是,我就把总结的拆成几篇来进行介绍。这一篇介绍的是Zabbix server is not running的解决方法。

问题

centos6修改mariadb/mysql的max_connections

技术文章

centos6修改mariadb/mysql的max_connections

hqy hqy 发表于2022-11-18 浏览483 评论0

发现网上大多是针对centos7的,以下根据实操经验,总结centos6.9的设置方式,希望对大家有用。

mariadb或mysql的默认连接数为151,如需加大,有临时和永久两种方式,对于临时方式,登录mysql后执行以下sql即可:

set global max_connections=1024;

此时用show variables like 'max_connections'命令查看,发现值已经变为1024,但这只是临时方式,系统重启后会失效。