Bug 188071

Summary: OOM Killer kicking in with pleanty of memory to use.
Product: Memory Management Reporter: Jim Woodward (jim)
Component: OtherAssignee: Andrew Morton (akpm)
Status: NEW ---    
Severity: high CC: jim
Priority: P1    
Hardware: Intel   
OS: Linux   
Kernel Version: 4.8.8 Subsystem:
Regression: No Bisected commit-id:
Attachments: .config file for alwaysnever.net Linux kernel 4.8.8 build.

Description Jim Woodward 2016-11-18 04:47:06 UTC
Created attachment 244991 [details]
.config file for alwaysnever.net Linux kernel 4.8.8 build.

I have a small Linux box running a 32bit kernel with PAE enabled, the machine has 8GB of RAM and up until recently didnt have (but now has since upgrading from 4.7.x) a 1GB swap partition.

Up until the 4.8.x tree I had no issues at all with custom built kernels on my Debian 8.x (currently 8.6) system, but after about 12 to 72 hours I will start to see the below occur and they will occur without using a single byte of swap.

This did not happen with 4.7 or earlier kernels and has happened throughout all of the 4.8.x kernels I have built. 

Hardware is a Lenovo ThinkPad T400 running the latest BIOS for that platform (3.24 as per details below) - CPU is: Intel(R) Core(TM)2 Duo CPU     P8400  @ 2.26GHz

Below is a dump of the info from 4.8.8, I will also include one from 4.8.7 below it.

[47902.623499] php invoked oom-killer: gfp_mask=0x2420848(GFP_NOFS|__GFP_NOFAIL|__GFP_HARDWALL|__GFP_MOVABLE), order=0, oom_score_adj=0
[47902.623502] php cpuset=/ mems_allowed=0
[47902.623510] CPU: 0 PID: 27318 Comm: php Not tainted 4.8.8-alwaysnever #1
[47902.623511] Hardware name: LENOVO 2767RV8/2767RV8, BIOS 7UET94WW (3.24 ) 10/17/2012
[47902.623513]  00200286 c252feca d5989b24 c12e81cc d5989c04 ea2b9800 c11caffd c167a3f4
[47902.623518]  f187c340 02420848 d5989c10 00000000 00000000 0000000c 00000000 00200282
[47902.623522]  d5989b6c c12ee80a f0850600 ef9cde00 ea2b9bcc c167d7d6 ea2b9800 d5989b6c
[47902.623527] Call Trace:
[47902.623537]  [<c12e81cc>] ? dump_stack+0x55/0x79
[47902.623540]  [<c11caffd>] ? dump_header+0x51/0x19f
[47902.623543]  [<c12ee80a>] ? ___ratelimit+0x7a/0x100
[47902.623546]  [<c11630f2>] ? oom_kill_process+0x212/0x3d0
[47902.623550]  [<c1263153>] ? security_capable_noaudit+0x43/0x60
[47902.623553]  [<c1067d8a>] ? has_capability_noaudit+0x1a/0x30
[47902.623555]  [<c1162622>] ? oom_badness+0xf2/0x160
[47902.623557]  [<c1163514>] ? out_of_memory+0x204/0x240
[47902.623559]  [<c116775a>] ? __alloc_pages_nodemask+0xb4a/0xc10
[47902.623562]  [<c115e6f7>] ? pagecache_get_page+0xd7/0x280
[47902.623565]  [<c12074c0>] ? __getblk_slow+0xe0/0x310
[47902.623567]  [<c12088fc>] ? __breadahead+0x2c/0x70
[47902.623581]  [<f8504d1e>] ? __ext4_get_inode_loc+0x44e/0x4c0 [ext4]
[47902.623584]  [<c1090553>] ? update_curr+0xe3/0x190
[47902.623591]  [<f8509b44>] ? ext4_reserve_inode_write+0x24/0x80 [ext4]
[47902.623598]  [<f8509be9>] ? ext4_mark_inode_dirty+0x49/0x280 [ext4]
[47902.623605]  [<f853c24b>] ? __ext4_journal_start_sb+0x6b/0xe0 [ext4]
[47902.623612]  [<f850e33a>] ? ext4_dirty_inode+0x4a/0x80 [ext4]
[47902.623619]  [<f850e33a>] ? ext4_dirty_inode+0x4a/0x80 [ext4]
[47902.623621]  [<c11fe368>] ? __mark_inode_dirty+0x178/0x370
[47902.623624]  [<c11eb9f8>] ? generic_update_time+0x68/0xd0
[47902.623626]  [<c10c7157>] ? current_fs_time+0x27/0x30
[47902.623627]  [<c11eb990>] ? ilookup5+0x60/0x60
[47902.623629]  [<c11eb0c4>] ? file_update_time+0xa4/0xf0
[47902.623631]  [<c1160397>] ? __generic_file_write_iter+0x87/0x200
[47902.623637]  [<f85002df>] ? ext4_file_write_iter+0x1af/0x530 [ext4]
[47902.623639]  [<c11eb9f8>] ? generic_update_time+0x68/0xd0
[47902.623641]  [<c10c7157>] ? current_fs_time+0x27/0x30
[47902.623642]  [<c11eb990>] ? ilookup5+0x60/0x60
[47902.623644]  [<c11eb0cd>] ? file_update_time+0xad/0xf0
[47902.623646]  [<c11d7e21>] ? pipe_write+0x371/0x400
[47902.623649]  [<c11cee02>] ? __vfs_write+0xf2/0x160
[47902.623651]  [<c11cf71b>] ? vfs_write+0x9b/0x1b0
[47902.623652]  [<c11d07ef>] ? SyS_write+0x4f/0xb0
[47902.623655]  [<c1001d95>] ? do_fast_syscall_32+0x95/0x220
[47902.623656]  [<c1001534>] ? exit_to_usermode_loop+0x74/0xe0
[47902.623659]  [<c1582cca>] ? sysenter_past_esp+0x47/0x75
[47902.623660] Mem-Info:
[47902.623665] active_anon:127596 inactive_anon:81156 isolated_anon:0
 active_file:786591 inactive_file:804610 isolated_file:224
 unevictable:0 dirty:0 writeback:3 unstable:0
 slab_reclaimable:186976 slab_unreclaimable:5456
 mapped:28073 shmem:9878 pagetables:1729 bounce:2
 free:59472 free_pcp:269 free_cma:0
