Linux Server very slow

server-linux

#1

Hello Together
Since some time i have installed a Linux Ubuntu 18.04 VM on my ESX.
I installed Plex via rpm.
I mounted (smb) a folder from my qnap NAS to this machine.
I have the problem, that my Plex Server is loading viedos very slow so it loads for 5 minutes, then i watch 3 minutes and it starts loading again.
Sometimes Plex web app even sais to me that the server is down, but i see that it is online and plex is running.

Has anyone an idea what i am missing?


#2

Need to know more:

  1. How many VCPUs are you giving it?
  2. Log files please (Settings - Server - Help - Download Logs (Attach the ZIP it gives you)

#3

I think I found a solution, i am now using nfs instead of samba, and it works quite well now.
I will watch my System and report if it slows down again, but for now its better.
Thank you for your help @ChuckPA


#4

Ok it was just temporary. I still have the problems discribed above.
Find my logs attached.


#5

You keep dropping internet connectivity.

May 26, 2018 23:26:07.343 [0x7f57927fe700] DEBUG - HTTP requesting GET http://plex.tv/pms/:/ip
May 26, 2018 23:26:07.344 [0x7f5789ffb700] DEBUG - NAT: UPnP, attempting port mapping.
May 26, 2018 23:26:07.427 [0x7f57927fe700] DEBUG - HTTP 200 response from GET http://plex.tv/pms/:/ip
May 26, 2018 23:26:07.427 [0x7f57927fe700] DEBUG - PublicAddressManager: Got public IP from http://plex.tv: xxx.1xx.1xx.7x
May 26, 2018 23:26:27.163 [0x7f57957ff700] DEBUG - EventSource: Failure in IdleTimeout (0 - Success).
May 26, 2018 23:26:27.163 [0x7f57957ff700] DEBUG - MyPlex: We appear to have lost Internet connectivity, resetting device URL cache.
May 26, 2018 23:26:27.163 [0x7f57957ff700] ERROR - EventSource: Retrying in 15 seconds.
May 26, 2018 23:26:29.579 [0x7f578cfff700] DEBUG - NetworkServiceBrowser: SSDP departed after not being seen for 20.566419 seconds: 192.168.1.1
May 26, 2018 23:26:29.579 [0x7f578cfff700] DEBUG - NetworkServiceBrowser: SSDP departed after not being seen for 20.773464 seconds: 192.168.1.200
May 26, 2018 23:26:29.805 [0x7f578cfff700] DEBUG - NetworkServiceBrowser: SSDP arrived: 192.168.1.200 (http://127.0.0.1:58080/53d0c2310c.xml)
May 26, 2018 23:26:29.805 [0x7f5788fff700] DEBUG - HTTP requesting GET http://127.0.0.1:58080/53d0c2310c.xml
May 26, 2018 23:26:29.805 [0x7f5788fff700] ERROR - Error issuing curl_easy_perform(handle): 7
May 26, 2018 23:26:29.806 [0x7f5788fff700] WARN - HTTP error requesting GET http://127.0.0.1:58080/53d0c2310c.xml (0, No error) (Failed connect to 127.0.0.1:58080; Connection refused)

#6

But I alsow expirience this in LAN, so while it looses internet connection it should be able to play movies localy, shouldnt it?


#7

Did you configure LAN to play without authentication? (Settings - Server - Network)

If not, playback will pause while it re-authenticates. PMS does not cache any credentials locally yet. Everything, because of how a PlexPass is handled, must be authenticated through Plex.tv.


#8

No I did not configure that.
So it is my internet connection.
But that is kind of strange, because everything else in the network stays connected and I never had problems before.


#9

I cannot explain what is happening or what might have changed for you.
I can only tell you what the log files are telling me.
It might be the connection from you through your ISP to Plex.tv has been having problems or is now routed differently and in such a way that it doesn’t work well.

I do suggest you make the entry 192.168.1/24 in the “List of IP addresses and networks that are allowed without auth” if you’re using a known-secure LAN (all wired or otherwise AES-encrypted WiFi) as a test. This will allow you to verify whether the problem is rooted in the server’s inability to authenticate or the client (players). If this corrects the problem then the problem is from your server -> Plex.tv. If it does not correct the slowness then the problem is entirely on your LAN itself.


#10

I now gave my LAN access without login and it still keeps failing.
My server disconnects (in the PLex server list), although it is online and i can access it via ssh and download stuff (it has internet connetction)


#11

Please clarify:

@Ninjiner said:
I now gave my LAN access without login and it still keeps failing.
My server disconnects (in the PLex server list), although it is online and i can access it via ssh and download stuff (it has internet connetction)

Which client(s) keep disconnecting?
What do you mean by “disconnect”? Playback stops on local devices?


#12

I start either the Plex Media Client or go to the web application. Then like normally it searches for server.
The first thing here my server is displayed as offline even if can clearly verify that it is only and can ping my local router and other services like google or else.
The second thing ist
And last but not least one good thing, since I desabled authentification for the LAN the Playback doesn’t fail so many times anymore.
But still my server very often claims to be offline…

Hope my description helps you.