Out of memory termination, but 1.4gb available?
I got the message below today, but strangely enough as you can see, was using 412mb, and had 1.42 free, so why "out of memory" ??
Process Name mysqld
Event Time Tuesday, February 14, 2017 at 12:23:51 PM UTC
PID 1719
Process UID 496
Process Username mysql
Process Total Virtual Memory 862916kB
Process Anonymous Resident Set Size 83580kB
Process File Resident Set Size 4kB
Process OOM Score 57
Status Out of Memory ?
Memory Information
Used 421 MB
Available 1.42 GB
Installed 1.83 GB
Load Information 0.02 0.72 0.58
Uptime 3 days, 3 hours, 58 minutes, and 4 seconds
IOStat Information avg-cpu: %user %nice %system %iowait %steal %idle
3.65 0.53 1.20 0.13 0.03 94.45
Device: tps Blk_read/s Blk_wrtn/s Blk_read Blk_wrtn
vda 7.99 304.59 168.06 83301074 45961856
Top Processes
PID Owner CPU % Memory % Command
17426 mysql 0.48 6.43 /usr/sbin/mysqld --basedir=/usr --datadir=/var/lib/mysql --plugin-dir=/usr/lib64/mysql/plugin --user=mysql --log-error=/var/lib/mysql/**REMOVED**.err --open-files-limit=10000 --pid-file=/var/lib/mysql/**REMOVED**.pid
13628 nobody 0.01 2.00 /usr/sbin/httpd -k start
17294 nobody 0.02 1.99 /usr/sbin/httpd -k start
17306 nobody 0.01 1.98 /usr/sbin/httpd -k start
17310 nobody 0.01 1.98 /usr/sbin/httpd -k start
For addtional details, see the attached dmesg log dump.
Preview of "oom_dmesg.txt"
[273102.806526] [17393] 508 17393 126963 3331 0 0 0 php-cgi
[273102.807671] [17394] 508 17394 126963 2610 1 0 0 php-cgi
[273102.808779] [17395] 508 17395 126963 3265 1 0 0 php-cgi
[273102.809841] [17396] 508 17396 126963 3680 1 0 0 php-cgi
[273102.810874] [17397] 508 17397 126963 2962 1 0 0 php-cgi
[273102.811938] [17398] 508 17398 126963 4172 1 0 0 php-cgi
[273102.813036] [17399] 508 17399 126963 3493 1 0 0 php-cgi
[273102.814145] [17400] 508 17400 77635 1182 0 0 0 php-cgi
[273102.815232] Out of memory: Kill process 1719 (mysqld) score 57 or sacrifice child
[273102.816318] Killed process 1719, UID 496, (mysqld) total-vm:862916kB, anon-rss:83580kB, file-rss:4kB-
Hello, The following document is useful for understanding how the OOM Killer works: OOM Killer - linux-mm.org Wiki You may also find this URL helpful: How to diagnose causes of oom-killer killing processes Thank you. 0
Please sign in to leave a comment.
Comments
1 comment