Server suddenly developed lag spikes when playing anything higher than 4Mbps quality

I PM’ed you a download link for a sample on the home video issue.

So far tonight, I’ve had 0 issues with the plex playback on regular videos. Playing full quality video with the “Original” setting selected on with movies of a base bitrate higher than 20000 kbps with 5.1 ACC audio. Thankfully I have a light week so I’ll keep trying after work to reproduce and get new logs. This is the longest it’s gone without issue, so I guess it’s like taking your car to the mechanic - once someone looks at it it stops making the funny sounds :confused:

Glad your other videos are working now. It could be some networking issues going on before, but who knows. If it happens again, hopefully you can grab the logs and something will show.

For your home videos, the sample you gave me appears to be in a WMV8 format. I generated a few WMV8 files of my own and was able to reproduce the issue. Let me do some more testing and I’ll get back to you.

I’m glad they are too, I’m just curious at this point now why it had issue Monday and not yesterday when there were 0 changes on my side. I’ll keep an eye on it.

Also glad the sample could help with the home videos. Thanks for looking into it.

Got lucky reproducing the lag spikes today. Watching the fourth Harry Potter, right at the very beginning starting about 15 seconds in. It did clear itself up after about a minute. The hour changed at some point during this so I’m not sure which server trace you need, but I’m attaching the latest 2 server traces and the device trace.

Adding 2 more logs(more info won’t hurt, right?). Happened again roughly 8 minutes, 10 seconds in. Right before the pause in the logs.

Short of my chromecast and the laptop I was using to check there was nothing else activity using my network and my server was pretty much idle, sitting at about 10% CPU usage. I also believe (can’t confirm at this point) that this second set was set to 3.0 Mbps and not “Original” like in the first set of logs.

In the first log where you are playing Harry Potter. It appears you are trying to watch the movie in the original setting. The original source appears to be around 20 Mbps. The CC v1 has a hardware limitation where anything above 8 Mbps may not play properly. I’m not sure if the v2 is better in this regard.

There could also be a network issue. I see lots of “We didn’t receive any data from x.x.x.x” in your logs.

I look at your second set of logs later.

I do also have those lagging issue. Everything was fine a few weeks ago. I tried reverting to earlier version ( past 1.0) and i get this still. The only solution i have found for now is to drop quality to 480p! This does not make sense. Why was everything working in high quality before? This is a complete mystery.

Here a log. I’m able to repeat the issue. In log stalled at 13:49:22
I keep getting either Server not powerful enough message or network connection too slow.
I had not got any of those issue of my many years using Plex (same setup)
This is frustrating.

I too have a hard time believing it’s my network specifically because this wasn’t an issue before the 1.0 updates. I have everything set to original by default, most of my movies have a base quality higher than 12Mbps - Including the Austin Powers I watched originally to try to reproduce. It’s also strange as this tends to happen when the only thing hitting my network is me watching a single video. If I’m in one room watching one item on original quality, and my fiance is in another watching another movie on original (both greater than 12Mbps base quality) + facebook and online gaming we tend not to see issues.

MovieFan, just curious if you had any update on either of the issues here.

Thanks.

I’ve been having the same issue since a recent update to my Plex app on my Samsung smart TV. Now I have intermittent lag on 4 Mbps videos. Never had this before the update. The Plex app version is 2.006 .

@celegorm13 - Sorry for getting back to you so late. I’ve reviewed your log and I see this error reported at the beginning of you watching Harry Potter.

VERBOSE - [TranscodeOutputStream] Waiting 100ms for more data…
That indicates that the transcoder was not able to read the input file fast enough to generate an output file. Since this occurred at the start of the transcode process, it sounds like some other process was trying to access the video file at the same time as Plex. What other things do you have running in the background on your PMS machine?

The only other thing that runs on that same server is some PVR software for home security, but that all saves to a different hard drive. Nothing else should have been accessing the drive with the media on.

Does that software possible use the OS drive as a temp location before saving the final footage? Plex also uses the OS drive for it’s temp transcoder folder, unless you’ve changed the location.

I just took a look. It does not use the OS drive at all from what I can tell. It’s setup to do a direct write to the other drive without touching any other drive.

If it matters, my OS drive is an SSD.

I don’t know exactly what is causing the bottleneck, but there is one according to your log. Can you temporarily turn off that PVR software and see if Plex improves?

I couldn’t turn it off per contract with my home insurance company (I get a discount for having it) but I did get it setup on a different PC for the time being. I won’t be home too much this weekend but when I am home I’ll see if I can reproduce.

By temporary, I meant like 10 minutes, just to see if things get better. If it is working fine on another computer, great.

Lol well 10 minutes would have been much easier to manage.

It did happen again today, roughly 6 minutes ago as of typing this. New log attached.

I didn’t see any load on the server when I got logged in. everything was idling low. I’ll poke around and see if I see anything else in the windows logs or something.

Your server looks to be ok. I am not seeing the same errors are before. Now I am seeing the Android app pausing for some reason. Unfortunately I can’t tell why. I do see that the Android device is connected remotely so it could be internet glitches. I also see that your server is communicating using IPv6. Plex still isn’t optimized to work with IPv6 so I would turn that off for now.

For the actual pausing issue, I’m going to need to see the log from the Android app after you see the pausing. Please recreate the issue and let it pause 2 to 3 times, note when this happens, then provide me the Android log. You can find instructions on getting the log from my signature.