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/,如需轉載,請註明出處,否則將追究法律責任。
相關文章
- (轉貼)Out of Memory: Killed process
- Git bash Error: Could not fork child process: There are no available terminals (-1)GitErrorAI
- ORA-04030: out of process memory ...(initSubHeap:qk...)的錯誤解決
- OOM(Out Of Memory)OOM
- 在nodejs中建立child processNodeJS
- OOM(Out Of Memory)是什麼?OOM
- Node.js child_process模組解讀Node.js
- ES叢集搭建問題:memory locking requested for elasticsearch process but memory is not lockedElasticsearch
- Couldn‘t run wireshark in child process:許可權不夠
- 完蛋!我被 Out of Memory 包圍了!
- PostgreSQL DBA(95) - PG 12 Partition(out of shared memory)SQL
- 【ERROR】ORA-27102: out of memory 解決方法Error
- nodejs使用child_process模組啟動(exec和spawn)子執行緒任務,子程序例項的kill()方法無效的問題NodeJS執行緒
- iOS Out-Of-Memory 原理闡述及方案調研iOS
- git post資料過大報錯-Out of memoryGit
- 深入理解F1-score
- 由node的批量requests引起的”heap out of memory”解決方案
- Composer 記憶體不足解決方案 PHP Fatal error: Out of memory記憶體PHPError
- 洛谷 P2249 【深基13.例1】查詢
- 常用類process1
- [Memory Leak] 1. console.log cause memory leak
- Out of sort memory, consider increasing server sort buffer size的兩種情況IDEServer
- MEXimize the Score
- Oracle記憶體結構(三)----Process Memory的詳細資訊(轉)Oracle記憶體
- Win10系統玩cf出現out of memory的解決方法Win10
- Java Out Of Memory解決之JAVA_OPTS引數說明與配置Java
- sky-take-out chapter 1APT
- sklearn.metrics.f1_score中micro、macro、samples理解Mac
- 分位數(quantiles)、Z-score 與 F-score
- 【評價指標】詳解F1-score與多分類MacroF1&MicroF1指標Mac
- Nginx 報錯 504 Gateway Time-out 的解決方法NginxGateway
- GAN量化評估方法——IS(Inception Score)和FID(Frechet Inception Distance score)
- 機器學習中的 precision、recall、accuracy、F1 Score機器學習
- Javascript記憶體溢位,FATAL ERROR: CALL_AND_RETRY_LAST Allocation failed - JavaScript heap out of memoryJavaScript記憶體溢位ErrorASTAI
- kksfbc child completion
- 啟動Oracle報錯ORA-27102: out of memory、Linux-x86_64 Error: 28: No space leftOracleLinuxError
- Caused by: java.lang.IllegalArgumentException: port out of range:-1JavaException
- catch_child.cpp
- Solaris awk: syntax error near line 1 awk: bailing out near line 1ErrorAI