[47902.623669] Node 0 active_anon:510384kB inactive_anon:324624kB active_file:3146364kB inactive_file:3218440kB unevictable:0kB isolated(anon):0kB isolated(file):896kB mapped:112292kB dirty:0kB writeback:12kB shmem:0kB shmem_thp: 0kB shmem_pmdmapped: 0kB anon_thp: 39512kB writeback_tmp:0kB unstable:0kB pages_scanned:11399181 all_unreclaimable? yes
[47902.623673] DMA free:3824kB min:788kB low:984kB high:1180kB active_anon:0kB inactive_anon:0kB active_file:0kB inactive_file:0kB unevictable:0kB writepending:0kB present:15988kB managed:15912kB mlocked:0kB slab_reclaimable:10628kB slab_unreclaimable:492kB kernel_stack:8kB pagetables:0kB bounce:0kB free_pcp:0kB local_pcp:0kB free_cma:0kB
[47902.623674] lowmem_reserve[]: 0 781 8012 8012
[47902.623680] Normal free:39648kB min:39760kB low:49700kB high:59640kB active_anon:0kB inactive_anon:0kB active_file:60kB inactive_file:8kB unevictable:0kB writepending:0kB present:897016kB managed:813724kB mlocked:0kB slab_reclaimable:737276kB slab_unreclaimable:21332kB kernel_stack:1968kB pagetables:6916kB bounce:8kB free_pcp:792kB local_pcp:392kB free_cma:0kB
[47902.623681] lowmem_reserve[]: 0 0 57843 57843
[47902.623687] HighMem free:194416kB min:512kB low:92444kB high:184376kB active_anon:510384kB inactive_anon:324624kB active_file:3146324kB inactive_file:3218372kB unevictable:0kB writepending:12kB present:7403948kB managed:7403948kB mlocked:0kB slab_reclaimable:0kB slab_unreclaimable:0kB kernel_stack:0kB pagetables:0kB bounce:0kB free_pcp:284kB local_pcp:164kB free_cma:0kB
[47902.623687] lowmem_reserve[]: 0 0 0 0
[47902.623690] DMA: 20*4kB (UM) 32*8kB (UM) 104*16kB (UME) 11*32kB (UME) 7*64kB (UME) 4*128kB (UM) 2*256kB (M) 0*512kB 0*1024kB 0*2048kB 0*4096kB = 3824kB
[47902.623701] Normal: 4414*4kB (UE) 1897*8kB (UME) 426*16kB (UME) 0*32kB 0*64kB 0*128kB 0*256kB 0*512kB 0*1024kB 0*2048kB 0*4096kB = 39648kB
[47902.623709] HighMem: 368*4kB (M) 326*8kB (UM) 108*16kB (UM) 112*32kB (UM) 535*64kB (UM) 486*128kB (UM) 26*256kB (UM) 14*512kB (UM) 19*1024kB (UM) 3*2048kB (UM) 12*4096kB (UM) = 194416kB
[47902.623722] Node 0 hugepages_total=0 hugepages_free=0 hugepages_surp=0 hugepages_size=2048kB
[47902.623723] 1601351 total pagecache pages
[47902.623725] 0 pages in swap cache
[47902.623726] Swap cache stats: add 0, delete 0, find 0/0
[47902.623727] Free swap  = 979928kB
[47902.623727] Total swap = 979928kB
[47902.623728] 2079238 pages RAM
[47902.623729] 1850987 pages HighMem/MovableOnly
[47902.623730] 20842 pages reserved
[47902.623731] [ pid ]   uid  tgid total_vm      rss nr_ptes nr_pmds swapents 
[47902.623919] Out of memory: Kill process 1073 (clamd) score 41 or sacrifice child
[47902.623942] Killed process 1073 (clamd) total-vm:444544kB, anon-rss:361580kB, file-rss:22364kB, shmem-rss:0kB
[47902.663239] php invoked oom-killer: gfp_mask=0x2420848(GFP_NOFS|__GFP_NOFAIL|__GFP_HARDWALL|__GFP_MOVABLE), order=0, oom_score_adj=0
[47902.663241] php cpuset=/ mems_allowed=0
[47902.663247] CPU: 0 PID: 27318 Comm: php Not tainted 4.8.8-alwaysnever #1
[47902.663248] Hardware name: LENOVO 2767RV8/2767RV8, BIOS 7UET94WW (3.24 ) 10/17/2012
[47902.663249]  00000286 c252feca d5989b24 c12e81cc d5989c04 f082a000 c11caffd c167a3f4
[47902.663254]  f187c340 02420848 d5989c10 00000000 00000000 c1583ebb f7729dc0 00000282
[47902.663258]  d5989b6c c12ee80a f11f2b40 f12e5a00 f082a3cc c167d7d6 f082a000 d5989b6c
[47902.663263] Call Trace:
[47902.663270]  [<c12e81cc>] ? dump_stack+0x55/0x79
[47902.663273]  [<c11caffd>] ? dump_header+0x51/0x19f
[47902.663276]  [<c1583ebb>] ? do_IRQ+0x4b/0xd0
[47902.663278]  [<c12ee80a>] ? ___ratelimit+0x7a/0x100
[47902.663281]  [<c11630f2>] ? oom_kill_process+0x212/0x3d0
[47902.663284]  [<c1263153>] ? security_capable_noaudit+0x43/0x60
[47902.663288]  [<c1067d8a>] ? has_capability_noaudit+0x1a/0x30
[47902.663289]  [<c1162622>] ? oom_badness+0xf2/0x160
[47902.663291]  [<c1163514>] ? out_of_memory+0x204/0x240
[47902.663293]  [<c116775a>] ? __alloc_pages_nodemask+0xb4a/0xc10
[47902.663296]  [<c115e6f7>] ? pagecache_get_page+0xd7/0x280
[47902.663299]  [<c12074c0>] ? __getblk_slow+0xe0/0x310
[47902.663301]  [<c12088fc>] ? __breadahead+0x2c/0x70
[47902.663314]  [<f8504d1e>] ? __ext4_get_inode_loc+0x44e/0x4c0 [ext4]
[47902.663316]  [<c1090553>] ? update_curr+0xe3/0x190
[47902.663323]  [<f8509b44>] ? ext4_reserve_inode_write+0x24/0x80 [ext4]
[47902.663330]  [<f8509be9>] ? ext4_mark_inode_dirty+0x49/0x280 [ext4]
[47902.663337]  [<f853c24b>] ? __ext4_journal_start_sb+0x6b/0xe0 [ext4]
[47902.663344]  [<f850e33a>] ? ext4_dirty_inode+0x4a/0x80 [ext4]
[47902.663350]  [<f850e33a>] ? ext4_dirty_inode+0x4a/0x80 [ext4]
[47902.663353]  [<c11fe368>] ? __mark_inode_dirty+0x178/0x370
[47902.663355]  [<c11eb9f8>] ? generic_update_time+0x68/0xd0
[47902.663357]  [<c10c7157>] ? current_fs_time+0x27/0x30
[47902.663359]  [<c11eb990>] ? ilookup5+0x60/0x60
[47902.663360]  [<c11eb0c4>] ? file_update_time+0xa4/0xf0
[47902.663362]  [<c1160397>] ? __generic_file_write_iter+0x87/0x200
[47902.663368]  [<f85002df>] ? ext4_file_write_iter+0x1af/0x530 [ext4]
[47902.663370]  [<c11eb9f8>] ? generic_update_time+0x68/0xd0
[47902.663372]  [<c10c7157>] ? current_fs_time+0x27/0x30
[47902.663373]  [<c11eb990>] ? ilookup5+0x60/0x60
[47902.663375]  [<c11eb0cd>] ? file_update_time+0xad/0xf0
[47902.663377]  [<c11d7e21>] ? pipe_write+0x371/0x400
[47902.663379]  [<c11cee02>] ? __vfs_write+0xf2/0x160
[47902.663381]  [<c11cf71b>] ? vfs_write+0x9b/0x1b0
[47902.663383]  [<c11d07ef>] ? SyS_write+0x4f/0xb0
[47902.663385]  [<c1001d95>] ? do_fast_syscall_32+0x95/0x220
[47902.663387]  [<c1001534>] ? exit_to_usermode_loop+0x74/0xe0
[47902.663388]  [<c1582cca>] ? sysenter_past_esp+0x47/0x75
[47902.663390] Mem-Info:
[47902.663395] active_anon:127596 inactive_anon:81156 isolated_anon:0
 active_file:786589 inactive_file:804610 isolated_file:224
 unevictable:0 dirty:0 writeback:3 unstable:0
 slab_reclaimable:186976 slab_unreclaimable:5456
 mapped:28044 shmem:9878 pagetables:1729 bounce:2
 free:59472 free_pcp:261 free_cma:0
