Timout when waiting for NFS share to become ready? - Printable Version +- Kodi Community Forum (https://forum.kodi.tv) +-- Forum: Support (https://forum.kodi.tv/forumdisplay.php?fid=33) +--- Forum: General Support (https://forum.kodi.tv/forumdisplay.php?fid=111) +---- Forum: OS independent / Other (https://forum.kodi.tv/forumdisplay.php?fid=228) +---- Thread: Timout when waiting for NFS share to become ready? (/showthread.php?tid=362968) |
Timout when waiting for NFS share to become ready? - Jackie78 - 2021-06-04 Hello, I have recently upgraded Kodi 18.9 to 19.1, and noticed that when I try to access my NFS-Shares, I get a network-timout error message because my NFS share (which is actually a Synology NAS with a harddisk that usually goes to sleep after some hours of inactivity) is too slow to spin up the mechanical harddrive, which makes the first access attempt after several hours a little bit slower, actually the first access to the share takes about 5-6 seconds. When I retry 1 or 2 times, of course the error vanishes because my NAS has then woke up the harddrives and is much faster. In previous Kodi versions, this has never been a problem, because Kodi simply waited fo the share to become available. Now in Kodi 19, I get that error message very quickly after the NFS did not respiond, so I wonder if I can set a timeout in Kodi how long to wait until I get an error message? RE: Timout when waiting for NFS share to become ready? - DarrenHill - 2021-06-04 Thread moved to OS independent (for lack of OS information). RE: Timout when waiting for NFS share to become ready? - DaveBlake - 2021-06-04 Up until v19, NFS access was "wait forever" but this sometimes causes UI deadlocks. Hence this was changed to a 5s wait by default, and a property added to advancedsettings.xml to allow the user to configure it. See https://github.com/xbmc/xbmc/pull/15686. On my system 5s is way too short, hence I have restored the previous wait forever with the following entry in advancedsettings.xml Code: <network> It can also cause the first song to be skipped when playing a album, which is the symptom I first noticed. The other approach is to set Wake On Lan https://kodi.wiki/view/Wake_on_lan . The (out of date?) Wiki mentions it in relation to using MySQL, but I think it also applies to media located via LAN |