环境:Centos7 现象:Linux测试服务器上部署了很多程序mysql、mongodb、java等等。程序操作mongodb经常进程被杀死的情况,导致业务中断,mongodb 的logs无提示信息。查看系统日志message后,发现对应时间点,系统自动kill掉了mongodb进程,如下 Out of memory: Kill process 5372 (mongod) score 130 or ...
[jiakeke@mongodb ~]$ cat /etc/rc.local !/bin/bash THIS FILE IS ADDED FOR COMPATIBILITY PURPOSES It is highly advisable to create own systemdservices or udev rules to run scripts during boot instead of using thisfile.In constrast to previous versions due to parallelexecution during...