[47902.663399] Node 0 active_anon:510384kB inactive_anon:324624kB active_file:3146356kB inactive_file:3218440kB unevictable:0kB isolated(anon):0kB isolated(file):896kB mapped:112176kB dirty:0kB writeback:12kB shmem:0kB shmem_thp: 0kB shmem_pmdmapped: 0kB anon_thp: 39512kB writeback_tmp:0kB unstable:0kB pages_scanned:11792535 all_unreclaimable? yes
[47902.663403] DMA free:3824kB min:788kB low:984kB high:1180kB active_anon:0kB inactive_anon:0kB active_file:0kB inactive_file:0kB unevictable:0kB writepending:0kB present:15988kB managed:15912kB mlocked:0kB slab_reclaimable:10628kB slab_unreclaimable:492kB kernel_stack:8kB pagetables:0kB bounce:0kB free_pcp:0kB local_pcp:0kB free_cma:0kB
[47902.663404] lowmem_reserve[]: 0 781 8012 8012
[47902.663411] Normal free:39648kB min:39760kB low:49700kB high:59640kB active_anon:0kB inactive_anon:0kB active_file:0kB inactive_file:8kB unevictable:0kB writepending:0kB present:897016kB managed:813724kB mlocked:0kB slab_reclaimable:737276kB slab_unreclaimable:21332kB kernel_stack:1968kB pagetables:6916kB bounce:8kB free_pcp:848kB local_pcp:388kB free_cma:0kB
[47902.663411] lowmem_reserve[]: 0 0 57843 57843
[47902.663417] HighMem free:194416kB min:512kB low:92444kB high:184376kB active_anon:510384kB inactive_anon:324624kB active_file:3146324kB inactive_file:3218372kB unevictable:0kB writepending:12kB present:7403948kB managed:7403948kB mlocked:0kB slab_reclaimable:0kB slab_unreclaimable:0kB kernel_stack:0kB pagetables:0kB bounce:0kB free_pcp:192kB local_pcp:116kB free_cma:0kB
[47902.663418] lowmem_reserve[]: 0 0 0 0
[47902.663420] DMA: 20*4kB (UM) 32*8kB (UM) 104*16kB (UME) 11*32kB (UME) 7*64kB (UME) 4*128kB (UM) 2*256kB (M) 0*512kB 0*1024kB 0*2048kB 0*4096kB = 3824kB
[47902.663431] Normal: 4414*4kB (UE) 1897*8kB (UME) 426*16kB (UME) 0*32kB 0*64kB 0*128kB 0*256kB 0*512kB 0*1024kB 0*2048kB 0*4096kB = 39648kB
[47902.663439] HighMem: 368*4kB (M) 326*8kB (UM) 108*16kB (UM) 112*32kB (UM) 535*64kB (UM) 486*128kB (UM) 26*256kB (UM) 14*512kB (UM) 19*1024kB (UM) 3*2048kB (UM) 12*4096kB (UM) = 194416kB
[47902.663452] Node 0 hugepages_total=0 hugepages_free=0 hugepages_surp=0 hugepages_size=2048kB
[47902.663452] 1601322 total pagecache pages
[47902.663454] 0 pages in swap cache
[47902.663455] Swap cache stats: add 0, delete 0, find 0/0
[47902.663456] Free swap  = 979928kB
[47902.663457] Total swap = 979928kB
[47902.663458] 2079238 pages RAM
[47902.663458] 1850987 pages HighMem/MovableOnly
[47902.663459] 20842 pages reserved
[47902.663460] [ pid ]   uid  tgid total_vm      rss nr_ptes nr_pmds swapents 
[47902.663638] Out of memory: Kill process 2305 (/usr/sbin/amavi) score 9 or sacrifice child
[47902.663659] Killed process 2305 (/usr/sbin/amavi) total-vm:92456kB, anon-rss:77784kB, file-rss:7292kB, shmem-rss:0kB





