yaksplat 58 Posted January 25, 2020 Share Posted January 25, 2020 I just set up a new server Version 4.3.1.0 Specs: Processor: 2x Intel Xeon E5-2620 V1 Hex (6) Core 2GHzMemory: 16GB DDR3 (4 x 4GB - DDR3 - Reg ) Hard Drives: WD 8TB red Controller: 1x LSI 9211-4i HBA JBOD FREENAS UNRAID Watching on Apple TV app I migrated all of my content over to it and got everything running. This server is much more powerful than the old one. The CPU usage during this issue is under 5% and the memory is under 50%. The show was direct streaming but every few minutes the show would pause and continue pausing every few seconds until i exited out and then resumed. I would have to do this ever few minutes, but it was consistent for each show. 9 minutes here, but 2 minutes there. I reduced the bitrate down to 5MB/s for the log that's attached and it was still happening. Only when i reduced it to 2.5 MB/sec did it stop. Network is gigabit with 4 ports all active and functioning correctly at 1Gbps from the server. according to vlc: Media bitrate is 4090 kb/s content bitrate is 3806 kb/s These lines jumped out at me 2020-01-24 22:24:14.024 Info HttpServer: HTTP Response 206 to 192.168.1.250. Time: 125754ms. http://192.168.1.183:8096/emby/Videos/683334/stream.mkv?Static=true&mediaSourceId=c08756a8f4619c2e00c7a58a933f736c&deviceId=68515D17-345C-4C48-A543-5044C14BA41A 2020-01-24 22:27:37.043 Info HttpServer: HTTP Response 206 to 192.168.1.250. Time: 92443ms. http://192.168.1.183:8096/emby/Videos/683334/stream.mkv?Static=true&mediaSourceId=c08756a8f4619c2e00c7a58a933f736c&deviceId=68515D17-345C-4C48-A543-5044C14BA41A 2020-01-24 22:32:13.369 Info HttpServer: HTTP Response 206 to 192.168.1.250. Time: 275279ms. http://192.168.1.183:8096/emby/Videos/683334/stream.mkv?Static=true&mediaSourceId=c08756a8f4619c2e00c7a58a933f736c&deviceId=68515D17-345C-4C48-A543-5044C14BA41A 2020-01-24 22:33:38.302 Info HttpServer: HTTP Response 206 to 192.168.1.250. Time: 83592ms. http://192.168.1.183:8096/emby/Videos/683334/stream.mkv?Static=true&mediaSourceId=c08756a8f4619c2e00c7a58a933f736c&deviceId=68515D17-345C-4C48-A543-5044C14BA41A 2020-01-24 23:05:53.355 Info HttpServer: HTTP Response 206 to 192.168.1.250. Time: 1934009ms. http://192.168.1.183:8096/emby/Videos/683334/stream.mkv?Static=true&mediaSourceId=c08756a8f4619c2e00c7a58a933f736c&deviceId=68515D17-345C-4C48-A543-5044C14BA41A Any thoughts? Link to comment Share on other sites More sharing options...
Luke 37063 Posted January 25, 2020 Share Posted January 25, 2020 Those times are just the amount of time the client had an open connection to the video file. You would expect that to be a long time therefore it's not any indication of an issue. This type of problem is usually a sign that the bitrate is too high for the connection. I would try lowering the in-app quality settings. It appears you've done that and you found success with that, but i guess you were hoping for a different answer. Link to comment Share on other sites More sharing options...
yaksplat 58 Posted January 25, 2020 Author Share Posted January 25, 2020 At 2.5MB/s the picture looks horrible. I never had an issue like this with my previous installation. What could be different with a more capable server? Link to comment Share on other sites More sharing options...
Luke 37063 Posted January 25, 2020 Share Posted January 25, 2020 Probably the network connection or network configuration. Link to comment Share on other sites More sharing options...
yaksplat 58 Posted January 25, 2020 Author Share Posted January 25, 2020 I've tested the server to 4Gb/s from 4 computers with no issues. Full gigabit direct from the main switch to the apple TV. I'll give everything a reboot and see what happens... Link to comment Share on other sites More sharing options...
rbjtech 4260 Posted January 25, 2020 Share Posted January 25, 2020 If the network is proven to be good - then perhaps other areas need investigation such as IO from the disk controller etc. If you can do a simple file copy of a multi-GB file from your host machine to say a PC at max rate (~120 Mbyte/sec over a typical 1 Gbit/sec link), then you can pretty much rule out 'infrastructure' and start looking at the software imo.. Link to comment Share on other sites More sharing options...
mastrmind11 717 Posted January 25, 2020 Share Posted January 25, 2020 I had a similar issue about a year ago that took me quite a bit of time to diagnose. Do you have a managed switch on your LAN by chance? Link to comment Share on other sites More sharing options...
yaksplat 58 Posted January 25, 2020 Author Share Posted January 25, 2020 I had a similar issue about a year ago that took me quite a bit of time to diagnose. Do you have a managed switch on your LAN by chance? I do. It's a Ubiquiti switch. Link to comment Share on other sites More sharing options...
mastrmind11 717 Posted January 26, 2020 Share Posted January 26, 2020 I do. It's a Ubiquiti switch. Interesting, so do I Look into "broadcast storm" and how to mitigate it using your switch. There are a couple settings you can tweak that will kill multicast at the port level and likely improve your experience. It's very interesting stuff. Lemme know if you need any help. 3 Link to comment Share on other sites More sharing options...
Spaceboy 2493 Posted January 26, 2020 Share Posted January 26, 2020 Interesting. I’ve been having problems with sonos multicast and my edge switch. Sounds like this could be the same issue Link to comment Share on other sites More sharing options...
mastrmind11 717 Posted January 26, 2020 Share Posted January 26, 2020 (edited) Interesting. I’ve been having problems with sonos multicast and my edge switch. Sounds like this could be the same issue Could definitely be it. It was a really interesting trip figuring out the issues and implications of nasty packet loops and everything. Look into it and lemme know if you need any help, guidance, or whatever. Funny thing is it had been going on for years and I never noticed until I got a managed switch added in and started looking at multicast tx/rx from different devices. Edited January 26, 2020 by mastrmind11 1 Link to comment Share on other sites More sharing options...
Solution yaksplat 58 Posted January 26, 2020 Author Solution Share Posted January 26, 2020 Very interesting. That may very well have been it, as my issues went away. I'm going to have to do some more reading on this as it's completely new to me. This looks like a good start: https://help.ubnt.com/hc/en-us/articles/115001529267-UniFi-Managing-Broadcast-Traffic 2 Link to comment Share on other sites More sharing options...
Luke 37063 Posted January 27, 2020 Share Posted January 27, 2020 Thanks for the feedback ! Link to comment Share on other sites More sharing options...
ebr 14912 Posted January 27, 2020 Share Posted January 27, 2020 Can one of you guys respond here with a nice summary of the issue and solution? If you do that, I will turn it into an article in our new KB. Thanks! Link to comment Share on other sites More sharing options...
yaksplat 58 Posted January 28, 2020 Author Share Posted January 28, 2020 I'm still unsure if the broadcast storm was the cause of my issue, but it's worth paying attention to. After a reboot yesterday, I noticed that I had connectivity issues again, but then it dawned on me, I didn't give my nic Team a static IP. So when emby came up, it had a choice of 4 IPs to choose from and it wasn't always the same one. Once I set the static IP, I bound Emby to that address as well. At that point, everything was at least consistent IP wise, but I was still getting a pausing issue every couple of minutes, but only on the AppleTV client. This didn't affect either of the fire tvs, iphone or emby theater. I set up port isolation on the port to the AppleTV and still no change. I modified the bitrate with no change in the rate of pausing. This morning I set up wireshark on my server to monitor the traffic and the Apple TV works fine on Auto Bitrate. No pausing at all watching the same media as last night. I don't know why it's working now... However, Theater now takes 80+ seconds to launch a movie, but instant on AppleTV and an Android app. I'm at a loss confirming the rhyme and reason of why what is happening. Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now