腾讯云轻量服务器内存溢出,导致服务不可用

查看 27|回复 0
作者:s609926202   
打印日志 /var/log/messages 如下: https://files.catbox.moe/sjktiv.txt
提交工单说是 YDservice 导致的,如下:
Feb  2 15:43:43 erp kernel: YDService invoked oom-killer: gfp_mask=0x201da, order=0, oom_score_adj=0
Feb  2 15:43:43 erp kernel: YDService cpuset=/ mems_allowed=0
Feb  2 15:43:43 erp kernel: CPU: 3 PID: 145762 Comm: YDService Kdump: loaded Tainted: G               ------------ T 3.10.0-1160.76.1.el7.x86_64 #1
Feb  2 15:43:43 erp kernel: Hardware name: Tencent Cloud CVM, BIOS seabios-1.9.1-qemu-project.org 04/01/2014
Feb  2 15:43:43 erp kernel: Call Trace:
Feb  2 15:43:43 erp kernel: [] dump_stack+0x19/0x1b
Feb  2 15:43:43 erp kernel: [] dump_header+0x90/0x229
Feb  2 15:43:43 erp kernel: [] ? ktime_get_ts64+0x52/0xf0
Feb  2 15:43:43 erp kernel: [] ? delayacct_end+0x8f/0xb0
Feb  2 15:43:43 erp kernel: [] oom_kill_process+0x2cd/0x490
Feb  2 15:43:43 erp kernel: [] ? oom_unkillable_task+0xcd/0x120
Feb  2 15:43:43 erp kernel: [] out_of_memory+0x31a/0x500
Feb  2 15:43:43 erp kernel: [] __alloc_pages_nodemask+0xad4/0xbe0
Feb  2 15:43:43 erp kernel: [] alloc_pages_current+0x98/0x110
Feb  2 15:43:43 erp kernel: [] __page_cache_alloc+0x97/0xb0
Feb  2 15:43:43 erp kernel: [] filemap_fault+0x270/0x420
Feb  2 15:43:43 erp kernel: [] ext4_filemap_fault+0x36/0x50 [ext4]
Feb  2 15:43:43 erp kernel: [] __do_fault.isra.61+0x8a/0x100
Feb  2 15:43:43 erp kernel: [] do_read_fault.isra.63+0x4c/0x1b0
Feb  2 15:43:43 erp kernel: [] handle_mm_fault+0xa20/0xfb0
Feb  2 15:43:43 erp kernel: [] __do_page_fault+0x213/0x500
Feb  2 15:43:43 erp kernel: [] trace_do_page_fault+0x56/0x150
Feb  2 15:43:43 erp kernel: [] do_async_page_fault+0x22/0xf0
Feb  2 15:43:43 erp kernel: [] async_page_fault+0x28/0x30
Feb  2 15:43:43 erp kernel: Mem-Info:
Feb  2 15:43:43 erp kernel: active_anon:1066364 inactive_anon:702010 isolated_anon:0#012 active_file:7190 inactive_file:13796 isolated_file:0#012 unevictable:0 dirty:7 writeback:1 unstable:0#012 slab_reclaimable:22147 slab_unreclaimable:31150#012 mapped:1269 shmem:162 pagetables:32924 bounce:0#012 free:26222 free_pcp:963 free_cma:0
Feb  2 15:43:43 erp kernel: Node 0 DMA free:15892kB min:132kB low:164kB high:196kB active_anon:0kB inactive_anon:0kB active_file:0kB inactive_file:0kB unevictable:0kB isolated(anon):0kB isolated(file):0kB present:15992kB managed:15908kB mlocked:0kB dirty:0kB writeback:0kB mapped:0kB shmem:0kB slab_reclaimable:0kB slab_unreclaimable:16kB kernel_stack:0kB pagetables:0kB unstable:0kB bounce:0kB free_pcp:0kB local_pcp:0kB free_cma:0kB writeback_tmp:0kB pages_scanned:0 all_unreclaimable? yes
Feb  2 15:43:43 erp kernel: lowmem_reserve[]: 0 2830 7802 7802
Feb  2 15:43:43 erp kernel: Node 0 DMA32 free:53216kB min:24468kB low:30584kB high:36700kB active_anon:1178284kB inactive_anon:1309888kB active_file:18644kB inactive_file:30232kB unevictable:0kB isolated(anon):0kB isolated(file):0kB present:3129208kB managed:2898776kB mlocked:0kB dirty:24kB writeback:4kB mapped:3624kB shmem:164kB slab_reclaimable:47604kB slab_unreclaimable:66460kB kernel_stack:28704kB pagetables:51644kB unstable:0kB bounce:0kB free_pcp:2120kB local_pcp:364kB free_cma:0kB writeback_tmp:0kB pages_scanned:5386 all_unreclaimable? no
Feb  2 15:43:43 erp kernel: lowmem_reserve[]: 0 0 4971 4971
Feb  2 15:43:43 erp kernel: Node 0 Normal free:44576kB min:42976kB low:53720kB high:64464kB active_anon:3087172kB inactive_anon:1498152kB active_file:10632kB inactive_file:21084kB unevictable:0kB isolated(anon):0kB isolated(file):0kB present:5242880kB managed:5093932kB mlocked:0kB dirty:4kB writeback:0kB mapped:1452kB shmem:484kB slab_reclaimable:40984kB slab_unreclaimable:58124kB kernel_stack:72672kB pagetables:80052kB unstable:0kB bounce:0kB free_pcp:2024kB local_pcp:240kB free_cma:0kB writeback_tmp:0kB pages_scanned:35383 all_unreclaimable? no
Feb  2 15:43:43 erp kernel: lowmem_reserve[]: 0 0 0 0
Feb  2 15:43:43 erp kernel: Node 0 DMA: 1*4kB (U) 0*8kB 1*16kB (U) 0*32kB 2*64kB (U) 1*128kB (U) 1*256kB (U) 0*512kB 1*1024kB (U) 1*2048kB (M) 3*4096kB (M) = 15892kB
Feb  2 15:43:43 erp kernel: Node 0 DMA32: 2633*4kB (UEM) 302*8kB (UEM) 485*16kB (UEM) 451*32kB (EM) 155*64kB (EM) 66*128kB (UEM) 5*256kB (E) 0*512kB 0*1024kB 0*2048kB 0*4096kB = 54788kB
Feb  2 15:43:43 erp kernel: Node 0 Normal: 787*4kB (UEM) 804*8kB (UEM) 854*16kB (UEM) 328*32kB (UEM) 134*64kB (UEM) 19*128kB (EM) 0*256kB 0*512kB 0*1024kB 0*2048kB 0*4096kB = 44748kB
Feb  2 15:43:43 erp kernel: Node 0 hugepages_total=0 hugepages_free=0 hugepages_surp=0 hugepages_size=1048576kB
Feb  2 15:43:43 erp kernel: Node 0 hugepages_total=0 hugepages_free=0 hugepages_surp=0 hugepages_size=2048kB
Feb  2 15:43:43 erp kernel: 26945 total pagecache pages
Feb  2 15:43:43 erp kernel: 6381 pages in swap cache
Feb  2 15:43:43 erp kernel: Swap cache stats: add 7984839, delete 7978489, find 45854679/47861074
Feb  2 15:43:43 erp kernel: Free swap  = 0kB
Feb  2 15:43:43 erp kernel: Total swap = 4194300kB
Feb  2 15:43:43 erp kernel: 2097020 pages RAM
Feb  2 15:43:43 erp kernel: 0 pages HighMem/MovableOnly
Feb  2 15:43:43 erp kernel: 94866 pages reserved
看不太明白,请教下是 YDservice 导致的,还是 chrome 进程(日志文件中)太多导致的?
您需要登录后才可以回帖 登录 | 立即注册

返回顶部