Plex causing internet to lag while gaming

Hey guys.  Whenever I have the Plex server running I get every minute or so a half second lag spike while I use my Playstation.  It is very strange.  

 

While playing COD my full bar connection will drop to 1 bar red and then back up to normal again.  Same goes for any game I am playing online.  Took me quite a while to figure out that it was Plex that was causing this.  Any ideas why this happens?

I don't think that this has to do with Plex Server...

Plex in idle does not cause any traffic, so it should not compromise your ping in game. 

If someone uses your Server over the plextv webpage outside your local network, the subsequent upload traffic will minimize your download rate...

When you stream your media locally, it is unlikely that this could cause any troubles, assuming you have a decent Wifi-Router or whatever

maybe you try testing your connection, when plex is off, and when plex is online using this webpage:   www .  speedtest . net

It 100% is Plex that is doing this.  I turn off the Server and the 1 sec lag spikes stop completely.  No one uses my Server away from the local network.  Plex is never in use when I am gaming, but it is 100% Plex that is causing these lag spikes.  PS3 and PS4.  I never notice it on my Computer.  But you notice it gaming.  Especially in FPS like COD when your player freezes for a half second then everything is quickly good again...until a min or so later.

Plex off..  3466635749.png Plex on. 3466640929.png

Ping test 

Plex off. 96554477.png Plex on. 96554463.png

I can vouch for this aswell, for a few weeks now I've had lagspikes going from 900ms up to 4000ms, been doing ping tests all over the place.

After fighting with my ISP etc I started to check my PC, turned off all the services, still there, turned off all the startups, problem gone.

And after going through all the startups I ended up with Plex, off = no ms issue, on= bam 1k ms directly in the ping -t.

Haven't tried reinstalling it yet but still, heads up if you notice this problem.

There is another post with similar issues and it turned out to be the Plex DLNA server causing the problem.  Try just turning that off.  I have not seen a fix for this.

Please get fix for this.

My last post was 5 months ago. This was apparently fixed in recent updates. I have not seen anyone mention this bug in a while.

My last post was 5 months ago. This was apparently fixed in recent updates. I have not seen anyone mention this bug in a while.

What happens if you have DLNA device discovery turned off and it still happens?

Or what happens if you use DLNA, even with device discovery off, and it still happens?

How can you avoid this issue if you use DLNA for console devices?

Seems like a band aid fix?

Turning off dlna was a band aid, but like i said, it was fixed in an update. Are you still having this problem?

Hello

I have plex media server 0.9.12.0.1071, windows 8.1. Big lags in world of tanks, when DLNA is 'ON' After i turn it off, lags disappear.

Not sure if there is a fix beyond turning DLNA "off", but it might benefit you to look into QoS in your router.

If anyone happens to run into this issue still I can confirm that turning off DLNA fixes it for me. Was getting micro lag on my consoles as well as some PC games and it stopped instantly after turning it off.

My apologies for the thread nerco

did you guys have to restart the server after turning off DLNA?

I can confirm that with the current version installed and I have had the Plex server running on 2 different machines at 2 different times that this is still an issue. Rocket League is the worst. My ping on there is normally 40ms to the east coast server. With the Plex server running it is fine but as soon as an outside share person starts streaming anything it jumps to like 200ms and is unplayable. While playing if I go and exit the Plex server my ping instantly drops back to normal. I do not want to have to disable DLNA as that would defeat some of my purposes for having Plex.

You say it happens when an outside person is streaming. Dlna is only local so I don’t think these are related. If it is outside connections, you might need to set up a QoS on your router to give highest priority to your games. If the problem really is dlna, I would look around your house for any dlna capable devices. If you don’t need the dlna feature on these devices, turn it off. Some dlna clients constantly ping for servers and can easily add latency to your network.

Hey MovieFan.Plex, I could really use some help here. I had this issue back in 2014 but an update fixed it for me. About 6 months ago it started happening again. About once a minute I get a 1000-3000ms spike where the network drops. It only happens with Plex running and I have tried disabling DLNA. I reformatted to a fresh legit copy of Windows 10 about a month ago and it’s still happening as well. Is there any information I can provide or any tips you can suggest?

Thanks!

Oh and my ping is totally fine with or without anyone watching while gaming etc. It’s just the network spikes.

When you say Plex is running, is it doping anything? If someone is watching a high bitrate transcoded movie that is taxing your CPU, or you have multiple streams going simultaneously, those could impact your network. I’m not aware of any specific problem where PMS would cause the network to drop. If your router is able to log it’s activity, that would be something to possibly check. You can provide your PMS log and I can look to see if PMS is doing something, but I would need some exact times when these drops occur so I can match it up to the log.

Thank you. Here’s my PMS logs and I attached a screenshot of 2 spikes, one at 5:53pm and one at 5:54pm. They happen about once every minute. Very similar to the original DLNA network spikes before the patch.

This only happens with PMS running and there’s no difference whether I’ve just opened up PMS and no one is streaming or if I’ve got 10 people streaming. Thank you for looking into this.

It looks like the PMS log reset shortly before I could upload it in the last post. Here’s another log with a spike happening right around 6:06:58 - 6:07:00.