zabbix 数据库问题
2024-09-03 10:30:32
Too many connections
::052844.247 Cannot connect to the database. Exiting...
::052844.249 server # started [trapper #]
::052844.249 Cannot connect to the database. Exiting...
::052844.251 server # started [trapper #]
::052844.251 server # started [trapper #]
::052844.254 server # started [trapper #]
::052844.254 server # started [trapper #]
::052844.256 [Z3001] connection to database 'zabbix' failed: [] Too many connections
::052844.256 Cannot connect to the database. Exiting...
::052844.257 [Z3001] connection to database 'zabbix' failed: [] Too many connections
::052844.257 Cannot connect to the database. Exiting...
::052844.258 [Z3001] connection to database 'zabbix' failed: [] Too many connections
::052844.258 Cannot connect to the database. Exiting...
::052844.258 server # started [trapper #]
::052844.259 [Z3001] connection to database 'zabbix' failed: [] Too many connections
::052844.259 Cannot connect to the database. Exiting...
::052844.261 server # started [trapper #]
::052844.261 [Z3001] connection to database 'zabbix' failed: [] Too many connections
::052844.261 Cannot connect to the database. Exiting...
::052844.262 [Z3001] connection to database 'zabbix' failed: [] Too many connections
::052844.262 Cannot connect to the database. Exiting...
::052844.263 [Z3001] connection to database 'zabbix' failed: [] Too many connections
::052844.263 Cannot connect to the database. Exiting...
::052844.263 server # started [trapper #]
::052844.265 [Z3001] connection to database 'zabbix' failed: [] Too many connections
::052844.265 Cannot connect to the database. Exiting...
::052844.266 One child process died (PID:,exitcode/signal:). Exiting ...
::052844.312 server # started [trapper #]
::052844.316 syncing trend data...
::052844.316 syncing trend data done
::052844.316 Zabbix Server stopped. Zabbix 4.2. (revision 2c0e4d1d39).
处理方法:修改mariadb最大连接数
配置/etc/my.cnf
[mysqld]下新添加一行如下参数:
max_connections=300
vi /usr/lib/systemd/system/mariadb.service
取消[Service]前的#号,
[Service]新添加两行如下参数:
LimitNOFILE=10000
LimitNPROC=10000
systemctl --system daemon-reload
systemctl restart mariadb.service
最新文章
- 解读ASP.NET 5 &; MVC6系列(8):Session与Caching
- Migrating an Existing Website from SQL Membership to ASP.NET Identity
- java中使用jxl导出Excel表格详细通用步骤
- 20145206邹京儒《Java程序设计》第2周学习总结
- C# 无边框窗体边框阴影效果
- codeforces 489A.SwapSort 解题报告
- Ubuntu系统启动时waiting for network
- android 删除文件以及递归删除文件夹
- 【设计模式:单例模式】使用单例模式加载properties文件
- Eclipse中Ctrl+Alt+Down和Ctrl+Alt+Up不起作用
- Traits技法
- 你想知道吗?come
- ngnix FastCGI解析漏洞
- 部署自己配置的nginx到kubernetes,并且能通过ingress访问
- Java读取Properties的几种方法
- 《剑指offer》第十四题(剪绳子)
- hdu2088
- CFR - another java decompiler批量反编译jar文件
- [翻译] CNPPopupController
- 分享一个查找linux命令的网站
热门文章
- leetcode-easy-string-14 Longest Common Prefix
- leetcode-easy-string- 38 Count and Say
- java 对象转整数,两个整数相除转百分数
- 使用putty远程登录Ubuntu时,报Network error:Connection refused错误及解决(记录)
- python学习之模块-模块(二)
- 【VS开发】 自己编写一个简单的ActiveX控件——详尽教程
- 20191224 Spring官方文档(Core 1.1-1.4)
- spring boot-15.缓存
- 微服务理论之二:面向微服务架构与传统架构、SOA对比,以及云化对比
- 百度之星 2019 预赛三 A 最短路 1