I have started this post because @ActionA decided to close the thread we were all using to investigate the freezing issues we are experiencing as discussed in this thread April update causes System freezes - #181 by sam_nazarko even though the issue is not resolved inthe current and Krypton builds and the issues I am experiencing and it seems many others are as described by the OP @Sir_Mc_Tod in that thread. The thread seemed to latterly focus on SMB server releated issues. I do not believe this is the issue. My builds do not serve any content merely consume it, I assume using the SMB Client as all my media is on a NAS server and is shared with the network as a number of SMB shares. All favours of client consume this media, mostly Rpi 1 B+ and latterly Rpi 2 & 3, but also Android and Ubuntu Clients running current Kodi Versions. There are no issues related to these issues with clients other than the Rpi.
As a description of the symptoms, OSMC works perfectly for a while (there seems to be no consistent time when it exhibits the problem) when navigating the UI or after playing media and then returning to the TV show or Movie browser banners/thumbnails are not displayed. Sometimes the UI remains navigable for a short while but no thumbnails or banners are visible. Other times OSMC is frozen and unresponsive. SSH’ing in and either:
sudo systemctl restart mediacenter
sudo reboot now
Will return OSMC to fully working again until this issue repeats. This is exactly as described in the previous post by the OP in this thread April update causes System freezes - #181 by sam_nazarko which contains logs and various testing cycles from users. SO if you have these issue then please read the previous post first then contribute here. If your issue IS NOT related to OSMC freezing and missing thumbnails banners unresponsive UI then please don’t post here or we will have another thread closed incorrectly!
There was a report of an out of memory issue. This would explain the Kodi crash, and if systemd was unable to kill Kodi, then this would also explain the hanging on the screen. It would also be good to know if you can get Kodi running reliably again without rebooting, by issuing the following command:
sudo systemctl restart mediacenter
I will check with @popcornmix if anything can be grabbed from the VC side which may give us clues as to what’s going on.
I think closing the other thread wasn’t the worst idea. We had a lot of noise there and it was hard to keep track of things. If the problem truly is the same across all devices, then we only need to work closely with one or two users to fix it for everyone.
@sam_nazarko Thanks Sam but as we previously investigated and I reported the OOM didn’t seem to be the issue. I don’t think OSMC crashes as I can SSH in and restart the mediacenter most if not all of the time certainly recently all of the time.
Is there a command to capture the logs you require to disk for sanitising before uploading?
I am very happy that you created a new thread about this. It seems my english isnt as good as i thought it was
Just as an update from my side.
With the Actions i last described (and the May update) I was able to reduce the frequency of freezes from twice a Day to once a week.
Usage Profile is
Up time 24/7
Idle 18-20 hours a Day
Mainly video playback (from a nas via nfs, mysql database on nas)
As an aside in order for me to test builds faster. I have a large media collection on the NAS and I have been installing from scratch then rsyncing the userdata folder over from a backup so that I get the thumbnails etc. populated.
Can you confirm which folders in userdata should be rsynced to achieve this otherwise it takes forever for kodi to sync the thumbnails etc.
@popcornmix@sam_nazarko OK i have been testing a build compiled on the 22nd Feb 2016. There are no symptoms present. Navigation is fine thumbnails.Banners etc. display correctly. No freezing. This uses the same addons skins etc as our normal builds. Mythtv Client for Live TV.
This was built from scratch then booted once. Thumbnails and Textures13.db and userdata xml files were rsynced from a backup so that it would connect to our mysql server and have all thumbnails locally and not take forever to re-fetch them.
I’d like it if you could run your device for 24 hours, assuming the bug normally presents within 24 hours, and then report back. Then we’ll try the kernel. Then we can move on to Kodi. Failing that – system libs…