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:
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).
- Swap off failed: cannot allocate memory
- Memory leak in Windows 8.1 with Killer E2200 and Windows Network Data Usage Monitoring
- Solutions to the problem of “there are stopped jobs” in Linux
- linux tomcat Run (DWP exit error AGENT_ERROR_TRANSPORT_INIT(197): No transports initialized [debugIni）
- MySQL error 1205 (HY000): lock wait timeout exceeded; try restarting transaction
- How to solve oserror: [errno 98] address already in use and kill the python3 process
- Typeerror in Python: ‘nonetype’ object is not Iterable
- [Linux] [kernel] bug: scheduling while atomic problem analysis
- Error of replacing VIM editor: s in Linux: pattern not found
- Solutions to Vue running crash
- linux docker Error Failed to get D-Bus connection: Operation not permitted
- comparison of Fixnum with nil failed
- BUG: Bad page map in process XXX pte:800000036fae6227 pmd:35be8c067
- E667: Fsync failed
- E: sub process / usr / bin / dpkg returned an error code (2) solution under Ubuntu
- Kill the specified port CMD command line taskkill in window
- Remember a virtual machine expansion swapoff failed: cannot allocate memory
- Error: Could not fork child process: There are no available terminals (-1).
- Stop: job failed while stopping
- Common problems and solutions under Linux