Project

General

Profile

Bug #4521

Bug #4527: Memory leak after commit f9df9b7 (http server: implement websockets for instant messages)

Memory leak?

Added by Mark Clarkstone over 7 years ago. Updated over 7 years ago.

Status:
Rejected
Priority:
Normal
Assignee:
-
Category:
non-x86
Target version:
-
Start date:
2017-08-06
Due date:
% Done:

0%

Estimated time:
Found in version:
Git
Affected Versions:

Description

Running tvheadend git on my BPi M1 (Allwinner A20 / 1GB ram) & streaming a service to VLC and got this

[251815.850759] tvheadend invoked oom-killer: gfp_mask=0x14201ca(GFP_HIGHUSER_MOVABLE|__GFP_COLD), nodemask=(null),  order=0, oom_score_adj=0
[251815.850779] tvheadend cpuset=/ mems_allowed=0
[251815.850800] CPU: 0 PID: 738 Comm: tvheadend Not tainted 4.12.4-sunxi #1
[251815.850804] Hardware name: Allwinner sun7i (A20) Family
[251815.850837] [<c010cb5d>] (unwind_backtrace) from [<c0109889>] (show_stack+0x11/0x14)
[251815.850853] [<c0109889>] (show_stack) from [<c051aa2d>] (dump_stack+0x69/0x78)
[251815.850870] [<c051aa2d>] (dump_stack) from [<c0210689>] (dump_header+0x79/0x18e)
[251815.850884] [<c0210689>] (dump_header) from [<c01c9e25>] (oom_kill_process+0x259/0x3d8)
[251815.850895] [<c01c9e25>] (oom_kill_process) from [<c01ca28d>] (out_of_memory+0x169/0x21c)
[251815.850908] [<c01ca28d>] (out_of_memory) from [<c01cdd0f>] (__alloc_pages_nodemask+0xa87/0xb4c)
[251815.850922] [<c01cdd0f>] (__alloc_pages_nodemask) from [<c01c8735>] (filemap_fault+0x251/0x4a0)
[251815.850935] [<c01c8735>] (filemap_fault) from [<c028b3bb>] (ext4_filemap_fault+0x1f/0x2c)
[251815.850950] [<c028b3bb>] (ext4_filemap_fault) from [<c01e9c9b>] (__do_fault+0x13/0x44)
[251815.850962] [<c01e9c9b>] (__do_fault) from [<c01ecc27>] (handle_mm_fault+0x38b/0x8a0)
[251815.850974] [<c01ecc27>] (handle_mm_fault) from [<c0112ae1>] (do_page_fault+0xd9/0x234)
[251815.850986] [<c0112ae1>] (do_page_fault) from [<c01012a9>] (do_PrefetchAbort+0x2d/0x70)
[251815.850996] [<c01012a9>] (do_PrefetchAbort) from [<c010a73b>] (__pabt_usr+0x5b/0x5c)
[251815.851001] Exception stack(0xc9fbffb0 to 0xc9fbfff8)
[251815.851008] ffa0:                                     0003d090 00000000 0003d090 00000000
[251815.851017] ffc0: 00ecbf10 00000000 00000000 006bd638 00002710 00000000 b48ff3a4 bef8c430
[251815.851025] ffe0: 00704660 b48feb38 005e9603 b6b1ee04 00030030 ffffffff
[251815.851029] Mem-Info:
[251815.851046] active_anon:119960 inactive_anon:119995 isolated_anon:0
 active_file:88 inactive_file:112 isolated_file:0
 unevictable:0 dirty:0 writeback:0 unstable:0
 slab_reclaimable:2196 slab_unreclaimable:2525
 mapped:93 shmem:3984 pagetables:643 bounce:0
 free:2722 free_pcp:120 free_cma:0
