Out of memory: Kill process 2249 (nginx) score 1 or sacrifice child
原創作品,允許轉載,轉載時請務必以超連結形式標明文章 原始出處 、作者資訊和本宣告。否則將追究法律責任。http://gm100861.blog.51cto.com/1930562/922664
- 24G記憶體,空閒的有20G左右。但是核心老是報這個,動不動就殺程式
- Jul 6 13:12:44 00098 kernel: [3112325.883069] Out of memory: Kill process 2249 (nginx) score 1 or sacrifice child
- Jul 6 13:12:44 00098 kernel: [3112325.922795] Killed process 2831 (nginx) total-vm:21772kB, anon-rss:11048kB, file-rss:916kB
- Jul 6 12:43:18 00098 kernel: [3110562.214498] snmpd invoked oom-killer: gfp_mask=0x840d0, order=0, oom_adj=0, oom_score_adj=0
- Jul 6 12:43:18 00098 kernel: [3110562.214502] snmpd cpuset=/ mems_allowed=0
- Jul 6 12:49:57 00098 kernel: [3110960.995962] Out of memory: Kill process 1858 (mysqld) score 1 or sacrifice child
- Jul 6 12:49:57 00098 kernel: [3110961.032675] Killed process 1858 (mysqld) total-vm:140652kB, anon-rss:15492kB, file-rss:6100kB
- Jul 6 12:49:57 00098 kernel: [3110961.103870] init: mysql main process (1858) killed by KILL signal
- Jul 6 12:49:57 00098 kernel: [3110961.103899] init: mysql main process ended, respawning
- # DMA: 0x00000000 - 0x00999999 (0 - 16 MB)
- # LowMem: 0x01000000 - 0x037999999 (16 - 896 MB) - size: 880MB
- # HighMem: 0x038000000 - <硬體特定>
當low memory耗盡,不管high memory剩餘多少,oom-killer都開始殺死程式,以保持系統的正常運轉。
- # egrep 'High|Low' /proc/meminfo
- HighTotal: 5111780 kB
- HighFree: 1172 kB
- LowTotal: 795688 kB
- LowFree: 16788 kB
- # free -lm
- total used free shared buffers cached
- Mem: 5769 5751 17 0 8 5267
- Low: 777 760 16 0 0 0
- High: 4991 4990 1 0 0 0
- -/+ buffers/cache: 475 5293
- Swap: 4773 0 4773
- # cat /proc/sys/vm/lower_zone_protection
- # echo "250" > /proc/sys/vm/lower_zone_protection
- # cat /proc/sys/vm/oom-kill
- # echo "0" > /proc/sys/vm/oom-kill
- # echo "1" > /proc/sys/vm/oom-kill
來自 “ ITPUB部落格 ” ,連結:http://blog.itpub.net/26845409/viewspace-1990239/,如需轉載,請註明出處,否則將追究法律責任。
相關文章
- A significant part of sql server process memory has been paged outNifiSQLServer
- oracle LOGICAL standby ORA-04030: out of process memoryOracle
- ORACLE ORA-04030之 out of process memory when trying to allocateOracle
- OOM(Out Of Memory)OOM
- java out of memoryJava
- ORA-04030: out of process memory ...(initSubHeap:qk...)的錯誤解決
- Git bash Error: Could not fork child process: There are no available terminals (-1)GitErrorAI
- OOM--OUT OF MEMORYOOM
- 在nodejs中建立child processNodeJS
- new Child();new Child(1);
- TNS Listener Hang, New Child Listener Process Forked
- An out of memory error has occurred.Error
- OOM(Out Of Memory)是什麼?OOM
- Node.js child_process模組解讀Node.js
- AIX平臺下報ORA-04030: out of process memory when trying to allocate string bytesAI
- innobackupex:Error:xtrabackup child process has died at /usr/bin/innobackupexError
- 深入理解F1-score
- ES叢集搭建問題:memory locking requested for elasticsearch process but memory is not lockedElasticsearch
- Nodejs進階:如何玩轉子程式(child_process)NodeJS
- Intermittent TNS Listener Hang, New Child Listener Process Forked [ID 340091.1]MIT
- note the ORA-27102: out of memory errorError
- 解決MYSQL工具mysqldump 遇到 Out of memory 方法MySql
- PostgreSQL DBA(95) - PG 12 Partition(out of shared memory)SQL
- git post資料過大報錯-Out of memoryGit
- iOS Out-Of-Memory 原理闡述及方案調研iOS
- ORA-27102: out of memory故障解決
- nodejs使用child_process模組啟動(exec和spawn)子執行緒任務,子程序例項的kill()方法無效的問題NodeJS執行緒
- 【ERROR】ORA-27102: out of memory 解決方法Error
- ORA-27102: out of memory解決辦法
- oracle啟動遭遇ORA-27102: out of memoryOracle
- ORA-27102 Out of Memory問題處理
- nginx “504 Gateway Time-out”錯誤NginxGateway
- ORA-27102: out of memory 問題解決方法
- windows 32位ORA-27102: out of memory錯誤Windows
- android 載入圖片輕鬆避免OOM(out of memory)AndroidOOM
- 機器學習中的 precision、recall、accuracy、F1 Score機器學習
- 洛谷 P2249 【深基13.例1】查詢
- 常用類process1