Linux [SOLVED] NFS causing hang on remote kodi boxes
#1
All systems in house Ubuntu 16.04.1
Kodi version 16.1 Git:c327c53 Compiled April 25 2016 from Official ppa:team-xbmc/ppa

Debug Log

I have a central MySql database on my server set up for all kodi boxes in my home. I have my server as my htpc. Everything is running over NFS and mounted from inside of Kodi, not the /etc/fstab. I have the same advancedsettings.xml on all computers and htpcs.

I can play media just fine from the main server / htpc with no trouble or lagging of any kind. The above log is from my laptop trying to play media. When I try to play any media off the NFS share the first time after loading up it hangs for 2 1/2 minutes or so before finally playing the media. This is happening on both a wired and wireless network connection. This is not happening on the tablets / phones that have the kodi app and advancedsettings.xml in place. They work first time everytime. Just the laptop, and I fear my pxe booted media centers as well, have yet to test them.

After the initial play attempt, hang, then finally playing It seems to be able to play immediately everytime after that.

What to look for?
Reply
#2
This line looks suspicious:

Code:
12:07:23 T:140499042166528   DEBUG: GetImageHash - unable to stat url nfs://192.168.122.1/

because your other NFS references are to nfs://192.168.1.2.

Perhaps something in your database or config has an outdated reference to that IP address and is causing the hang.
Reply
#3
Noticed that to but unsure of where it came from, there is nothing on my systems that points to that ip. I recreated the db as well.
Reply
#4
GetImageHash sounds like something related to slideshows or photos. Do you have any config bits that reference that IP?

Try running something like:

Code:
find ~/.kodi -type f -print0 | xargs -0 grep -F 192.168.122.1
Reply
#5
Code:
/home/jason/.kodi/temp/kodi.log:08:41:45 T:140648686540544   DEBUG: GetImageHash - unable to stat url nfs://192.168.122.1/
/home/jason/.kodi/temp/kodi.log:08:43:54 T:140648686540544   DEBUG: GetImageHash - unable to stat url nfs://192.168.122.1/
/home/jason/.kodi/temp/kodi.old.log:08:26:44 T:140437412529920   DEBUG: GetImageHash - unable to stat url nfs://192.168.122.1/
/home/jason/.kodi/temp/kodi.old.log:08:30:28 T:140435766900480   DEBUG: GetImageHash - unable to stat url nfs://192.168.122.1/
Reply
#6
Looks like some older shares added by IP and then the server's IP has changed. It's deep down in the Video / whatever .db and most likely causes timeouts when checking for it.
First decide what functions / features you expect from a system. Then decide for the hardware. Don't waste your money on crap.
Reply
#7
Eliminated my qemu kvm install on server, that removed the only 192.168.122.1 that existed on the network.I have narrowed it down to only certain bits of media now, and the problem is happening on my main htpc as well as the laptop and tablet. It's definitely a central problem.

*EDIT* Think I found it. Removed the sources and Recreated the music database, the music was where I was having problems in the first place. Now the suspect music files are playing instantly on all devices. I think it was erroring with different DBs on the same files or something. I haven't had an issue yet with video so I'm hoping it was just music. The above post got me to clean up stuff I no longer use, KVM and LXC. Marking as solved for the time being.
Reply

Logout Mark Read Team Forum Stats Members Help
[SOLVED] NFS causing hang on remote kodi boxes0