2021-01-22, 22:43
I've been messing around with this for a few days and I'm out of ideas.
I have been using Kodi 18.9 on my old install of Linux Mint 18.3. I have a rather large library but on that OS Kodi might use 40% of my ram and be stable there.
I recently upgraded to 20.1 (Based on Ubuntu Focal) via a clean install to a new drive. I initially installed the flatpak version of Kodi (18.8) and just dragged over my folders (~/.kodi) from the old install, started it up and I was back in business with all my settings.
Quite quickly I noticed that RAM usage by kodi was constantly increasing. Even long after the library scan was done RAM usage increases until it has maxed out my 32GB and the system freezes. This happens in less than an hour. RAM usage constantly increases whether I am watching something or it is sitting idle. The rate of increase doesn't seem to slow. I use the Aeon MQ8 skin, a heavy one, I know, but have never had a problem with it.
I uninstalled the flatpak version and upgraded to 18.9 via kodi PPA. Same result. I switched to Estuary, no change. I disabled all my addons (uninstalled some also), tried various kernels and this just keeps happening. In debug mode RAM usage shown there also increases such that last night, Kodi would show it is using 10 GB and glances/htop will show 21.5 GB usage. At this moment though Kodi is showing 12.5GB of usage but HTOP shows 10.3 GB of usage and increasing at about 10MB a second. (just before I post this Kodi is reporting usage of 7.6GB and falling while HTOP reports 14GB and increasing) *SHRUGS*
I have a bunch of media folders on my NAS mounted NFS. Another thing is that Kodi is constantly downloading data from my NAS at an average of about 2 MBytes a second, while sitting idle. It will do this all day. The only thing the debug log is showing is pages and pages like this, showing this for all the shared folders:
Anybody have any ideas on how I can troubleshoot this further? I am out of ideas.
Tanx
I have been using Kodi 18.9 on my old install of Linux Mint 18.3. I have a rather large library but on that OS Kodi might use 40% of my ram and be stable there.
I recently upgraded to 20.1 (Based on Ubuntu Focal) via a clean install to a new drive. I initially installed the flatpak version of Kodi (18.8) and just dragged over my folders (~/.kodi) from the old install, started it up and I was back in business with all my settings.
Quite quickly I noticed that RAM usage by kodi was constantly increasing. Even long after the library scan was done RAM usage increases until it has maxed out my 32GB and the system freezes. This happens in less than an hour. RAM usage constantly increases whether I am watching something or it is sitting idle. The rate of increase doesn't seem to slow. I use the Aeon MQ8 skin, a heavy one, I know, but have never had a problem with it.
I uninstalled the flatpak version and upgraded to 18.9 via kodi PPA. Same result. I switched to Estuary, no change. I disabled all my addons (uninstalled some also), tried various kernels and this just keeps happening. In debug mode RAM usage shown there also increases such that last night, Kodi would show it is using 10 GB and glances/htop will show 21.5 GB usage. At this moment though Kodi is showing 12.5GB of usage but HTOP shows 10.3 GB of usage and increasing at about 10MB a second. (just before I post this Kodi is reporting usage of 7.6GB and falling while HTOP reports 14GB and increasing) *SHRUGS*
I have a bunch of media folders on my NAS mounted NFS. Another thing is that Kodi is constantly downloading data from my NAS at an average of about 2 MBytes a second, while sitting idle. It will do this all day. The only thing the debug log is showing is pages and pages like this, showing this for all the shared folders:
Code:
2021-01-22 14:34:17.996 T:140463234529024 DEBUG: NFS: Refreshing context for 192.168.1.10/volume2/VS2, old: 3514218, new: 3514239
2021-01-22 14:34:17.996 T:140463234529024 DEBUG: NFS: Using cached context.
2021-01-22 14:34:17.998 T:140462291654400 DEBUG: NFS: Refreshing context for 192.168.1.10/volume1/Ms, old: 3514221, new: 3514241
2021-01-22 14:34:17.998 T:140462291654400 DEBUG: NFS: Using cached context.
Anybody have any ideas on how I can troubleshoot this further? I am out of ideas.
Tanx