Sample from Kernel 4.8.7 logs:


[244046.212439] rsync invoked oom-killer: gfp_mask=0x2420848(GFP_NOFS|__GFP_NOFAIL|__GFP_HARDWALL|__GFP_MOVABLE), order=0, oom_score_adj=0
[244046.212442] rsync cpuset=/ mems_allowed=0
[244046.212449] CPU: 0 PID: 3196 Comm: rsync Not tainted 4.8.7-alwaysnever #1
[244046.212450] Hardware name: LENOVO 2767RV8/2767RV8, BIOS 7UET94WW (3.24 ) 10/17/2012
[244046.212451]  00000286 4df50304 eb739ba8 c12e81cc eb739c88 efdef800 c11caffd c16793e4
[244046.212456]  d96ed340 02420848 eb739c94 00000000 00000000 f7729e00 f7729dc0 00000282
[244046.212460]  eb739bf0 c12ee80a eff8e2c0 ef163400 efdefbcc c167c7c6 efdef800 eb739bf0
[244046.212465] Call Trace:
[244046.212473]  [<c12e81cc>] ? dump_stack+0x55/0x79
[244046.212477]  [<c11caffd>] ? dump_header+0x51/0x19f
[244046.212479]  [<c12ee80a>] ? ___ratelimit+0x7a/0x100
[244046.212483]  [<c11630f2>] ? oom_kill_process+0x212/0x3d0
[244046.212487]  [<c1263153>] ? security_capable_noaudit+0x43/0x60
[244046.212490]  [<c1067d8a>] ? has_capability_noaudit+0x1a/0x30
[244046.212492]  [<c1162622>] ? oom_badness+0xf2/0x160
[244046.212494]  [<c1163514>] ? out_of_memory+0x204/0x240
[244046.212496]  [<c116775a>] ? __alloc_pages_nodemask+0xb4a/0xc10
[244046.212499]  [<c115e6f7>] ? pagecache_get_page+0xd7/0x280
[244046.212502]  [<c12074c0>] ? __getblk_slow+0xe0/0x310
[244046.212518]  [<f850c836>] ? ext4_getblk+0xb6/0x240 [ext4]
[244046.212525]  [<f850c9e3>] ? ext4_bread+0x23/0xb0 [ext4]
[244046.212531]  [<f850c9e3>] ? ext4_bread+0x23/0xb0 [ext4]
[244046.212538]  [<f851651e>] ? __ext4_read_dirblock+0x2e/0x3f0 [ext4]
[244046.212545]  [<f851651e>] ? __ext4_read_dirblock+0x2e/0x3f0 [ext4]
[244046.212551]  [<f8504d35>] ? ext4_htree_store_dirent+0x35/0x170 [ext4]
[244046.212556]  [<f8504dc3>] ? ext4_htree_store_dirent+0xc3/0x170 [ext4]
[244046.212563]  [<f8516f46>] ? htree_dirblock_to_tree+0x46/0x1b0 [ext4]
[244046.212571]  [<f85181fd>] ? ext4_htree_fill_tree+0x1ed/0x2e0 [ext4]
[244046.212577]  [<f8503efa>] ? free_rb_tree_fname+0x5a/0x80 [ext4]
[244046.212583]  [<f8504a67>] ? ext4_readdir+0x6e7/0x960 [ext4]
[244046.212586]  [<c126438f>] ? security_file_permission+0x9f/0xc0
[244046.212589]  [<c11e38b3>] ? iterate_dir+0x183/0x1a0
[244046.212591]  [<c11cde1e>] ? do_sys_open+0x17e/0x210
[244046.212593]  [<c11e3e75>] ? SyS_getdents64+0x85/0x120
[244046.212595]  [<c11e3af0>] ? fillonedir+0x100/0x100
[244046.212598]  [<c1001d95>] ? do_fast_syscall_32+0x95/0x220
[244046.212599]  [<c1001534>] ? exit_to_usermode_loop+0x74/0xe0
[244046.212602]  [<c1582a4a>] ? sysenter_past_esp+0x47/0x75
[244046.212603] Mem-Info:
[244046.212608] active_anon:123582 inactive_anon:120917 isolated_anon:0
 active_file:1038330 inactive_file:536497 isolated_file:207
 unevictable:0 dirty:0 writeback:0 unstable:0
 slab_reclaimable:185822 slab_unreclaimable:6218
 mapped:23242 shmem:28311 pagetables:1916 bounce:0
 free:37933 free_pcp:313 free_cma:0