[251815.851058] Node 0 active_anon:479840kB inactive_anon:479980kB active_file:352kB inactive_file:448kB unevictable:0kB isolated(anon):0kB isolated(file):0kB mapped:372kB dirty:0kB writeback:0kB shmem:15936kB writeback_tmp:0kB unstable:0kB all_unreclaimable? yes
[251815.851077] Normal free:10736kB min:3480kB low:4348kB high:5216kB active_anon:365272kB inactive_anon:348536kB active_file:24kB inactive_file:328kB unevictable:0kB writepending:0kB present:786432kB managed:763080kB mlocked:0kB slab_reclaimable:8784kB slab_unreclaimable:10100kB kernel_stack:1144kB pagetables:1408kB bounce:0kB free_pcp:368kB local_pcp:72kB free_cma:0kB
[251815.851078] lowmem_reserve[]: 0 1907 1907
[251815.851100] HighMem free:152kB min:236kB low:516kB high:796kB active_anon:114568kB inactive_anon:131444kB active_file:116kB inactive_file:104kB unevictable:0kB writepending:0kB present:260520kB managed:260520kB mlocked:0kB slab_reclaimable:0kB slab_unreclaimable:0kB kernel_stack:0kB pagetables:1164kB bounce:0kB free_pcp:112kB local_pcp:56kB free_cma:0kB
[251815.851102] lowmem_reserve[]: 0 0 0
[251815.851112] Normal: 211*4kB (UME) 127*8kB (UME) 109*16kB (UME) 46*32kB (UME) 39*64kB (UME) 13*128kB (ME) 8*256kB (ME) 0*512kB 0*1024kB 0*2048kB 0*4096kB = 11284kB
[251815.851154] HighMem: 1*4kB (C) 11*8kB (M) 4*16kB (M) 0*32kB 0*64kB 0*128kB 0*256kB 0*512kB 0*1024kB 0*2048kB 0*4096kB = 156kB
[251815.851188] 4236 total pagecache pages
[251815.851193] 0 pages in swap cache
[251815.851197] Swap cache stats: add 0, delete 0, find 0/0
[251815.851200] Free swap  = 131068kB
[251815.851203] Total swap = 131068kB
[251815.851205] 261738 pages RAM
[251815.851208] 65130 pages HighMem/MovableOnly
[251815.851211] 5838 pages reserved
[251815.851213] 4096 pages cma reserved
[251815.851217] [ pid ]   uid  tgid total_vm      rss nr_ptes nr_pmds swapents oom_score_adj name
[251815.851246] [  271]     0   271     2684      127       8       0        0         -1000 systemd-udevd
[251815.851254] [  440]     0   440     1845      107       6       0        0             0 systemd-journal
[251815.851261] [  584]     0   584     1798      770       8       0        0             0 haveged
[251815.851269] [  585]     0   585     1114       58       7       0        0             0 cron
[251815.851276] [  586]     0   586    13393      334      17       0        0             0 NetworkManager
[251815.851284] [  588]     0   588     7850      156      13       0        0             0 rsyslogd
[251815.851292] [  590]     0   590      774       62       6       0        0             0 systemd-logind
[251815.851300] [  593]   104   593     1217      134       6       0        0          -900 dbus-daemon
[251815.851307] [  647]   105   647     1185      106       7       0        0             0 ntpd
[251815.851315] [  649]   108   649   261471   232065     515       0        0             0 tvheadend
[251815.851323] [  650]     0   650      780       41       5       0        0             0 lircd
[251815.851331] [  715]     0   715     8976      163      12       0        0             0 polkitd
[251815.851339] [  720]     0   720      844       30       5       0        0             0 agetty
[251815.851347] [  728]     0   728      889       30       6       0        0             0 agetty
[251815.851354] [  811]     0   811     1944     1174       8       0        0             0 dhclient
[251815.851363] [ 1257]     0  1257     1635      115       8       0        0         -1000 sshd

Is this a memory leak or is it related to the xbox tuner?

History

#1

Updated by Mark Clarkstone over 7 years ago

  • Description updated (diff)
#2

Updated by Mark Clarkstone over 7 years ago

  • Description updated (diff)
#3

Updated by Jaroslav Kysela over 7 years ago

  • Status changed from New to Rejected
  • Parent task set to #4527

Also available in: Atom PDF