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

最新文章

  1. 解读ASP.NET 5 & MVC6系列(8):Session与Caching
  2. Migrating an Existing Website from SQL Membership to ASP.NET Identity
  3. java中使用jxl导出Excel表格详细通用步骤
  4. 20145206邹京儒《Java程序设计》第2周学习总结
  5. C# 无边框窗体边框阴影效果
  6. codeforces 489A.SwapSort 解题报告
  7. Ubuntu系统启动时waiting for network
  8. android 删除文件以及递归删除文件夹
  9. 【设计模式:单例模式】使用单例模式加载properties文件
  10. Eclipse中Ctrl+Alt+Down和Ctrl+Alt+Up不起作用
  11. Traits技法
  12. 你想知道吗?come
  13. ngnix FastCGI解析漏洞
  14. 部署自己配置的nginx到kubernetes,并且能通过ingress访问
  15. Java读取Properties的几种方法
  16. 《剑指offer》第十四题(剪绳子)
  17. hdu2088
  18. CFR - another java decompiler批量反编译jar文件
  19. [翻译] CNPPopupController
  20. 分享一个查找linux命令的网站

热门文章

  1. leetcode-easy-string-14 Longest Common Prefix
  2. leetcode-easy-string- 38 Count and Say
  3. java 对象转整数,两个整数相除转百分数
  4. 使用putty远程登录Ubuntu时,报Network error:Connection refused错误及解决(记录)
  5. python学习之模块-模块(二)
  6. 【VS开发】 自己编写一个简单的ActiveX控件——详尽教程
  7. 20191224 Spring官方文档(Core 1.1-1.4)
  8. spring boot-15.缓存
  9. 微服务理论之二:面向微服务架构与传统架构、SOA对比,以及云化对比
  10. 百度之星 2019 预赛三 A 最短路 1