Project

General

Profile

Actions

Bug #4730

open

Possible memory leak

Added by George Skillas over 7 years ago. Updated over 7 years ago.

Status:
New
Priority:
Normal
Assignee:
-
Category:
non-x86
Target version:
-
Start date:
2017-11-19
Due date:
% Done:

0%

Estimated time:
Found in version:
4.2.2
Affected Versions:

Description

Hello together

raspberry pi 2, osmc with tvheadend, tvheadend takes up 100% of one core, memory consumption increases steadily, eventually leadind to huge
wait states, kswapd activation and sluggish system performance. Using
@
  1. cat /etc/os-release
    PRETTY_NAME="Open Source Media Center"
    NAME="OSMC"
    VERSION="October 2017"
    VERSION_ID="2017.10-1"
    ID=osmc
    ID_LIKE=debian

ANSI_COLOR="1;31"
HOME_URL="http://www.osmc.tv"
SUPPORT_URL="http://www.osmc.tv"
BUG_REPORT_URL="http://www.osmc.tv"
@

@
  1. systemctl restart tvheadend; while `echo "1" > /dev/null`; do date; ps axu | grep tvheadend; sleep 20; done | tee log.memoryTVHeadEnd
    @

I extracted following data:

  600000 +-+-----+--------+-------+-------+-------+--------+-------+-----+-+
         +       +        +       +       +       +        +       +       +
         |                                                    AAAAAAAA     |
  500000 +-+                                     AAAAAAAAAAAAA           +-+
         |                           AAAAAAAAAAAAA                         |
         |                  AAAAAAAAAA                                     |
  400000 +-+          AAAAAA                                             +-+
         |      AAAAAA                                                     |
         |  AAAAA                                                          |
  300000 +AAA                                                            +-+
         A                                                                 |
         |                                                                 |
         |                                                                 |
  200000 +-+                                                             +-+
         |                                                                 |
         |                                                                 |
  100000 +-+                                                             +-+
         |                                                                 |
         +       +        +       +       +       +        +       +       +
       0 A-+-----+--------+-------+-------+-------+--------+-------+-----+-+
         0      500      1000    1500    2000    2500     3000    3500    4000

where line "A" represents memory usage over time in seconds. I stopped the
tvheadend service as the system became continuously more sluggish.

What can I do about this?

Best regards,

George


Files

samples.tar.bz2 (128 KB) samples.tar.bz2 George Skillas, 2017-11-29 22:01
Actions

Also available in: Atom PDF