A program running on the server found the kill. /var/log/messages: /var/log/messages:
Aug 11 16:28:11 kernel: Out of memory: Kill process 3080 (forward) score 559 or sacrifice child
Aug 11 16:28:11 kernel: Killed process 3080, UID 0, (forward) total-vm:1429064kB, anon-rss:1130444kB, file-rss:136kB
Linux also has a memory OOM processing, unlike Android to kill the OOM process, Linux is the most memory use process.
when Linux to OOM, means that the memory of the whole system is insufficient, if you don’t kill the process, will lead to the collapse of the system. Each process has an oom_score parameter, such as an output of the oom_score with a PID of 988:
cat /proc/988/oom_score
OOM Killer kills the process with the highest current score when the system reports OOM Killer.
>
One is to increase the system memory,
The second is to optimize the process, so that it occupies less memory.
The oom_score_adj parameter can be used. This parameter will be counted into the oom_score and will prevent the process from being killed (not recommended).
Read More:
- [Solved] Linux C++ Compile Error: c++: internal compiler error: Killed (program cc1plus)
- Solution to the flash of running result of dev C / C + +
- error C2057: expected constant expression (Can the size of an array in C language be defined when the program is running?)
- To solve the running error of eclipse for C / C + +: launch failed binary not found
- Kali Linux network manager needs to be running
- Linux running Makefile, G + + / GCC error: suffix or operations invalid for ‘vbroadcasts’
- Unknown error: cannot find chrome binary when running selenium under Linux
- How to Solve Error: The emulator process for AVD was killed.
- C language program running results flash back how to do
- Error in dev C + + running pointer
- g++: internal compiler error: Killed (program cc1plus)
- File C:\Users\admin\Documents\WindowsPowerShell\profile.ps1 cannot be loaded because running scripts
- The solution of “failed to load ldlinux. C32” in Linux system
- Vscode running C program error luanch:program does not exsist
- [How to Fix] dpkg-deb: error: paste subprocess was killed by signal (Broken pipe)
- How to Solve MacOS ffmpeg killed Error
- dpkg-deb: error: paste subprocess was killed by signal (Broken pipe)
- C language string processing error warning, c4996, sprintf, predicted, c4996, strcpy, c4996, strcat
- Idea for Mac setting JVM running parameters to solve running stuck problem
- Linux QT download / usr / include / C + + / 7/ cstdlib:75 : 15: fatal error: stdlib. H: no such file or directory error