[244046.212612] Node 0 active_anon:494328kB inactive_anon:483668kB active_file:4153320kB inactive_file:2145988kB unevictable:0kB isolated(anon):0kB isolated(file):828kB mapped:92968kB dirty:0kB writeback:0kB shmem:0kB shmem_thp: 0kB shmem_pmdmapped: 0kB anon_thp: 113244kB writeback_tmp:0kB unstable:0kB pages_scanned:11848286 all_unreclaimable? yes
[244046.212616] DMA free:3888kB min:788kB low:984kB high:1180kB active_anon:0kB inactive_anon:0kB active_file:0kB inactive_file:0kB unevictable:0kB writepending:0kB present:15988kB managed:15912kB mlocked:0kB slab_reclaimable:10796kB slab_unreclaimable:364kB kernel_stack:16kB pagetables:16kB bounce:0kB free_pcp:0kB local_pcp:0kB free_cma:0kB
[244046.212617] lowmem_reserve[]: 0 781 8012 8012
[244046.212623] Normal free:39656kB min:39760kB low:49700kB high:59640kB active_anon:0kB inactive_anon:0kB active_file:0kB inactive_file:0kB unevictable:0kB writepending:0kB present:897016kB managed:813732kB mlocked:0kB slab_reclaimable:732492kB slab_unreclaimable:24508kB kernel_stack:2168kB pagetables:7648kB bounce:0kB free_pcp:1036kB local_pcp:688kB free_cma:0kB
[244046.212624] lowmem_reserve[]: 0 0 57843 57843
[244046.212630] HighMem free:108188kB min:512kB low:92444kB high:184376kB active_anon:494328kB inactive_anon:483668kB active_file:4153316kB inactive_file:2145988kB unevictable:0kB writepending:0kB present:7403948kB managed:7403948kB mlocked:0kB slab_reclaimable:0kB slab_unreclaimable:0kB kernel_stack:0kB pagetables:0kB bounce:0kB free_pcp:216kB local_pcp:128kB free_cma:0kB
[244046.212630] lowmem_reserve[]: 0 0 0 0
[244046.212633] DMA: 54*4kB (UE) 133*8kB (UE) 79*16kB (UE) 36*32kB (UME) 3*64kB (UE) 0*128kB 0*256kB 0*512kB 0*1024kB 0*2048kB 0*4096kB = 3888kB
[244046.212643] Normal: 3036*4kB (UME) 2075*8kB (UME) 682*16kB (UME) 0*32kB 0*64kB 0*128kB 0*256kB 0*512kB 0*1024kB 0*2048kB 0*4096kB = 39656kB
[244046.212651] HighMem: 103*4kB (UM) 214*8kB (UM) 145*16kB (UM) 172*32kB (UM) 129*64kB (UM) 45*128kB (UM) 39*256kB (UM) 7*512kB (UM) 7*1024kB (UM) 1*2048kB (U) 15*4096kB (UM) = 108188kB
[244046.212664] Node 0 hugepages_total=0 hugepages_free=0 hugepages_surp=0 hugepages_size=2048kB
[244046.212665] 1603377 total pagecache pages
[244046.212666] 0 pages in swap cache
[244046.212667] Swap cache stats: add 0, delete 0, find 0/0
[244046.212668] Free swap  = 979928kB
[244046.212669] Total swap = 979928kB
[244046.212670] 2079238 pages RAM
[244046.212671] 1850987 pages HighMem/MovableOnly
[244046.212671] 20840 pages reserved

[244046.212885] Out of memory: Kill process 1093 (clamd) score 40 or sacrifice child
[244046.212907] Killed process 1093 (clamd) total-vm:453028kB, anon-rss:361100kB, file-rss:15124kB, shmem-rss:0kB
[244046.350450] jbd2/sda6-8 invoked oom-killer: gfp_mask=0x2420848(GFP_NOFS|__GFP_NOFAIL|__GFP_HARDWALL|__GFP_MOVABLE), order=0, oom_score_adj=0
[244046.350453] jbd2/sda6-8 cpuset=/ mems_allowed=0
[244046.350460] CPU: 0 PID: 269 Comm: jbd2/sda6-8 Not tainted 4.8.7-alwaysnever #1
[244046.350461] Hardware name: LENOVO 2767RV8/2767RV8, BIOS 7UET94WW (3.24 ) 10/17/2012
[244046.350463]  00000286 14d9e255 f109dc90 c12e81cc f109dd70 d8443800 c11caffd c16793e4
[244046.350468]  f6ebcb40 02420848 f109dd7c 00000000 00000000 0000000c 00000000 00000292
[244046.350472]  f109dcd8 c12ee80a d5b80100 f13c8200 d8443bcc c167c7c6 d8443800 f109dcd8
[244046.350476] Call Trace:
[244046.350485]  [<c12e81cc>] ? dump_stack+0x55/0x79
[244046.350489]  [<c11caffd>] ? dump_header+0x51/0x19f
[244046.350491]  [<c12ee80a>] ? ___ratelimit+0x7a/0x100
[244046.350495]  [<c11630f2>] ? oom_kill_process+0x212/0x3d0
[244046.350499]  [<c1263153>] ? security_capable_noaudit+0x43/0x60
[244046.350503]  [<c1067d8a>] ? has_capability_noaudit+0x1a/0x30
[244046.350504]  [<c1162622>] ? oom_badness+0xf2/0x160
[244046.350506]  [<c1163514>] ? out_of_memory+0x204/0x240
[244046.350509]  [<c116775a>] ? __alloc_pages_nodemask+0xb4a/0xc10
[244046.350512]  [<c115e6f7>] ? pagecache_get_page+0xd7/0x280
[244046.350515]  [<c12074c0>] ? __getblk_slow+0xe0/0x310
[244046.350522]  [<f84852f5>] ? jbd2_journal_get_descriptor_buffer+0x55/0x170 [jbd2]
[244046.350525]  [<f847d98a>] ? jbd2_journal_commit_transaction+0x8da/0x1590 [jbd2]
[244046.350529]  [<c10c8e66>] ? lock_timer_base+0x66/0x80
[244046.350531]  [<c10c923c>] ? try_to_del_timer_sync+0x4c/0x80
[244046.350534]  [<f8482c48>] ? kjournald2+0xb8/0x240 [jbd2]
[244046.350537]  [<c109f8a0>] ? wait_woken+0x80/0x80
[244046.350540]  [<f8482b90>] ? commit_timeout+0x10/0x10 [jbd2]
[244046.350543]  [<c107ba63>] ? kthread+0xb3/0xd0
[244046.350545]  [<c1001d95>] ? do_fast_syscall_32+0x95/0x220
[244046.350548]  [<c15829c2>] ? ret_from_kernel_thread+0xe/0x24
[244046.350550]  [<c107b9b0>] ? kthread_park+0x50/0x50
[244046.350551] Mem-Info:
[244046.350556] active_anon:123611 inactive_anon:120917 isolated_anon:0
 active_file:1038359 inactive_file:536497 isolated_file:207
 unevictable:0 dirty:0 writeback:0 unstable:0
 slab_reclaimable:185822 slab_unreclaimable:6218
 mapped:23242 shmem:28311 pagetables:1916 bounce:0
 free:37871 free_pcp:321 free_cma:0
