OpenVZ Forum


Home » General » Support » Openvz7 container hangs at out of memory
Re: Openvz7 container hangs at out of memory [message #52976 is a reply to message #52907] Mon, 11 September 2017 09:53 Go to previous messageGo to previous message
save92 is currently offline  save92
Messages: 1
Registered: September 2017
Junior Member
We are experiencing the same problem.
Kernel is 3.10.0-514.26.1.vz7.35.6

When a CT runs out of memory sometimes (not always), it freezes. When it happens, load avarage goes high and vzlist reports the same LA for each node:

vzlist -o ctid,laverage
CTID LAVERAGE
1075 51.21/47.98/73.69
1190 51.21/47.98/73.69
1324 51.21/47.98/73.69
1327 51.21/47.98/73.69
1332 51.21/47.98/73.69
1343 51.21/47.98/73.69

dmesg gets full of errors like:

[Mon Sep 11 11:27:10 2017] java invoked oom-killer: gfp_mask=0xd0, order=0, oom_score_adj=0
[Mon Sep 11 11:27:10 2017] java cpuset=1652 mems_allowed=0-1
[Mon Sep 11 11:27:10 2017] CPU: 7 PID: 248313 Comm: java ve: 1652 Not tainted 3.10.0-514.26.1.vz7.35.6 #1 35.6
[Mon Sep 11 11:27:10 2017] Hardware name: Supermicro SYS-1028TP-DTR/X10DRT-P, BIOS 2.0a 08/12/2016
[Mon Sep 11 11:27:10 2017] 0000000000000000 000000007626cf68 ffff881eeebd3c98 ffffffff816838f0
[Mon Sep 11 11:27:10 2017] ffff881eeebd3d28 ffffffff816801eb 0000000000000000 00000000000001f9
[Mon Sep 11 11:27:10 2017] ffff8812e044b890 ffff881eeebd3d20 ffffffff81191507 ffff881eeebd3fd8
[Mon Sep 11 11:27:10 2017] Call Trace:
[Mon Sep 11 11:27:10 2017] [<ffffffff816838f0>] dump_stack+0x19/0x1b
[Mon Sep 11 11:27:10 2017] [<ffffffff816801eb>] dump_header+0x8e/0x225
[Mon Sep 11 11:27:10 2017] [<ffffffff81191507>] ? __add_to_page_cache_locked+0x97/0x310
[Mon Sep 11 11:27:10 2017] [<ffffffff8119596c>] oom_kill_process+0x5ec/0x640
[Mon Sep 11 11:27:10 2017] [<ffffffff811bdbae>] ? get_task_oom_score_adj+0xee/0x100
[Mon Sep 11 11:27:10 2017] [<ffffffff8120a749>] mem_cgroup_oom_synchronize+0x499/0x4e0
[Mon Sep 11 11:27:10 2017] [<ffffffff811c5e14>] ? handle_mm_fault+0x9e4/0xdc0
[Mon Sep 11 11:27:10 2017] [<ffffffff81195f13>] pagefault_out_of_memory+0x13/0x50
[Mon Sep 11 11:27:10 2017] [<ffffffff8167e56a>] mm_fault_error+0x68/0x12b
[Mon Sep 11 11:27:10 2017] [<ffffffff8168f025>] __do_page_fault+0x395/0x450
[Mon Sep 11 11:27:10 2017] [<ffffffff8168f115>] do_page_fault+0x35/0x90
[Mon Sep 11 11:27:10 2017] [<ffffffff8168b2c8>] page_fault+0x28/0x30
[Mon Sep 11 11:27:10 2017] Task in /machine.slice/1652 killed as a result of limit of /machine.slice/1652
[Mon Sep 11 11:27:10 2017] memory: usage 16699852kB, limit 16777216kB, failcnt 0
[Mon Sep 11 11:27:10 2017] memory+swap: usage 16908288kB, limit 16908288kB, failcnt 63525
[Mon Sep 11 11:27:10 2017] kmem: usage 146276kB, limit 9007199254740988kB, failcnt 0
[Mon Sep 11 11:27:10 2017] Memory cgroup stats for /machine.slice/1652: rss_huge:7802880KB mapped_file:36KB shmem:348KB slab_unreclaimable:55796KB swap:208436KB cache:556KB rss:16553020KB slab_reclaim
able:34504KB inactive_anon:1985016KB active_anon:14568352KB inactive_file:12KB active_file:8KB unevictable:0KB
[Mon Sep 11 11:27:10 2017] Memory cgroup out of memory: Kill process 1008195 (java) score 217 or sacrifice child
[Mon Sep 11 11:27:10 2017] Killed process 37119 (java) in VE "1652" total-vm:9411892kB, anon-rss:3677412kB, file-rss:0kB, shmem-rss:0kB

 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: Two minor issues with Debian 9 (Stretch) installation.
Next Topic: never mind
Goto Forum:
  


Current Time: Fri Aug 22 04:05:12 GMT 2025

Total time taken to generate the page: 0.06133 seconds