Plex hangs for like a few minutes, then resolves itself, then hangs again, then requires restart

Server Version#: 1.16.6.1592
Player Version#: 3.108.2

I was streaming, then all of the sudden, the stream started to hang. IT resolved the first time, then a few minutes later, it occurred, the dashboard wouldn’t load on multiple devices. All streams were hung. I restart the docker container and everything work.

Any ideas? This is my 2nd post Plex hangs randomly, restart fixes it,

I tried a few fixes,

  • increased fs.inotify.max_user_watches
  • mounted the /tmp directory in the container to somewhere on my host machine, since I kept getting “EAE timeout! EAE not running, or wrong folder? Could not read” on the /tmp folder, even though I mounted the /transcode folder on my host

These logs are with verbose/debug turned off

  • Plex media server.log

Sep 11, 2019 19:49:43.685 [0x7f11717fa700] WARN - Got a transcode session ping without a session GUID (or with an invalid one).
Sep 11, 2019 19:51:15.308 [0x7f11717fa700] ERROR - Error issuing curl_easy_perform(handle): 28
Sep 11, 2019 19:51:25.418 [0x7f12e37fe700] ERROR - [TranscodeOutputStream] Streaming Session 0x7f1158e4fee0 appears to have died from under us
Sep 11, 2019 19:51:25.463 [0x7f11717fa700] WARN - Got a transcode session ping without a session GUID (or with an invalid one).
Sep 11, 2019 19:51:25.735 [0x7f11717fa700] WARN - Got a transcode session ping without a session GUID (or with an invalid one).
Sep 11, 2019 19:51:25.787 [0x7f11717fa700] WARN - Got a transcode session ping without a session GUID (or with an invalid one).
Sep 11, 2019 19:51:54.417 [0x7f12e2ffd700] INFO - It’s been 2404 seconds, so we’re starting scheduled library update for section 1 (Movies)
Sep 11, 2019 19:51:54.417 [0x7f12e2ffd700] INFO - It’s been 2398 seconds, so we’re starting scheduled library update for section 3 (Music)
Sep 11, 2019 19:51:54.417 [0x7f12e2ffd700] INFO - It’s been 2033 seconds, so we’re starting scheduled library update for section 2 (TV Shows)
Sep 11, 2019 19:52:13.866 [0x7f11717fa700] WARN - Got a transcode session ping without a session GUID (or with an invalid one).
Sep 11, 2019 19:52:34.234 [0x7f12b37fe700] WARN - Held transaction for too long (…/Statistics/StatisticsManager.cpp:248): 0.200000 seconds
Sep 11, 2019 19:52:42.961 [0x7f11717fa700] WARN - Got a transcode session ping without a session GUID (or with an invalid one).
Sep 11, 2019 19:53:04.344 [0x7f12b17fa700] WARN - Held transaction for too long (…/Statistics/StatisticsManager.cpp:248): 0.130000 seconds
Sep 11, 2019 19:53:19.038 [0x7f11717fa700] WARN - Got a transcode session ping without a session GUID (or with an invalid one).

Sep 11, 2019 19:56:54.417 [0x7f12b17fa700] INFO - It’s been 2333 seconds, so we’re starting scheduled library update for section 2 (TV Shows)
Sep 11, 2019 19:57:19.258 [0x7f11717fa700] WARN - Timed out waiting for segment.
Sep 11, 2019 19:58:21.178 [0x7f11717fa700] WARN - Got a transcode session ping without a session GUID (or with an invalid one).
Sep 11, 2019 19:58:21.450 [0x7f11717fa700] WARN - Got a transcode session ping without a session GUID (or with an invalid one).
Sep 11, 2019 19:58:21.487 [0x7f11717fa700] WARN - Got a transcode session ping without a session GUID (or with an invalid one).
Sep 11, 2019 19:58:21.504 [0x7f11717fa700] WARN - Got a transcode session ping without a session GUID (or with an invalid one).
Sep 11, 2019 19:58:21.525 [0x7f11717fa700] WARN - Got a transcode session ping without a session GUID (or with an invalid one).
Sep 11, 2019 19:58:21.545 [0x7f11717fa700] WARN - Got a transcode session ping without a session GUID (or with an invalid one).
Sep 11, 2019 19:58:21.570 [0x7f11717fa700] WARN - Got a transcode session ping without a session GUID (or with an invalid one).
Sep 11, 2019 19:58:21.721 [0x7f11717fa700] ERROR - [PlexRelay] kex protocol error: type 7 seq 12
Sep 11, 2019 19:58:22.767 [0x7f11717fa700] INFO - AutoUpdate: no updates available
Sep 11, 2019 19:58:22.770 [0x7f11717fa700] INFO - [PlexRelay] Allocated port 8637 for remote forward to 127.0.0.1:32401
ep 11, 2019 20:00:03.262 [0x7f12a3fff700] ERROR - Network Service: Error in browser handle read: 125 (Operation canceled) socket=-1
Sep 11, 2019 20:00:03.363 [0x7f12a3fff700] INFO - Network Service: Abandoning browse socket, it was closed.
Sep 11, 2019 20:00:03.363 [0x7f12a3fff700] ERROR - Network Service: Error in browser handle read: 125 (Operation canceled) socket=-1
Sep 11, 2019 20:00:03.463 [0x7f12a3fff700] INFO - Network Service: Abandoning browse socket, it was closed.
Sep 11, 2019 20:00:03.463 [0x7f12a3fff700] ERROR - Network Service: Error in browser handle read: 125 (Operation canceled) socket=-1
Sep 11, 2019 20:00:03.563 [0x7f12a3fff700] INFO - Network Service: Abandoning browse socket, it was closed.
Sep 11, 2019 20:00:03.563 [0x7f12a3fff700] ERROR - Network Service: Error in browser handle read: 125 (Operation canceled) socket=-1
Sep 11, 2019 20:00:03.663 [0x7f12a3fff700] INFO - Network Service: Abandoning browse socket, it was closed.
Sep 11, 2019 20:00:03.663 [0x7f12a3fff700] ERROR - Network Service: Error in browser handle read: 125 (Operation canceled) socket=-1
Sep 11, 2019 20:00:03.763 [0x7f12a3fff700] INFO - Network Service: Abandoning browse socket, it was closed.
Sep 11, 2019 20:00:03.763 [0x7f12a3fff700] ERROR - Network Service: Error in browser handle read: 125 (Operation canceled) socket=-1
Sep 11, 2019 20:00:03.863 [0x7f12a3fff700] INFO - Network Service: Abandoning browse socket, it was closed.
Sep 11, 2019 20:00:03.863 [0x7f12a3fff700] ERROR - Network Service: Error in browser handle read: 125 (Operation canceled) socket=-1
Sep 11, 2019 20:00:03.964 [0x7f12a3fff700] INFO - Network Service: Abandoning browse socket, it was closed.
Sep 11, 2019 20:00:03.964 [0x7f12a3fff700] ERROR - Network Service: Error in browser handle read: 125 (Operation canceled) socket=-1
Sep 11, 2019 20:00:04.064 [0x7f12a3fff700] INFO - Network Service: Abandoning browse socket, it was closed.
Sep 11, 2019 20:00:07.892 [0x7f12b1ffb700] ERROR - Error issuing curl_easy_perform(handle): 28
Sep 11, 2019 20:02:31.559 [0x7f12e9217700] WARN - JobManager: Could not find job for handle 333
Sep 11, 2019 20:02:31.559 [0x7f11717fa700] WARN - HTTP error requesting GET http://127.0.0.1:36557/system/agents/update?mediaType=2&force=1&guid=com.plexapp.agents.thetvdb%3A%2F%2F326287%3Flang%3Den&id=8865 (0, No error) (Empty reply from server)
Sep 11, 2019 20:02:31.570 [0x7f12e9217700] WARN - JobManager: Could not find job for handle 405
Sep 11, 2019 20:02:31.703 [0x7f12f38cab80] INFO - Killing process: Plex EAE Service (pid: 659)
Sep 11, 2019 20:02:31.703 [0x7f12f38cab80] INFO - Killing process: Plex Relay (pid: 53409)
Sep 11, 2019 20:02:31.704 [0x7f11717fa700] WARN - Got a transcode session ping without a session GUID (or with an invalid one).

  • Plex media scanner.log

Sep 11, 2019 19:54:49.106 [0x7f0788a07700] ERROR - Error issuing curl_easy_perform(handle): 28
Sep 11, 2019 19:54:49.127 [0x7f07991f2280] ERROR - Error issuing curl_easy_perform(handle): 28
Sep 11, 2019 19:55:19.150 [0x7f07991f2280] ERROR - Error issuing curl_easy_perform(handle): 28
Sep 11, 2019 19:55:49.234 [0x7f07991f2280] ERROR - Error issuing curl_easy_perform(handle): 28
Sep 11, 2019 19:56:19.107 [0x7f0788a07700] ERROR - Error issuing curl_easy_perform(handle): 28
Sep 11, 2019 19:56:19.316 [0x7f07991f2280] ERROR - Error issuing curl_easy_perform(handle): 28
Sep 11, 2019 19:56:49.337 [0x7f07991f2280] ERROR - Error issuing curl_easy_perform(handle): 28
Sep 11, 2019 19:57:19.359 [0x7f07991f2280] ERROR - Error issuing curl_easy_perform(handle): 28
Sep 11, 2019 19:57:49.109 [0x7f0788a07700] ERROR - Error issuing curl_easy_perform(handle): 28
Sep 11, 2019 19:57:49.374 [0x7f07991f2280] ERROR - Error issuing curl_easy_perform(handle): 28
Sep 11, 2019 19:58:19.394 [0x7f07991f2280] ERROR - Error issuing curl_easy_perform(handle): 28
Sep 11, 2019 20:00:05.589 [0x7f0782224700] ERROR - Error issuing curl_easy_perform(handle): 28
Sep 11, 2019 20:00:05.589 [0x7f0788a07700] ERROR - Error issuing curl_easy_perform(handle): 28
Sep 11, 2019 20:00:05.589 [0x7f0782224700] ERROR - Error parsing content.
Sep 11, 2019 20:00:05.597 [0x7f0782224700] ERROR - Error parsing XML response for update.

The above log snippet shows up the moment the dashboard reappears (pre restart), prior to the logs just sit idle with nothing printing.

shayanaantx! Are you hanging in there?

I stumbled across your thread because of the error you expertly located and pasted above.
Kex protocol error is serious, but not your fault, and is being addressed as far as I can tell.
I realize it’s frustrating, but we can look forward to relief if I understood correctly:

@nibbles appreciate the response

I never explicitly solved anything revolving that error, I just noticed it consistently when the problem I noted occurred.

I ended up updating to latest stable server version and tracking down a backup script that was using up all my up speed during these scenarios. Once I moved the backup script time to a time where less users were on, my up speed didn’t drop, and this issue ceased.

But alas, I have no idea if I’ve truly fixed anything :grinning:

Oh that’s great news. Happy Plexing!

This topic was automatically closed 90 days after the last reply. New replies are no longer allowed.