[244046.350559] Node 0 active_anon:494444kB inactive_anon:483668kB active_file:4153436kB inactive_file:2145988kB unevictable:0kB isolated(anon):0kB isolated(file):828kB mapped:92968kB dirty:0kB writeback:0kB shmem:0kB shmem_thp: 0kB shmem_pmdmapped: 0kB anon_thp: 113244kB writeback_tmp:0kB unstable:0kB pages_scanned:14295921 all_unreclaimable? yes
[244046.350564] DMA free:3888kB min:788kB low:984kB high:1180kB active_anon:0kB inactive_anon:0kB active_file:0kB inactive_file:0kB unevictable:0kB writepending:0kB present:15988kB managed:15912kB mlocked:0kB slab_reclaimable:10796kB slab_unreclaimable:364kB kernel_stack:16kB pagetables:16kB bounce:0kB free_pcp:0kB local_pcp:0kB free_cma:0kB
[244046.350564] lowmem_reserve[]: 0 781 8012 8012
[244046.350571] Normal free:39656kB min:39760kB low:49700kB high:59640kB active_anon:0kB inactive_anon:0kB active_file:64kB inactive_file:68kB unevictable:0kB writepending:0kB present:897016kB managed:813732kB mlocked:0kB slab_reclaimable:732492kB slab_unreclaimable:24508kB kernel_stack:2168kB pagetables:7648kB bounce:0kB free_pcp:1032kB local_pcp:684kB free_cma:0kB
[244046.350571] lowmem_reserve[]: 0 0 57843 57843
[244046.350578] HighMem free:107940kB min:512kB low:92444kB high:184376kB active_anon:494444kB inactive_anon:483668kB active_file:4153316kB inactive_file:2145988kB unevictable:0kB writepending:0kB present:7403948kB managed:7403948kB mlocked:0kB slab_reclaimable:0kB slab_unreclaimable:0kB kernel_stack:0kB pagetables:0kB bounce:0kB free_pcp:252kB local_pcp:128kB free_cma:0kB
[244046.350578] lowmem_reserve[]: 0 0 0 0
[244046.350581] DMA: 54*4kB (UE) 133*8kB (UE) 79*16kB (UE) 36*32kB (UME) 3*64kB (UE) 0*128kB 0*256kB 0*512kB 0*1024kB 0*2048kB 0*4096kB = 3888kB
[244046.350591] Normal: 3036*4kB (UME) 2075*8kB (UME) 682*16kB (UME) 0*32kB 0*64kB 0*128kB 0*256kB 0*512kB 0*1024kB 0*2048kB 0*4096kB = 39656kB
[244046.350599] HighMem: 41*4kB (UM) 214*8kB (UM) 145*16kB (UM) 172*32kB (UM) 129*64kB (UM) 45*128kB (UM) 39*256kB (UM) 7*512kB (UM) 7*1024kB (UM) 1*2048kB (U) 15*4096kB (UM) = 107940kB
[244046.350612] Node 0 hugepages_total=0 hugepages_free=0 hugepages_surp=0 hugepages_size=2048kB
[244046.350612] 1603377 total pagecache pages
[244046.350620] 0 pages in swap cache
[244046.350621] Swap cache stats: add 0, delete 0, find 0/0
[244046.350622] Free swap  = 979928kB
[244046.350623] Total swap = 979928kB
[244046.350624] 2079238 pages RAM
[244046.350624] 1850987 pages HighMem/MovableOnly
[244046.350625] 20840 pages reserved
[244046.350626] [ pid ]   uid  tgid total_vm      rss nr_ptes nr_pmds swapents 
[244046.350836] Out of memory: Kill process 22857 (/usr/sbin/amavi) score 9 or sacrifice child
[244046.350860] Killed process 22857 (/usr/sbin/amavi) total-vm:94920kB, anon-rss:80040kB, file-rss:7096kB, shmem-rss:0kB
[244046.401663] jbd2/sda7-8 invoked oom-killer: gfp_mask=0x2420848(GFP_NOFS|__GFP_NOFAIL|__GFP_HARDWALL|__GFP_MOVABLE), order=0, oom_score_adj=0
[244046.401665] jbd2/sda7-8 cpuset=/ mems_allowed=0
[244046.401671] CPU: 1 PID: 264 Comm: jbd2/sda7-8 Not tainted 4.8.7-alwaysnever #1
[244046.401672] Hardware name: LENOVO 2767RV8/2767RV8, BIOS 7UET94WW (3.24 ) 10/17/2012
[244046.401674]  00200286 041164ff f1009c90 c12e81cc f1009d70 c2b97000 c11caffd c16793e4
[244046.401678]  f6ed9b40 02420848 f1009d7c 00000000 00000000 0000000c 00000000 00200292
[244046.401682]  f1009cd8 c12ee80a d5b80ec0 e939ba00 c2b973cc c167c7c6 c2b97000 f1009cd8
[244046.401687] Call Trace:
[244046.401694]  [<c12e81cc>] ? dump_stack+0x55/0x79
[244046.401697]  [<c11caffd>] ? dump_header+0x51/0x19f
[244046.401699]  [<c12ee80a>] ? ___ratelimit+0x7a/0x100
[244046.401702]  [<c11630f2>] ? oom_kill_process+0x212/0x3d0
[244046.401705]  [<c1263153>] ? security_capable_noaudit+0x43/0x60
[244046.401708]  [<c1067d8a>] ? has_capability_noaudit+0x1a/0x30
[244046.401710]  [<c1162622>] ? oom_badness+0xf2/0x160
[244046.401712]  [<c1163514>] ? out_of_memory+0x204/0x240
[244046.401714]  [<c116775a>] ? __alloc_pages_nodemask+0xb4a/0xc10
[244046.401716]  [<c115e6f7>] ? pagecache_get_page+0xd7/0x280
[244046.401719]  [<c12074c0>] ? __getblk_slow+0xe0/0x310
[244046.401724]  [<f84852f5>] ? jbd2_journal_get_descriptor_buffer+0x55/0x170 [jbd2]
[244046.401728]  [<f847d98a>] ? jbd2_journal_commit_transaction+0x8da/0x1590 [jbd2]
[244046.401731]  [<c10c8e66>] ? lock_timer_base+0x66/0x80
[244046.401733]  [<c10c923c>] ? try_to_del_timer_sync+0x4c/0x80
[244046.401736]  [<f8482c48>] ? kjournald2+0xb8/0x240 [jbd2]
[244046.401739]  [<c109f8a0>] ? wait_woken+0x80/0x80
[244046.401741]  [<f8482b90>] ? commit_timeout+0x10/0x10 [jbd2]
[244046.401743]  [<c107ba63>] ? kthread+0xb3/0xd0
[244046.401746]  [<c15829c2>] ? ret_from_kernel_thread+0xe/0x24
[244046.401747]  [<c107b9b0>] ? kthread_park+0x50/0x50
[244046.401749] Mem-Info:
[244046.401753] active_anon:120537 inactive_anon:120917 isolated_anon:0
 active_file:1038359 inactive_file:536526 isolated_file:207
 unevictable:0 dirty:0 writeback:0 unstable:0
 slab_reclaimable:185822 slab_unreclaimable:6218
 mapped:23271 shmem:28311 pagetables:1916 bounce:0
 free:40858 free_pcp:435 free_cma:0
