在用zabbix监控postgresql的时候,以前是正常的,某天突然发现监控不到数据了,重启zabbig_agent发现报错:

zabbix_agentd [10555]: cannot create Semaphore: [28] No space left on devicezabbix_agentd [10555]: unable to create mutex for log file

修改/etc/sysctl.conf

添加如下行:

kernel.sem = 500        64000   64      256

修改之后,执行sysctl -p /etc/sysctl.conf使其生效。

这样就把系统默认的信号量扩大了一倍

启动就成功了,其他机器没有出现这种情况,可能是PG太占信号量了吧

转载于:https://blog.51cto.com/wangerbao/1770780

zabbix:unable to create mutex for log file相关推荐

  1. Unable to create '.git/index.lock': File exists

    Git – fatal: Unable to create '/.git/index.lock': File exists. fatal: Unable to create '/path/my_pro ...

  2. git命令出现fatal: Unable to create 'xxx/.git/index:File exists.问题

    用git commit命令时,出现 fatal: Unable to create 'xxx/.git/index:File exists. Another git process seems to ...

  3. 使用Sourcetree进行Git操作时失败提示:Unable to create '../.git/index.lock': File exists.

    今天使用git时发现无法切换分支,也无法拉取更新代码,报错: fatal: Unable to create '-/.git/index.lock': File exists. 分析原因应该是:我在使 ...

  4. git命令出现fatal: Unable to create ‘xxx/.git/index:File exists

    最近提交代码遇到的一些问题,网上找的解决办法,免得忘记了,特此记录一下. $ git checkout xxx fatal: Unable to create 'xxxxx/.git/index.lo ...

  5. oracle expdp ora39070,expdp时出错:ORA-39070: Unable to open the log file.

    最初由 zhpsam 发布 [B]执行EXPDP操作时出现ORA-29283: invalid file operation错误 SQL> create or replace directory ...

  6. mysql error innodb_MySQL无法启动: InnoDB Error:unable to create temporary file

    MySQL无法启动.错误日志中提示:InnoDB:Error:unabletocreatetemporaryfile以下是错误信息的详细内容:11112221:32:03[Note]Plugin'FE ...

  7. Android7.0以上File.createTempFile异常:java.io.IOException: Unable to create temporary file

    一.File.createTempFile的介绍 java IO中常用类File 有File.createTempFile(String prefix, String suffix, File dir ...

  8. PHP Warning: File upload error - unable to create a temporary file in Unknown on line 0

    为什么80%的码农都做不了架构师?>>>    不同电脑,相同的代码怎么就上传不了图片:本人用的是PHP upload上传项目下的retime文件夹 服务器突然出现这种提示,无法上传 ...

  9. Git出现Unable to create 'E:/xxx/.git/index.lock': File exists.的解决办法

    版权声明:本文为博主原创文章,遵循 CC 4.0 BY-SA 版权协议,转载请附上原文出处链接和本声明. 本文链接:https://blog.csdn.net/darlinghqq/article/d ...

  10. Unable to create '/media/sf_nginx/H2_20151103/H2/.git/index.lock': File exists.

    今天不知怎么回事,git 突然不能add修改文件,错误信息如下,但是很奇怪的是git status 没有问题,依然正常工作 [root@test01 test_code_driver]# git ad ...

最新文章

  1. Ajax实现无刷新树
  2. 智源研究院发布 2020 年世界十大 AI 进展
  3. Bean装配之Aware接口
  4. c语言打开当前目录下的文件_Linux下自定义文件默认打开方式
  5. HTTP代理如何正确处理Cookie(2) - 转载(写的比较详细,并以实例讲解)
  6. 我的Linux系统入坑之路!!!!
  7. input文本框设置和移除默认值
  8. js 动态创建注释节点 createComment
  9. Kibana_X-Pack管理Elasticsearch权限
  10. java swing 选项卡_java – 如何通过单击按钮在jTabbedPane中切换选项卡?
  11. 3-unit2 高级网络配置
  12. tcp 三次握手和四次断连深入分析:连接状态和socket API的关系----BAT 李运华
  13. DW个人网站制作成品 简单个人静态HTML网页设计作品 DIV布局个人介绍网页模板代码
  14. JAVA系列---项目打包部署
  15. 通过CSS美化Web页面
  16. php echo eot,php理解print EOT分界符和echo EOT的用法的简单示例
  17. APIO2007风铃
  18. 41.Apache用户认证及访问日志 域名跳转
  19. 【元宇宙经济学】元宇宙经济的定义和意义
  20. 大整数运算-大数的存储与运算

热门文章

  1. 【Ubuntu操作系统】命令行解析函数getopt/getopt_long
  2. 【Matlab学习笔记】【数学形态学】分水岭分割算法
  3. 魔方机器人之下位机编程------下位机完整程序
  4. 智能优化算法:海洋捕食者算法
  5. 【Tensorflow】【损失函数】交叉熵数据验证(下)---BinaryCrossentropy二分类
  6. 【Landsat 8】介绍
  7. OBS( Open Broadcaster Software )录制视频黑屏问题录制方法
  8. IDL | 实验四 IDL输入输出
  9. envi 面向对象遥感图像分类
  10. ImageLoader的简单分析(二)