2020-09-12, 13:55
I ask for help to Kodi devs,
I have an user that every time try to play music from samba
the CPU spikes to over 100% for about 15s
this only when Netflix addon is installed (also without login)
The configuration is:
Linux Ubuntu
Kodi 18 or also 19, with MySQL server
Add music via Samba, about 30k tracks
Netflix add-on installed (login not needed)
The steps are:
- Open Kodi music library -> and play music by select the "Songs" menu
I personally can not reproduce the problem perhaps because i have only 2.500 songs and not 30.000
i do not know how to deal with this situation
because the Netflix add-on service is never called in none of the cases,
and the service is always in idle because has noop when not in playback
i have tried to add a lot of debug point as confirm
the only thing i thought is kodi python thread management,
NF addon service have 3 threads, where on each thread live an http server
but also keep only two threads/server the situation no change.
We have seen that one LanguageInvoker thread is the cause of this 15secs of 100% CPU usage
but we do not know to which component is referred to
We have more debug logs in this Issue thread:
https://github.com/CastagnaIT/plugin.vid...issues/859
How can you understand more?
I have an user that every time try to play music from samba
the CPU spikes to over 100% for about 15s
this only when Netflix addon is installed (also without login)
The configuration is:
Linux Ubuntu
Kodi 18 or also 19, with MySQL server
Add music via Samba, about 30k tracks
Netflix add-on installed (login not needed)
The steps are:
- Open Kodi music library -> and play music by select the "Songs" menu
I personally can not reproduce the problem perhaps because i have only 2.500 songs and not 30.000
i do not know how to deal with this situation
because the Netflix add-on service is never called in none of the cases,
and the service is always in idle because has noop when not in playback
i have tried to add a lot of debug point as confirm
the only thing i thought is kodi python thread management,
NF addon service have 3 threads, where on each thread live an http server
but also keep only two threads/server the situation no change.
We have seen that one LanguageInvoker thread is the cause of this 15secs of 100% CPU usage
but we do not know to which component is referred to
We have more debug logs in this Issue thread:
https://github.com/CastagnaIT/plugin.vid...issues/859
How can you understand more?