[tor-bugs] #28153 [Applications]: Nyx memory leaks

Tor Bug Tracker & Wiki blackhole at torproject.org
Tue Oct 23 12:04:33 UTC 2018


#28153: Nyx memory leaks
--------------------------+------------------------------
 Reporter:  wagon         |          Owner:  atagar
     Type:  defect        |         Status:  assigned
 Priority:  Medium        |      Component:  Applications
  Version:  Tor: 0.3.4.8  |       Severity:  Normal
 Keywords:  nyx           |  Actual Points:
Parent ID:                |         Points:
 Reviewer:  atagar        |        Sponsor:
--------------------------+------------------------------
 I had this problem twice. If `nyx` is running more than 1-2 days, it
 starts to consume more resources (I think, it is RAM). Finally, system
 becomes very slow and unresponsive until `nyx` (2.0.4 installed using
 `python3-pip`) is killed by system OOM-killer. This is what I see in
 `/var/log/messages` after that:

 {{{
 Purging GPU memory, 0 bytes freed, XXXXXXX bytes still pinned.
 nyx invoked oom-killer: gfp_mask=0x201da, order=0, oom_score_adj=0
 nyx cpuset=/ mems_allowed=0
 CPU: 0 PID: XXXXX Comm: nyx Not tainted 3.16.0-7-amd64 #1 Debian
 [redacted]
 Hardware name: [redacted]
  0000000000000000 ffffffff81534df4 00000000000201da 0000000000000000
  ffffffff81533956 0000000000000000 ffff880099938000 ffffffffa054d5ab
  ffff880099950000 01ffffff8115e3d3 ffff880028f59550 ffffffff81730612
 Call Trace:
  [<ffffffff81534df4>] ? dump_stack+0x5d/0x78
  [<ffffffff81533956>] ? dump_header+0x95/0x1fd
  [<ffffffffa054d5ab>] ? i915_gem_shrinker_oom+0x15b/0x1c0 [i915]
  [<ffffffff8114c20d>] ? oom_kill_process+0x21d/0x370
  [<ffffffff8114bdad>] ? find_lock_task_mm+0x3d/0xa0
  [<ffffffff8114c9ce>] ? out_of_memory+0x4be/0x4f0
  [<ffffffff81153386>] ? __alloc_pages_nodemask+0xca6/0xcf0
  [<ffffffff81193bd6>] ? alloc_pages_current+0xa6/0x160
  [<ffffffff8114ae9c>] ? filemap_fault+0x1bc/0x440
  [<ffffffff81172430>] ? __do_fault+0x40/0xc0
  [<ffffffff811769eb>] ? handle_mm_fault+0xf2b/0x15b0
  [<ffffffff8105b6cb>] ? __do_page_fault+0x1ab/0x470
  [<ffffffff810dd5c3>] ? SyS_futex+0x73/0x170
  [<ffffffff8153d058>] ? page_fault+0x28/0x30
 }}}

 Tor is configured as client only. It is neither a relay nor an onion
 service.

--
Ticket URL: <https://trac.torproject.org/projects/tor/ticket/28153>
Tor Bug Tracker & Wiki <https://trac.torproject.org/>
The Tor Project: anonymity online


More information about the tor-bugs mailing list