Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Memory leak? #40

Open
dentarg opened this issue Apr 11, 2017 · 0 comments
Open

Memory leak? #40

dentarg opened this issue Apr 11, 2017 · 0 comments
Labels

Comments

@dentarg
Copy link
Owner

dentarg commented Apr 11, 2017

Apr 10:

14:15:01 -!- rufwebot [[email protected]] has quit [EOF from client]
Apr 10 12:15:01 localhost kernel: [7489067.825729] cron invoked oom-killer: gfp_mask=0x26000c0, order=2, oom_score_adj=0
...
Apr 10 12:15:01 localhost kernel: [7489067.826752] Out of memory: Kill process 806 (python) score 603 or sacrifice child
Apr 10 12:15:01 localhost kernel: [7489067.827342] Killed process 806 (python) total-vm:355936kB, anon-rss:297092kB, file-rss:4128kB
cat /var/log/kern.log.1
$ sudo cat /var/log/kern.log.1
Apr 10 12:15:01 localhost kernel: [7489067.825729] cron invoked oom-killer: gfp_mask=0x26000c0, order=2, oom_score_adj=0
Apr 10 12:15:01 localhost kernel: [7489067.825739] cron cpuset=/ mems_allowed=0
Apr 10 12:15:01 localhost kernel: [7489067.825766] CPU: 0 PID: 22671 Comm: cron Not tainted 4.4.0-59-generic #80-Ubuntu
Apr 10 12:15:01 localhost kernel: [7489067.825769] Hardware name: DigitalOcean Droplet, BIOS 20160425 04/25/2016
Apr 10 12:15:01 localhost kernel: [7489067.825772]  0000000000000286 00000000fb6727eb ffff88001edffaf0 ffffffff813f7583
Apr 10 12:15:01 localhost kernel: [7489067.825793]  ffff88001edffcc8 ffff88001f381c00 ffff88001edffb60 ffffffff8120ad5e
Apr 10 12:15:01 localhost kernel: [7489067.825797]  ffffffff81cd2dc7 0000000000000000 ffffffff81e67760 0000000000000206
Apr 10 12:15:01 localhost kernel: [7489067.825801] Call Trace:
Apr 10 12:15:01 localhost kernel: [7489067.826318]  [<ffffffff813f7583>] dump_stack+0x63/0x90
Apr 10 12:15:01 localhost kernel: [7489067.826349]  [<ffffffff8120ad5e>] dump_header+0x5a/0x1c5
Apr 10 12:15:01 localhost kernel: [7489067.826372]  [<ffffffff81192722>] oom_kill_process+0x202/0x3c0
Apr 10 12:15:01 localhost kernel: [7489067.826376]  [<ffffffff81192b49>] out_of_memory+0x219/0x460
Apr 10 12:15:01 localhost kernel: [7489067.826385]  [<ffffffff81198abd>] __alloc_pages_slowpath.constprop.88+0x8fd/0xa70
Apr 10 12:15:01 localhost kernel: [7489067.826390]  [<ffffffff81198eb6>] __alloc_pages_nodemask+0x286/0x2a0
Apr 10 12:15:01 localhost kernel: [7489067.826394]  [<ffffffff81198f6b>] alloc_kmem_pages_node+0x4b/0xc0
Apr 10 12:15:01 localhost kernel: [7489067.826420]  [<ffffffff8107ea5e>] copy_process+0x1be/0x1b70
Apr 10 12:15:01 localhost kernel: [7489067.826439]  [<ffffffff812259ee>] ? dentry_free+0x4e/0x90
Apr 10 12:15:01 localhost kernel: [7489067.826443]  [<ffffffff81225dc2>] ? __dentry_kill+0x162/0x1e0
Apr 10 12:15:01 localhost kernel: [7489067.826446]  [<ffffffff8122602e>] ? dput+0x1ee/0x220
Apr 10 12:15:01 localhost kernel: [7489067.826449]  [<ffffffff810805a0>] _do_fork+0x80/0x360
Apr 10 12:15:01 localhost kernel: [7489067.826471]  [<ffffffff81003226>] ? exit_to_usermode_loop+0xa6/0xd0
Apr 10 12:15:01 localhost kernel: [7489067.826475]  [<ffffffff81080929>] SyS_clone+0x19/0x20
Apr 10 12:15:01 localhost kernel: [7489067.826526]  [<ffffffff818384f2>] entry_SYSCALL_64_fastpath+0x16/0x71
Apr 10 12:15:01 localhost kernel: [7489067.826529] Mem-Info:
Apr 10 12:15:01 localhost kernel: [7489067.826541] active_anon:79282 inactive_anon:1279 isolated_anon:0
Apr 10 12:15:01 localhost kernel: [7489067.826541]  active_file:16061 inactive_file:10266 isolated_file:0
Apr 10 12:15:01 localhost kernel: [7489067.826541]  unevictable:0 dirty:0 writeback:0 unstable:0
Apr 10 12:15:01 localhost kernel: [7489067.826541]  slab_reclaimable:5164 slab_unreclaimable:6201
Apr 10 12:15:01 localhost kernel: [7489067.826541]  mapped:2768 shmem:1383 pagetables:678 bounce:0
Apr 10 12:15:01 localhost kernel: [7489067.826541]  free:3251 free_pcp:0 free_cma:0
Apr 10 12:15:01 localhost kernel: [7489067.826553] Node 0 DMA free:3880kB min:92kB low:112kB high:136kB active_anon:9052kB inactive_anon:180kB active_file:8kB inactive_file:8kB unevictable:0kB isolated(anon):0kB isolated(file):0kB present:15992kB managed:15908kB mlocked:0kB dirty:0kB writeback:0kB mapped:4kB shmem:184kB slab_reclaimable:1236kB slab_unreclaimable:612kB kernel_stack:96kB pagetables:88kB unstable:0kB bounce:0kB free_pcp:0kB local_pcp:0kB free_cma:0kB writeback_tmp:0kB pages_scanned:0 all_unreclaimable? no
Apr 10 12:15:01 localhost kernel: [7489067.826566] lowmem_reserve[]: 0 437 437 437 437
Apr 10 12:15:01 localhost kernel: [7489067.826571] Node 0 DMA32 free:9124kB min:2628kB low:3284kB high:3940kB active_anon:308076kB inactive_anon:4936kB active_file:64236kB inactive_file:41056kB unevictable:0kB isolated(anon):0kB isolated(file):0kB present:507896kB managed:484228kB mlocked:0kB dirty:0kB writeback:0kB mapped:11068kB shmem:5348kB slab_reclaimable:19420kB slab_unreclaimable:24192kB kernel_stack:1648kB pagetables:2624kB unstable:0kB bounce:0kB free_pcp:0kB local_pcp:0kB free_cma:0kB writeback_tmp:0kB pages_scanned:0 all_unreclaimable? no
Apr 10 12:15:01 localhost kernel: [7489067.826578] lowmem_reserve[]: 0 0 0 0 0
Apr 10 12:15:01 localhost kernel: [7489067.826582] Node 0 DMA: 118*4kB (UMH) 118*8kB (UMEH) 64*16kB (MH) 21*32kB (UMEH) 8*64kB (UMH) 2*128kB (H) 0*256kB 0*512kB 0*1024kB 0*2048kB 0*4096kB = 3880kB
Apr 10 12:15:01 localhost kernel: [7489067.826602] Node 0 DMA32: 1603*4kB (UMEH) 341*8kB (UMEH) 0*16kB 0*32kB 0*64kB 0*128kB 0*256kB 0*512kB 0*1024kB 0*2048kB 0*4096kB = 9140kB
Apr 10 12:15:01 localhost kernel: [7489067.826625] Node 0 hugepages_total=0 hugepages_free=0 hugepages_surp=0 hugepages_size=1048576kB
Apr 10 12:15:01 localhost kernel: [7489067.826627] Node 0 hugepages_total=0 hugepages_free=0 hugepages_surp=0 hugepages_size=2048kB
Apr 10 12:15:01 localhost kernel: [7489067.826629] 27713 total pagecache pages
Apr 10 12:15:01 localhost kernel: [7489067.826640] 0 pages in swap cache
Apr 10 12:15:01 localhost kernel: [7489067.826642] Swap cache stats: add 0, delete 0, find 0/0
Apr 10 12:15:01 localhost kernel: [7489067.826644] Free swap  = 0kB
Apr 10 12:15:01 localhost kernel: [7489067.826645] Total swap = 0kB
Apr 10 12:15:01 localhost kernel: [7489067.826647] 130972 pages RAM
Apr 10 12:15:01 localhost kernel: [7489067.826648] 0 pages HighMem/MovableOnly
Apr 10 12:15:01 localhost kernel: [7489067.826650] 5938 pages reserved
Apr 10 12:15:01 localhost kernel: [7489067.826651] 0 pages cma reserved
Apr 10 12:15:01 localhost kernel: [7489067.826652] 0 pages hwpoisoned
Apr 10 12:15:01 localhost kernel: [7489067.826654] [ pid ]   uid  tgid total_vm      rss nr_ptes nr_pmds swapents oom_score_adj name
Apr 10 12:15:01 localhost kernel: [7489067.826664] [  489]     0   489     6928      600      17       3        0             0 systemd-journal
Apr 10 12:15:01 localhost kernel: [7489067.826672] [  562]     0   562    11029      542      22       3        0         -1000 systemd-udevd
Apr 10 12:15:01 localhost kernel: [7489067.826676] [  607]   105   607    25081      407      19       4        0             0 systemd-timesyn
Apr 10 12:15:01 localhost kernel: [7489067.826679] [  639]   102   639    10726      403      25       3        0          -900 dbus-daemon
Apr 10 12:15:01 localhost kernel: [7489067.826693] [  644]     0   644     7470      146      19       3        0             0 cgmanager
Apr 10 12:15:01 localhost kernel: [7489067.826697] [  646]   101   646    64099      569      27       4        0             0 rsyslogd
Apr 10 12:15:01 localhost kernel: [7489067.826700] [  650]     0   650     1100      268       8       3        0             0 acpid
Apr 10 12:15:01 localhost kernel: [7489067.826704] [  665]     0   665     7156      496      19       3        0             0 systemd-logind
Apr 10 12:15:01 localhost kernel: [7489067.826707] [  668]     0   668     6511      360      18       3        0             0 atd
Apr 10 12:15:01 localhost kernel: [7489067.826710] [  670]     0   670     7252      505      20       3        0             0 cron
Apr 10 12:15:01 localhost kernel: [7489067.826713] [  691]  1001   691     6797      457      15       3        0             0 screen
Apr 10 12:15:01 localhost kernel: [7489067.826716] [  693]  1000   693     7355      503      19       3        0             0 tmux
Apr 10 12:15:01 localhost kernel: [7489067.826719] [  694]  1000   694     1127      183       8       3        0             0 sh
Apr 10 12:15:01 localhost kernel: [7489067.826722] [  696]  1001   696    10754     2619      25       3        0             0 honcho
Apr 10 12:15:01 localhost kernel: [7489067.826725] [  697]  1000   697    28939      929      26       3        0             0 irssi
Apr 10 12:15:01 localhost kernel: [7489067.826728] [  715]   104   715     3215      321      11       3        0             0 oidentd
Apr 10 12:15:01 localhost kernel: [7489067.826731] [  804]  1001   804     1127      143       8       3        0             0 sh
Apr 10 12:15:01 localhost kernel: [7489067.826734] [  806]  1001   806    88984    75305     186       3        0             0 python
Apr 10 12:15:01 localhost kernel: [7489067.826737] [  901]     0   901    16380      684      36       3        0         -1000 sshd
Apr 10 12:15:01 localhost kernel: [7489067.826740] [  918]     0   918     3985      288      13       3        0             0 agetty
Apr 10 12:15:01 localhost kernel: [7489067.826743] [22669]     0 22669    16716     1536      36       3        0             0 sshd
Apr 10 12:15:01 localhost kernel: [7489067.826746] [22670]   103 22670    16716      810      35       3        0             0 sshd
Apr 10 12:15:01 localhost kernel: [7489067.826749] [22671]     0 22671    18196      931      41       3        0             0 cron
Apr 10 12:15:01 localhost kernel: [7489067.826752] Out of memory: Kill process 806 (python) score 603 or sacrifice child
Apr 10 12:15:01 localhost kernel: [7489067.827342] Killed process 806 (python) total-vm:355936kB, anon-rss:297092kB, file-rss:4128kB
@dentarg dentarg added the bug label Apr 11, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant