Plex - Plex Schedule Task making server connection unstable. | PlexGuide.com

Plex Plex Schedule Task making server connection unstable.

  • Stop using Chrome! Download the Brave Browser via >>> [Brave.com]
    It's a forked version of Chrome with native ad-blockers and Google's spyware stripped out! Download for Mac, Windows, Android, and Linux!
Welcome to the PlexGuide.com
Serving the Community since 2016!
Register Now

WarbossGork

Citizen
Original poster
Mar 12, 2020
6
0
Hey Guys, hope one or some of you maybe have an idea about this issue.

I'm having a weird issue with my server. Whenever the schedule task for plex starts to run, I start to lose connection to the whole server. and cloudflare return with an error that the server is unreachable.
Plex, Portainer, Pgui and Putty you name it. But it's only for less than a minute. If I refresh it straight after it connects fine. Then suddenly it happens again after some time..

For example in alert plex shows the following
06:37 Opened connection to "server", listening for events.
06:37 Connection to "server" closed.
05:54 Opened connection to "server", listening for events.
05:54 Unable to listen for events on "server".
05:54 Unable to listen for events on "server".
05:37 Opened connection to "server", listening for events.
05:36 Connection to "server" closed.
03:37 Opened connection to "server", listening for events.
03:37 Connection to "server" closed.
03:17 Opened connection to "server", listening for events.
03:17 Unable to listen for events on "server".
03:01 Opened connection to "server", listening for events.
03:01 Connection to "server" closed.
02:41 Opened connection to "server", listening for events.
02:41 Connection to "server" closed.
02:06 Opened connection to "server", listening for events.
02:06 Connection to "server" closed.
01:39 Opened connection to "server", listening for events.
01:39 Connection to "server" closed.

I can also force it to happen if i activate Generate intro video markers.

It seems like it something to do with Plex when it's analysing files.

There's no problem with daily use and having multiple streams running.

Server:
Hetzner with a CPX31.
Traefik is up using CloudFlare.
Shield is up for everything except for Tautulli and Plex.
 

doob

Administrator
Project Manager
Jun 7, 2020
981
514
The ssh lost is drive is filled

So when server drive is filled; you cant connect to the server

Chapter markets , thumbs used a lot of space, dame is the intro markers

We prefer always

Don't do it
You hit the api to hard , and fill up the server to quickly and the end resolution is server down
 
  • Like
Reactions: 1 user

WarbossGork

Citizen
Original poster
Mar 12, 2020
6
0
Only intro markers are enabled.

Would it help to tinker with PG clone settings?
Or is this just a normal thing when intro markers are enabled?
 

Edrock200

MVP
Staff
Nov 17, 2019
768
275
Shouldn't be, but also depends on your box and settings. For example if your iowait in netdata is very high (50+%), this can cause other processes to hang while waiting for disk. This is often causes by waiting on rclone to fetch chunks. Although common logic would make one think a lower chunk size would alleviate this issue, I've actually found this to have the opposite effect. I suspect this is because numerous api calls in a small window of time for smaller chunks get throttled by google whereas larger chunks require fewer api calls and can go through relatively quickly, assuming your download speed from google drive is good.

Also the optimize database and/or clean bundles tasks will sometimes yield plex unresponsive from anywhere from a few seconds to several minutes depending on the disk speed (especially for platter hdd's), horsepower of your box and size of your libraries, but it shouldn't affect all containers/connectivity.
 
  • Like
Reactions: 1 user

WarbossGork

Citizen
Original poster
Mar 12, 2020
6
0
Hmm looked at my IOwait in netdata for the last 2 days and it's never higher than 5%.
I've set the chunks to 128 in PG Clone from 32 but it didn't do anything.
But since my server has pretty much looked through all my files it doesn't do a lot nowadays so the issue is barely happening now. And when it happens it's past midnight.
 

Recommend NewsGroups

      Up To a 58% Discount!

Trending