[mythtv-users] MythFrontend out of memory problem

Kenneth Emerson kenneth.emerson at gmail.com
Sat May 21 23:37:47 UTC 2022


On Fri, May 20, 2022 at 4:08 PM Kenneth Emerson <kenneth.emerson at gmail.com>
wrote:

> Thanking each of you for all the input, especially the info on how Linux
> uses swap space; I had no idea.
>
> Theme info: I'm using a modified version of Robert Siebert's Blue Abstract
> (I think it was version 10 when I cloned it).  I made minor modifications
> mostly around display season/episode data.
>
> MythWelcome is not used. I have installed mythmusic and mythgallery.  I
> believe mythweb is installed but I don't use it.
>
> It appears that the only time the frontend dies is when killed by the OOM
> service (or by me for other purposes).  That's all that shows up in the
> kern.log files which go back to 16 April 2022.
>
> The output from dpkg -l | grep -i myth:
> ii  libmyth
> 2:32.0+fixes.202205111848.26079f815a~ubuntu20.04.1 amd64        Common
> library code for MythTV and add-on modules (runtime)
> ii  libmyth-python
>  2:32.0+fixes.202205111848.26079f815a~ubuntu20.04.1 all          Python
> library to access some MythTV features
> ii  libmythes-1.2-0:amd64                 2:1.2.4-3build1
>                    amd64        simple thesaurus library
> ii  libmythtv-perl
>  2:32.0+fixes.202205111848.26079f815a~ubuntu20.04.1 all          Perl
> library to access some MythTV features
> ii  mythes-en-us                          1:6.4.3-1
>                    all          English (USA) Thesaurus for LibreOffice
> ii  mythmusic
> 2:32.0+fixes.202205111848.26079f815a~ubuntu20.04.1 amd64        Music
> add-on module for MythTV
> ii  mythtv
>  2:32.0+fixes.202205111848.26079f815a~ubuntu20.04.1 all          Personal
> video recorder application (client and server)
> ii  mythtv-backend
>  2:32.0+fixes.202205111848.26079f815a~ubuntu20.04.1 amd64        Personal
> video recorder application (server)
> ii  mythtv-backend-master
> 2:32.0+fixes.202205111848.26079f815a~ubuntu20.04.1 all          Metapackage
> to setup and configure a "Master Backend" profile of MythTV
> ii  mythtv-common
> 2:32.0+fixes.202205111848.26079f815a~ubuntu20.04.1 amd64        Personal
> video recorder application (common data)
> ii  mythtv-database
> 2:32.0+fixes.202205111848.26079f815a~ubuntu20.04.1 all          Personal
> video recorder application (database)
> ii  mythtv-frontend
> 2:32.0+fixes.202205111848.26079f815a~ubuntu20.04.1 amd64        Personal
> video recorder application (client)
> ii  mythtv-transcode-utils
>  2:32.0+fixes.202205111848.26079f815a~ubuntu20.04.1 amd64        Utilities
> used for transcoding MythTV tasks
> ii  mythweb
> 2:32.0+fixes.202205111848.26079f815a~ubuntu20.04.1 all          Web
> interface add-on module for MythTV
> ii  php-mythtv
>  2:32.0+fixes.202205111848.26079f815a~ubuntu20.04.1 all          PHP
> Bindings for MythTV
>
> Thanks again for your time and input.
>
> Regards,
>
> Ken Emerson
>
> On Fri, May 20, 2022 at 1:06 PM Mr Roooster <mrrooster at gmail.com> wrote:
>
>> On Mon, 11 Apr 2022 at 06:54, Stephen Worthington
>> <stephen_agent at jsw.gen.nz> wrote:
>> >
>> >
>> > It does look like the swap space is filling up though - I would
>> > suggest increasing that to 8 Gibytes.  But it is currently using
>> > 798096 kiB, which is under half full so it is not obvious that it will
>> > run out of swap.
>> >
>> Linux will in most default configurations use swap if it's available,
>> by default it will attempt to swap out unused pages to maximise the
>> amount of disk cache available, especially in an IO heavy workload
>> like Myth.
>>
>> You will probably find if you increase it it will fill further
>> (although with only 8GB main memory the amount it could pro-activly
>> swap out would be less).
>>
>> Whilst there seems to be a memory issue here, using swap doesn't
>> necesseraly mean you're running out of memory.
>>
>> Cheers
>>
>> Ian
>> _______________________________________________
>>
>> Just an update.  I have just added an additional 8Gb of RAM, so now the
system looks like:
              total        used        free      shared  buff/cache
available
Mem:       16370300     1641832     9548284        8656     5180184
 14408088
Swap:       2097148           0     2097148
We'll see what transpires over the course of a few weeks or months.

Thanks for all of your input.

Ken Emerson
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.mythtv.org/pipermail/mythtv-users/attachments/20220521/5ec7c5a3/attachment.htm>


More information about the mythtv-users mailing list