OpenVZ Forum


Home » General » Support » Centos6 and OpenVZ memory problems (Node restarting due to excessive usage of Memory)
Centos6 and OpenVZ memory problems [message #43470] Wed, 14 September 2011 13:01 Go to previous message
rshosting is currently offline  rshosting
Messages: 1
Registered: September 2011
Junior Member
Hello,

First of all I would like to introduce myself here.. This is Sam here and have been in web hosting business since quite a long time now..

We have been using Openvz with SolusVM control panel to offer vitual servers to our clients. Our previous servers have Centos 5 and Openvz which runs like a charm.

Recently we had our new node ordered and I thought i better go with Centos 6. I had Openvz installed along with SolusVM on the server.

However, we have noticed, Openvz is not going along that well with Centos6, and is overusing the memory on the server. The node as a result gets rebooted frequently after every couple of days.

We suspected if it was the physical memory issue on the node, however it is good and not the main problem.

Existing Node details :
Server : Dell Quad Core Xeon E5620 2.40GHz
Physical RAM : 16 GB DDR3
SWAP : 16 GB
Drives : 4 x 1TB in RAID 10
OS : Centos 6 (64 bit)
Openvz Kernel : 2.6.32-042stab036.1

Listed below are few memory related mesages from dmesg :
Quote:

[92477.082356] Node 0 Normal scan:32 a_anon:34553 i_anon:1953 a_file:0 i_file:35 unevictable:0
[92477.082366] Node 1 DMA scan:0 a_anon:0 i_anon:0 a_file:0 i_file:0 unevictable:0
[92477.082376] Node 1 DMA32 scan:0 a_anon:1527 i_anon:286 a_file:0 i_file:1 unevictable:0
[92477.082386] Node 1 Normal scan:32 a_anon:41958 i_anon:2419 a_file:1 i_file:4 unevictable:0
[92477.082397] Total 82737 anon:82696 file:41 a_anon:78038 i_anon:4658 a_file:1 i_file:40 unevictable:0
[92477.082409] UB: 183 RAM: 88891 / 98304 [193] SWAP: 21808 / 32768 [193] KMEM: 24547328 / 201326592 [0] Dirty 0
[92486.775157] php invoked oom-killer: gfp_mask=0x200d2, order=0, oom_adj=0
[92486.775164] php cpuset=183 mems_allowed=0-1
[92486.775167] UB-183-Mem-Info:
[92486.775172] Node 0 Normal scan:1181 a_anon:40111 i_anon:4771 a_file:0 i_file:4 unevictable:0
[92486.775177] Node 1 DMA scan:0 a_anon:0 i_anon:0 a_file:0 i_file:0 unevictable:0
[92486.775181] Node 1 DMA32 scan:1536 a_anon:557 i_anon:253 a_file:0 i_file:2 unevictable:0
[92486.775186] Node 1 Normal scan:1473 a_anon:42414 i_anon:4538 a_file:1 i_file:4 unevictable:0
[92486.775192] Total 92657 anon:92644 file:13 a_anon:83082 i_anon:9562 a_file:1 i_file:12 unevictable:0
[92486.775197] UB: 183 RAM: 98291 / 98304 [194] SWAP: 32793 / 32768 [194] KMEM: 22822912 / 201326592 [0] Dirty 0
[92486.775202] Out of memory in UB: kill process 364821 (mysqld) or a child
[92486.775490] Killed process 364821 (mysqld) vsz:272224kB, anon-rss:22536kB, file-rss:420kB
[92486.908373] OOM killed process mysqld (pid=364821, ve=183) exited, free=263440.
[92486.908543] UB-183-Mem-Info:
[92486.908549] Node 0 Normal scan:89444 a_anon:36719 i_anon:4781 a_file:1 i_file:127 unevictable:0
[92486.908556] Node 1 DMA scan:0 a_anon:0 i_anon:0 a_file:0 i_file:0 unevictable:0
[92486.908563] Node 1 DMA32 scan:46915 a_anon:555 i_anon:261 a_file:0 i_file:0 unevictable:0
[92486.908570] Node 1 Normal scan:9272 a_anon:40212 i_anon:4538 a_file:0 i_file:5 unevictable:0
[92486.908579] Total 87199 anon:87066 file:133 a_anon:77486 i_anon:9580 a_file:1 i_file:132 unevictable:0
[92486.908587] UB: 183 RAM: 92852 / 98304 [208] SWAP: 32276 / 32768 [208] KMEM: 22646784 / 201326592 [0] Dirty 0
[92487.368083] mysqld invoked oom-killer: gfp_mask=0x200d2, order=0, oom_adj=0
[92487.368090] mysqld cpuset=183 mems_allowed=0-1
[92487.368093] Out of memory in UB: kill process 364329 (php) or a child
[92487.368173] Killed process 364329 (php) vsz:128812kB, anon-rss:28076kB, file-rss:788kB
[92487.373705] OOM killed process php (pid=364329, ve=183) exited, free=274441.
[92487.793675] php invoked oom-killer: gfp_mask=0x200d2, order=0, oom_adj=0
[92487.793682] php cpuset=183 mems_allowed=0-1
[92487.793685] Out of memory in UB: kill process 364914 (mysqld) or a child
[92487.793925] Killed process 364914 (mysqld) vsz:271892kB, anon-rss:13736kB, file-rss:432kB
[92487.795747] OOM killed process mysqld (pid=364914, ve=183) exited, free=270716.
[92487.924192] php invoked oom-killer: gfp_mask=0x200d2, order=0, oom_adj=0
[92487.924197] php cpuset=183 mems_allowed=0-1
[92487.924200] Out of memory in UB: kill process 364684 (php) or a child
[92487.924279] Killed process 364684 (php) vsz:130040kB, anon-rss:36088kB, file-rss:1056kB
[92487.933825] OOM killed process php (pid=364684, ve=183) exited, free=274379.
[94157.964842] php invoked oom-killer: gfp_mask=0x200d2, order=0, oom_adj=0
[94157.964847] php cpuset=188 mems_allowed=0-1
[94157.964850] UB-188-Mem-Info:
[94157.964853] Node 0 Normal scan:242 a_anon:56065 i_anon:7924 a_file:0 i_file:0 unevictable:0
[94157.964858] Node 1 DMA scan:0 a_anon:0 i_anon:0 a_file:0 i_file:0 unevictable:0
[94157.964862] Node 1 DMA32 scan:0 a_anon:2847 i_anon:806 a_file:0 i_file:0 unevictable:0
[94157.964866] Node 1 Normal scan:30 a_anon:20771 i_anon:3489 a_file:9 i_file:11 unevictable:0
[94157.964871] Total 91922 anon:91902 file:20 a_anon:79683 i_anon:12219 a_file:9 i_file:11 unevictable:0
[94157.964876] UB: 188 RAM: 98145 / 98304 [12] SWAP: 32816 / 32768 [12] KMEM: 21098496 / 201326592 [0] Dirty 0
[94157.964880] Out of memory in UB: kill process 421327 (php) or a child
[94157.965144] Killed process 421327 (php) vsz:137724kB, anon-rss:37968kB, file-rss:376kB
[94157.971771] OOM killed process php (pid=421327, ve=188) exited, free=326718.
[94157.971776] UB-188-Mem-Info:
[94157.971781] Node 0 Normal scan:0 a_anon:49288 i_anon:7805 a_file:145 i_file:408 unevictable:0
[94157.971786] Node 1 DMA scan:0 a_anon:0 i_anon:0 a_file:0 i_file:0 unevictable:0
[94157.971790] Node 1 DMA32 scan:0 a_anon:3019 i_anon:663 a_file:0 i_file:1 unevictable:0
[94157.971795] Node 1 Normal scan:0 a_anon:17992 i_anon:3434 a_file:133 i_file:182 unevictable:0
[94157.971801] Total 83081 anon:82201 file:880 a_anon:70299 i_anon:11902 a_file:278 i_file:602 unevictable:0
[94157.971807] UB: 188 RAM: 89295 / 98304 [12] SWAP: 31248 / 32768 [12] KMEM: 20742144 / 201326592 [0] Dirty 0
[96077.906840] php invoked oom-killer: gfp_mask=0x200d2, order=0, oom_adj=0
[96077.906847] php cpuset=183 mems_allowed=0-1
[96077.906850] __ratelimit: 6 callbacks suppressed
[96077.906853] UB-183-Mem-Info:
[96077.906858] Node 0 Normal scan:5276 a_anon:53731 i_anon:6033 a_file:0 i_file:6 unevictable:0
[96077.906863] Node 1 DMA scan:0 a_anon:0 i_anon:0 a_file:0 i_file:0 unevictable:0
[96077.906867] Node 1 DMA32 scan:9 a_anon:3187 i_anon:664 a_file:0 i_file:0 unevictable:0
[96077.906872] Node 1 Normal scan:9192 a_anon:24625 i_anon:3222 a_file:2 i_file:29 unevictable:0
[96077.906877] Total 91498 anon:91462 file:36 a_anon:81543 i_anon:9919 a_file:2 i_file:34 unevictable:0
[96077.906883] UB: 183 RAM: 98272 / 98304 [229] SWAP: 32803 / 32768 [229] KMEM: 21028864 / 201326592 [0] Dirty 0
[96077.906888] Out of memory in UB: kill process 365734 (mysqld_safe) or a child
[96077.907231] Killed process 365766 (mysqld) vsz:280488kB, anon-rss:31424kB, file-rss:488kB
[96077.920155] OOM killed process mysqld (pid=486348, ve=183) exited, free=255613.
[96077.920161] UB-183-Mem-Info:
[96077.920165] Node 0 Normal scan:5725 a_anon:50185 i_anon:4891 a_file:0 i_file:0 unevictable:0
[96077.920170] Node 1 DMA scan:0 a_anon:0 i_anon:0 a_file:0 i_file:0 unevictable:0
[96077.920175] Node 1 DMA32 scan:9 a_anon:2505 i_anon:569 a_file:0 i_file:0 unevictable:0
[96077.920180] Node 1 Normal scan:9917 a_anon:22872 i_anon:2832 a_file:2 i_file:29 unevictable:0
[96077.920185] Total 83885 anon:83854 file:31 a_anon:75562 i_anon:8292 a_file:2 i_file:29 unevictable:0
[96077.920191] UB: 183 RAM: 90762 / 98304 [229] SWAP: 22422 / 32768 [229] KMEM: 20586496 / 201326592 [0] Dirty 0
[97492.758629] php invoked oom-killer: gfp_mask=0x200d2, order=0, oom_adj=0
[97492.758636] php cpuset=183 mems_allowed=0-1
[97492.758640] UB-183-Mem-Info:
[97492.758644] Node 0 Normal scan:64 a_anon:42773 i_anon:4799 a_file:0 i_file:0 unevictable:0
[97492.758649] Node 1 DMA scan:0 a_anon:0 i_anon:0 a_file:0 i_file:0 unevictable:0
[97492.758654] Node 1 DMA32 scan:27 a_anon:26398 i_anon:3277 a_file:0 i_file:0 unevictable:0
[97492.758658] Node 1 Normal scan:136 a_anon:13681 i_anon:2217 a_file:0 i_file:0 unevictable:0
[97492.758664] Total 93145 anon:93145 file:0 a_anon:82852 i_anon:10293 a_file:0 i_file:0 unevictable:0
[97492.758669] UB: 183 RAM: 98302 / 98304 [230] SWAP: 32788 / 32768 [230] KMEM: 19886080 / 201326592 [0] Dirty 0
[97492.758674] Out of memory in UB: kill process 365734 (mysqld_safe) or a child
[97492.759076] Killed process 486584 (mysqld) vsz:277728kB, anon-rss:23284kB, file-rss:528kB
[97492.769883] OOM killed process mysqld (pid=486668, ve=183) exited, free=266622.
[97492.770007] UB-183-Mem-Info:
[97492.770014] Node 0 Normal scan:32 a_anon:40343 i_anon:3050 a_file:2 i_file:225 unevictable:0
[97492.770021] Node 1 DMA scan:0 a_anon:0 i_anon:0 a_file:0 i_file:0 unevictable:0
[97492.770028] Node 1 DMA32 scan:32 a_anon:25652 i_anon:3115 a_file:0 i_file:0 unevictable:0
[97492.770036] Node 1 Normal scan:32 a_anon:12981 i_anon:2116 a_file:1 i_file:8 unevictable:0
[97492.770044] Total 87493 anon:87257 file:236 a_anon:78976 i_anon:8281 a_file:3 i_file:233 unevictable:0
[97492.770050] UB: 183 RAM: 92719 / 98304 [238] SWAP: 24116 / 32768 [238] KMEM: 19759104 / 201326592 [0] Dirty 0
[108608.489396] CT: 188: stopped
[108609.672423] CT: 188: started
[113206.445641] Core dump to |/usr/libexec/abrt-hook-ccpp /var/spool/abrt 1579 11 503 0 pipe failed
[113206.445658] Core dump to |/usr/libexec/abrt-hook-ccpp /var/spool/abrt 1582 11 503 0 pipe failed
[113206.445671] Core dump to |/usr/libexec/abrt-hook-ccpp /var/spool/abrt 1580 11 503 0 pipe failed
[113206.445682] Core dump to |/usr/libexec/abrt-hook-ccpp /var/spool/abrt 1573 11 503 0 pipe failed
[113206.445690] Core dump to |/usr/libexec/abrt-hook-ccpp /var/spool/abrt 1581 11 503 0 pipe failed
[113206.445807] Core dump to |/usr/libexec/abrt-hook-ccpp /var/spool/abrt 1584 11 503 0 pipe failed
[113206.445815] Core dum
...

 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: vzctl --cpuunits --cpus
Next Topic: yum install vzkernel
Goto Forum:
  


Current Time: Fri Dec 01 13:54:22 GMT 2023

Total time taken to generate the page: 0.05392 seconds