一、环境
系统平台:Linux x86-64 Red Hat Enterprise Linux 7
版本:4.1.1
 
二、症状

Red Hat 7.2操作系统部署HGDB 4.1.1后,日志经常出现报错:

because another server process exited abnormally and possibly corrupted shared memory

三、问题原因

在Red Hat 7.2中,systemd-logind 服务引入了一个新特性,该新特性是:当一个user完全退出os之后,remove掉这个user所有的IPC objects。

该特性由/etc/systemd/logind.conf参数文件中RemoveIPC选项来控制。

在Red Hat 7.2中,RemoveIPC的默认值为yes

四、解决方案

cat /etc/systemd/logind.conf

[Login]

#NAutoVTs=6

#ReserveVT=6

#KillUserProcesses=no

#KillOnlyUsers=

#KillExcludeUsers=root

#InhibitDelayMaxSec=5

#HandlePowerKey=poweroff

#HandleSuspendKey=suspend

#HandleHibernateKey=hibernate

#HandleLidSwitch=suspend

#HandleLidSwitchDocked=ignore

#PowerKeyIgnoreInhibited=no

#SuspendKeyIgnoreInhibited=no

#HibernateKeyIgnoreInhibited=no

#LidSwitchIgnoreInhibited=yes

#IdleAction=ignore

#IdleActionSec=30min

#RuntimeDirectorySize=10%

#RemoveIPC=yes

修改RemoveIPC为no,并重启服务:

set RemoveIPC=no in /etc/systemd/logind.conf

Reboot the server or restart systemd-logind as follows:

systemctl daemon-reload

systemctl restart systemd-logind

最新文章

  1. 读书笔记--SQL必知必会11--使用子查询
  2. Mysql查询——深入学习
  3. js学习笔记 (继续)
  4. October 23rd Week 44th Sunday 2016
  5. 2.MongoDB数据库简介
  6. Sharepoint学习笔记—习题系列--70-576习题解析 -(Q59-Q62)
  7. django上传图片和文字记录
  8. CALayer加阴影后动画卡的处理办法
  9. GC roots 总结
  10. SQL中的case when then else end用法
  11. tftp使用方法
  12. Python知识小点(备注)
  13. Octave Tutorial(《Machine Learning》)之第五课《控制语句和方程及向量化》
  14. This Handler class should be static or leaks might occur(null) 解决办法 (转)
  15. Linux运维:安装CentOS7.2-图解
  16. 通过Javascript调用微软认知服务情感检测接口的两种实现方式
  17. Win7添加php环境变量.
  18. kodi18.1设置中文的方法
  19. Deep learning with Python 学习笔记(7)
  20. SDP服务搜索流程源码分析

热门文章

  1. QT+VS 调用基于Google Breakpad的跨平台Qt崩溃异常捕获调用方案
  2. 2022i春秋-冬季赛nan’s analysis
  3. Http请求接口
  4. [python]《Python编程快速上手:让繁琐工作自动化》学习笔记7
  5. JQuery拖拽移动
  6. python之路39 前端开始 各种标签
  7. ClickHouse(11)ClickHouse合并树MergeTree家族表引擎之SummingMergeTree详细解析
  8. day09-AOP-02
  9. 局部内部类定义-局部内部类的final问题
  10. MRS_下载相关问题汇总