Random XBMC/J River freeze when watching movies stored on unRaid


Recommended Posts

Hi guys,

 

I have a HP N40L with a 3TB WD Red parity drive, 1 x 3TB WD Red and 3 x 2TB Seagate. I am using a registered version of unRaid. The NAS is setup with a fixed IP address.

 

On my HTPC (an AMD K6-5400K with 4GB ram), the IP is also set to fixed. I don't have issues copying files to and fro the NAS and pinging the NAS gives 0% losses. The issue I have is whether I am using Windows 7 on my HTPC or window 8, and no matter if I use XBMC or J River, I get random freeze when watching movies being stored on the NAS.

 

There are no errors on the NAS and the HTPC is also reinstalled many times. The problem with the freeze is that I cannot reproduce it at will. Sometimes unraid will run fine for a week and then it returns with a quick hiccup and then it is fine for another 4 days or so. It is very hard to troubleshoot.

 

Anyone experience similar things?

 

Thanks

Link to comment

If it's just a 'hiccup' (freeze of 4-5 seconds) it likely could be the hard-drive had to spin up after being  spun-down while the player or unRAID had that part of the movie buffered in memory. If that's the case, then try setting spindown time to be longer.

Link to comment

I can start the movie from the HTPC...it plays fine initially and at a random location it will just freeze. If I am watching the movie from J River, I will need to exit the movie, and then replay the movie again and it will resume at that spot when it froze.

 

The whole thing is very random. I cannot reproduce the issue at will. It just come and go and happens to any movies on the unRaid drives. I also have a USB drive attach to the HTPC and to date I have not experienced any thing like the unRaid NAS. Hence I am thinking the issue is with the NAS.

 

 

Link to comment

I have the same issue. Do you have AFP enabled?

Check out the log file once the movie stop and see if any AFP error message appeared. In my case it is the AFP which I have enabled because of TM which is somehow related to the SMB stream. I know it is hard to believe but as soon as the movie freezes the AFP error in the log is presented.

Link to comment

Thanks for the feedback and no...I don't have AFP enabled because I don't have a Mac at home....any other things I might need to check?

 

I have the same problem. In XBMC, I just increased the cache buffer size and the problems stopped.

 

<advancedsettings>
<network>
    <buffermode>1</buffermode> 
    <cachemembuffersize>62914560</cachemembuffersize>
    <readbufferfactor>4</readbufferfactor>
  </network>
</advancedsettings>

 

This will force XBMC to cache 60MB of the file

 

I know this is an unRAID problem, but a cannot trace it either, so I use this workaround.

Link to comment

Thanks I will try the cache on XBMC. I am also using J River on my HTPC and I don't think J River support cache for movies....would a cache drive on UnRaid itself be the same as having a cache for XBMC?

unRAID cache drives are only for cacheing writes, not reads, so no.
Link to comment

Sorry I was away a few days for offsite work.

 

Any ideas why unRaid has this issue at all? Apart from having a read cache for XBMC is there no other possible ways we can mitigate this issue?

 

unRaid has been working great so far....this is the only issue I have had...

 

 

Link to comment

Any ideas why unRaid has this issue at all? Apart from having a read cache for XBMC is there no other possible ways we can mitigate this issue?

As this is normally associated with a drive having to be spun up, have you taken any action in your share settings to ensure that all the files for a given movie end up on the same physical disk?

Link to comment

Hi Fliptoback, please see this link to a post I put on here a short while ago.

 

http://lime-technology.com/forum/index.php?topic=33405

 

Hope this might be of some help to you, basically had problems and in the end I started using NFS rather than SMB for streaming and it has totally sorted my problem. Also passed this information on to a friend of mine using a similar setup and it has also rectified the problem for him also.

Link to comment

Thanks all.

 

@dgaschk: I have not reiserfschk all the data disks. Will do so if the issues persists...but I find it extremely unlikely that ALL the disks have errors at the same time given that XBMC/J River seem to hang at various parts of the movies which are physically stored in different disks. But it is a good point you raised and thank you.

 

@itimpi: all the files associated with the movies/videos are located at the same disk and in the same folder physical storage.

 

@Poprin: Okay. I read your previous post and it seems very promising. I am going to try tonight and see how it goes. I suspect I will need to try the NFS out for a period of time because the hanging issue is so random I can't reproduce it at will. Only time will time. Thanks for your post. I think you are on to something here.....not sure why NFS is technically better than SMB for this situation but if it works I am happy.

 

I will post back my success/failure story on my next post here. Thanks again.

Link to comment

Okay. This is harder than I thought.

 

NFS support for Windows 8 is only available if you use Windows 8 Enterprise.

 

I am using Windows 8.1 Pro version and NFS support does not come natively built in...

 

What do you guys do to get Windows 8 Pro to talk NFS with unRaid?

Link to comment

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.