[244046.401757] Node 0 active_anon:482148kB inactive_anon:483668kB active_file:4153436kB inactive_file:2146104kB unevictable:0kB isolated(anon):0kB isolated(file):828kB mapped:93084kB dirty:0kB writeback:0kB shmem:0kB shmem_thp: 0kB shmem_pmdmapped: 0kB anon_thp: 113244kB writeback_tmp:0kB unstable:0kB pages_scanned:0 all_unreclaimable? no
[244046.401761] DMA free:3888kB min:788kB low:984kB high:1180kB active_anon:0kB inactive_anon:0kB active_file:0kB inactive_file:0kB unevictable:0kB writepending:0kB present:15988kB managed:15912kB mlocked:0kB slab_reclaimable:10796kB slab_unreclaimable:364kB kernel_stack:16kB pagetables:16kB bounce:0kB free_pcp:0kB local_pcp:0kB free_cma:0kB
[244046.401762] lowmem_reserve[]: 0 781 8012 8012
[244046.401768] Normal free:39656kB min:39760kB low:49700kB high:59640kB active_anon:0kB inactive_anon:0kB active_file:64kB inactive_file:80kB unevictable:0kB writepending:0kB present:897016kB managed:813732kB mlocked:0kB slab_reclaimable:732492kB slab_unreclaimable:24508kB kernel_stack:2168kB pagetables:7648kB bounce:0kB free_pcp:992kB local_pcp:312kB free_cma:0kB
[244046.401769] lowmem_reserve[]: 0 0 57843 57843
[244046.401775] HighMem free:119888kB min:512kB low:92444kB high:184376kB active_anon:482148kB inactive_anon:483668kB active_file:4153316kB inactive_file:2145988kB unevictable:0kB writepending:0kB present:7403948kB managed:7403948kB mlocked:0kB slab_reclaimable:0kB slab_unreclaimable:0kB kernel_stack:0kB pagetables:0kB bounce:0kB free_pcp:748kB local_pcp:620kB free_cma:0kB
[244046.401775] lowmem_reserve[]: 0 0 0 0
[244046.401778] DMA: 54*4kB (UE) 133*8kB (UE) 79*16kB (UE) 36*32kB (UME) 3*64kB (UE) 0*128kB 0*256kB 0*512kB 0*1024kB 0*2048kB 0*4096kB = 3888kB
[244046.401788] Normal: 3036*4kB (UME) 2075*8kB (UME) 682*16kB (UME) 0*32kB 0*64kB 0*128kB 0*256kB 0*512kB 0*1024kB 0*2048kB 0*4096kB = 39656kB
[244046.401796] HighMem: 1648*4kB (UM) 476*8kB (UM) 364*16kB (UM) 172*32kB (UM) 129*64kB (UM) 45*128kB (UM) 39*256kB (UM) 7*512kB (UM) 7*1024kB (UM) 1*2048kB (U) 15*4096kB (UM) = 119968kB
[244046.401808] Node 0 hugepages_total=0 hugepages_free=0 hugepages_surp=0 hugepages_size=2048kB
[244046.401809] 1603377 total pagecache pages
[244046.401811] 0 pages in swap cache
[244046.401812] Swap cache stats: add 0, delete 0, find 0/0
[244046.401812] Free swap  = 979928kB
[244046.401813] Total swap = 979928kB
[244046.401814] 2079238 pages RAM
[244046.401815] 1850987 pages HighMem/MovableOnly
[244046.401815] 20840 pages reserved

[244046.402008] Out of memory: Kill process 22987 (/usr/sbin/amavi) score 9 or sacrifice child
[244046.402035] Killed process 22987 (/usr/sbin/amavi) total-vm:93204kB, anon-rss:78440kB, file-rss:7096kB, shmem-rss:0kB
[286922.622106] kthreadd invoked oom-killer: gfp_mask=0x27000c0(GFP_KERNEL_ACCOUNT|__GFP_NOTRACK), order=1, oom_score_adj=0
[286922.622108] kthreadd cpuset=/ mems_allowed=0
[286922.622114] CPU: 0 PID: 2 Comm: kthreadd Not tainted 4.8.7-alwaysnever #1
[286922.622115] Hardware name: LENOVO 2767RV8/2767RV8, BIOS 7UET94WW (3.24 ) 10/17/2012
[286922.622117]  00000286 b9223dbc f211fd98 c12e81cc f211fe78 e9ef3000 c11caffd c16793e4
[286922.622122]  f20ce340 027000c0 f211fe84 00000001 00000000 00000001 00000040 00000286
[286922.622126]  f211fde0 c12ee80a f6a6c440 f0790800 e9ef33cc c167c7c6 e9ef3000 f211fde0
[286922.622130] Call Trace:
[286922.622137]  [<c12e81cc>] ? dump_stack+0x55/0x79
[286922.622141]  [<c11caffd>] ? dump_header+0x51/0x19f
[286922.622143]  [<c12ee80a>] ? ___ratelimit+0x7a/0x100
[286922.622146]  [<c11630f2>] ? oom_kill_process+0x212/0x3d0
[286922.622149]  [<c1263153>] ? security_capable_noaudit+0x43/0x60
[286922.622152]  [<c1067d8a>] ? has_capability_noaudit+0x1a/0x30
[286922.622154]  [<c1162622>] ? oom_badness+0xf2/0x160
[286922.622156]  [<c1163514>] ? out_of_memory+0x204/0x240
[286922.622158]  [<c11677c0>] ? __alloc_pages_nodemask+0xbb0/0xc10
[286922.622162]  [<c105ba2d>] ? copy_process.part.40+0x10d/0x1530
[286922.622164]  [<c107b9b0>] ? kthread_park+0x50/0x50
[286922.622166]  [<c105d003>] ? _do_fork+0xd3/0x3a0
[286922.622169]  [<c157e6ac>] ? __schedule+0x19c/0x6b0
[286922.622170]  [<c107b9b0>] ? kthread_park+0x50/0x50
[286922.622172]  [<c107b9b0>] ? kthread_park+0x50/0x50
[286922.622173]  [<c105d301>] ? kernel_thread+0x31/0x40
[286922.622175]  [<c107c3f4>] ? kthreadd+0x144/0x190
[286922.622177]  [<c15829c2>] ? ret_from_kernel_thread+0xe/0x24
[286922.622179]  [<c107c2b0>] ? kthread_create_on_cpu+0x60/0x60
[286922.622180] Mem-Info:
[286922.622185] active_anon:126765 inactive_anon:122134 isolated_anon:0
 active_file:796273 inactive_file:646276 isolated_file:160
 unevictable:0 dirty:34 writeback:14 unstable:0
 slab_reclaimable:186015 slab_unreclaimable:6063
 mapped:21147 shmem:32420 pagetables:1771 bounce:7
 free:166390 free_pcp:0 free_cma:0
[286922.622189] Node 0 active_anon:507060kB inactive_anon:488536kB active_file:3185092kB inactive_file:2585104kB unevictable:0kB isolated(anon):0kB isolated(file):640kB mapped:84588kB dirty:136kB writeback:56kB shmem:0kB shmem_thp: 0kB shmem_pmdmapped: 0kB anon_thp: 129680kB writeback_tmp:0kB unstable:0kB pages_scanned:0 all_unreclaimable? no
[286922.622193] DMA free:3876kB min:788kB low:984kB high:1180kB active_anon:0kB inactive_anon:0kB active_file:0kB inactive_file:0kB unevictable:0kB writepending:0kB present:15988kB managed:15912kB mlocked:0kB slab_reclaimable:10208kB slab_unreclaimable:684kB kernel_stack:24kB pagetables:0kB bounce:0kB free_pcp:0kB local_pcp:0kB free_cma:0kB
[286922.622194] lowmem_reserve[]: 0 781 8012 8012
[286922.622201] Normal free:41324kB min:39760kB low:49700kB high:59640kB active_anon:0kB inactive_anon:0kB active_file:120kB inactive_file:208kB unevictable:0kB writepending:8kB present:897016kB managed:813732kB mlocked:0kB slab_reclaimable:733852kB slab_unreclaimable:23568kB kernel_stack:2016kB pagetables:7084kB bounce:28kB free_pcp:0kB local_pcp:0kB free_cma:0kB
[286922.622201] lowmem_reserve[]: 0 0 57843 57843
[286922.622208] HighMem free:620360kB min:512kB low:92444kB high:184376kB active_anon:507060kB inactive_anon:488536kB active_file:3184884kB inactive_file:2584724kB unevictable:0kB writepending:184kB present:7403948kB managed:7403948kB mlocked:0kB slab_reclaimable:0kB slab_unreclaimable:0kB kernel_stack:0kB pagetables:0kB bounce:0kB free_pcp:0kB local_pcp:0kB free_cma:0kB
[286922.622208] lowmem_reserve[]: 0 0 0 0
[286922.622211] DMA: 87*4kB (UE) 149*8kB (UE) 110*16kB (UE) 8*32kB (UE) 5*64kB (U) 0*128kB 0*256kB 0*512kB 0*1024kB 0*2048kB 0*4096kB = 3876kB
[286922.622221] Normal: 3907*4kB (UMEH) 2402*8kB (UMEH) 406*16kB (UMEH) 2*32kB (H) 0*64kB 0*128kB 0*256kB 0*512kB 0*1024kB 0*2048kB 0*4096kB = 41404kB
[286922.622230] HighMem: 4536*4kB (UM) 15704*8kB (UM) 7961*16kB (UM) 5122*32kB (UM) 1346*64kB (UM) 68*128kB (UM) 62*256kB (UM) 8*512kB (UM) 7*1024kB (UM) 1*2048kB (U) 15*4096kB (UM) = 620528kB
[286922.622242] Node 0 hugepages_total=0 hugepages_free=0 hugepages_surp=0 hugepages_size=2048kB
[286922.622243] 1475084 total pagecache pages
[286922.622245] 0 pages in swap cache
[286922.622246] Swap cache stats: add 0, delete 0, find 0/0
[286922.622247] Free swap  = 979928kB
[286922.622247] Total swap = 979928kB
[286922.622248] 2079238 pages RAM
[286922.622249] 1850987 pages HighMem/MovableOnly
[286922.622250] 20840 pages reserved



I have attached my kernel .config file for reference.