Plex Media Server consumes all memory 30s into movie

Server Version#:1.41.3.9314
Player Version#:Web
Environment#:Unraid OS 7.0.0
Platform Version#:6.6.68-Unraid

When watching a specific movie my plex media server docker will consume all memory causing the operating system to partially fail and close other systems to prevent hard reboot. If the movie is paused the memory will maintain it high consumption until the movie is stopped and memory shall return to normal. Other movies have no issue with playback also transcoding.

Update to the latest beta server.

Updated to 1.41.4.9421, still receiving the same issue.

Did you move the transcoder temp directory to a RAM disk?
Could you post the mediainfo of the affcted video?

Plex Movie in question.

<MediaContainer size="1" allowSync="1" identifier="com.plexapp.plugins.library" librarySectionID="2" librarySectionTitle="Movies" librarySectionUUID="a673af13-7ebc-4694-8620-166857f4ed44" mediaTagPrefix="/system/bundle/media/flags/" mediaTagVersion="1734362201">
<Video ratingKey="54025" key="/library/metadata/54025" guid="plex://movie/............d73c4c" slug="..........." studio="Original Film" type="movie" title="..............." librarySectionTitle="Movies" librarySectionID="2" librarySectionKey="/library/sections/2" contentRating="ca/PG" summary="........................" rating="6.9" audienceRating="9.6" viewOffset="307000" lastViewedAt="1738773104" year="2022" tagline="....................." thumb="/library/metadata/54025/thumb/1736617567" art="/library/metadata/54025/art/1736617567" duration="7339008" originallyAvailableAt="2022-03-30" addedAt="1736617559" updatedAt="1736617567" audienceRatingImage="rottentomatoes://image.rating.upright" chapterSource="media" primaryExtraKey="/library/metadata/54026" ratingImage="rottentomatoes://image.rating.ripe">
<Media id="67243" duration="7339008" bitrate="10775" width="1920" height="804" aspectRatio="2.35" audioChannels="6" audioCodec="eac3" videoCodec="h264" videoResolution="1080" container="mkv" videoFrameRate="24p" videoProfile="high" hasVoiceActivity="1">
<Part accessible="1" exists="1" id="77662" key="/library/parts/77662/1660003200/file.mkv" duration="7339008" file="/xmbc/media/movies/....................................mkv" size="9806756961" container="mkv" deepAnalysisVersion="6" requiredBandwidths="12616,12403,12104,11811,11561,11343,11271,11271" videoProfile="high">
<Stream id="212938" streamType="1" default="1" codec="h264" index="0" bitrate="9958" bitDepth="8" chromaLocation="left" chromaSubsampling="4:2:0" codedHeight="816" codedWidth="1920" colorPrimaries="bt709" colorRange="tv" colorSpace="bt709" colorTrc="bt709" frameRate="23.976" hasScalingMatrix="0" height="804" level="41" profile="high" refFrames="5" requiredBandwidths="11845,11608,11261,10995,10745,10523,10514,10514" scanType="progressive" width="1920" displayTitle="1080p" extendedDisplayTitle=" (1080p H.264)">
</Stream>
<Stream id="212939" streamType="2" selected="1" default="1" codec="eac3" index="1" channels="6" bitrate="640" language="English" languageTag="en" languageCode="eng" audioChannelLayout="5.1(side)" requiredBandwidths="640,640,640,640,640,640,640,640" samplingRate="48000" displayTitle="English (EAC3 5.1)" extendedDisplayTitle=" (English EAC3 5.1)">
</Stream>
<Stream id="212940" streamType="3" canAutoSync="0" selected="1" default="1" forced="1" codec="srt" index="2" language="English" languageTag="en" languageCode="eng" requiredBandwidths="1,1,1,1,1,1,1,1" displayTitle="English Forced" extendedDisplayTitle=" (English Forced SRT)">
</Stream>
<Stream id="212941" streamType="3" canAutoSync="0" codec="srt" index="3" bitrate="0" language="English" languageTag="en" languageCode="eng" requiredBandwidths="1,1,1,1,1,1,1,1" title="English (SRT)" displayTitle="English" extendedDisplayTitle="English (SRT)">
</Stream>
<Stream id="212942" streamType="3" canAutoSync="0" codec="pgs" index="4" bitrate="34" language="English" languageTag="en" languageCode="eng" headerCompression="1" requiredBandwidths="68,68,68,68,68,68,68,68" title="English" displayTitle="English" extendedDisplayTitle="English (PGS)">
</Stream>
<Stream id="212943" streamType="3" canAutoSync="0" codec="pgs" index="5" bitrate="44" language="English" languageTag="en" languageCode="eng" headerCompression="1" hearingImpaired="1" requiredBandwidths="73,73,73,73,73,73,73,73" title="English (SDH)" displayTitle="English SDH" extendedDisplayTitle="English (SDH) (PGS)">
</Stream>
<Stream id="212944" streamType="3" canAutoSync="0" codec="pgs" index="6" bitrate="30" language="Dutch" languageTag="nl" languageCode="nld" headerCompression="1" requiredBandwidths="36,36,36,36,36,36,36,36" title="Dutch" displayTitle="Dutch" extendedDisplayTitle="Dutch (Dutch PGS)">
</Stream>
<Stream id="212945" streamType="3" canAutoSync="0" codec="pgs" index="7" bitrate="34" language="French" languageTag="fr" languageCode="fra" headerCompression="1" requiredBandwidths="41,41,41,41,41,41,41,41" title="French (Canadian)" displayTitle="French" extendedDisplayTitle="French (Canadian) (French PGS)">
</Stream>
<Stream id="212946" streamType="3" canAutoSync="0" codec="pgs" index="8" bitrate="34" language="Spanish" languageTag="es" languageCode="spa" headerCompression="1" requiredBandwidths="40,40,40,40,40,40,40,40" title="Spanish (Castilian)" displayTitle="Spanish" extendedDisplayTitle="Spanish (Castilian) (Spanish PGS)">
</Stream>
</Part>
</Media>

I am not sure about the RAM disk, question. The Transcode location is /tmp which should be the docker vdisk not RAM.

AFAIK, unless you are mapping /tmp explicitly to a folder of the host machine, it is indeed in RAM.

Moved the /transcode to a specific directory vs /tmp

The issues still persists.

May I please see the server’s DEBUG log ZIP file ?

Please start playback,
Wait 20 seconds
Stop playback
Download Logs ZIP file
Attach ZIP here please

Plex Media Server Logs_2025-02-05_11-14-47.zip (672.8 KB)

Sorry you got about 30 seconds, needed to confirm the RAM usage was jumping up.

thanks for the logs.

I got a full set of logs with the same text repeated for 50 MB

Feb 05, 2025 11:14:33.694 [23159101180728] INFO - Plex Media Server v1.41.4.9421-0ce20c470 - Docker Docker Container x86_64 - build: linux-x86_64 debian - GMT -08:00
Feb 05, 2025 11:14:33.695 [23159101180728] INFO - Linux version: 6.6.68-Unraid, language: en-US
Feb 05, 2025 11:14:33.695 [23159101180728] INFO - Processor: 8-core Intel(R) Core(TM) i3-10105 CPU @ 3.70GHz
Feb 05, 2025 11:14:33.695 [23159101180728] INFO - Compiler is - Clang 11.0.1 (https://plex.tv 9b997da8e5b47bdb4a9425b3a3b290be393b4b1f)
Feb 05, 2025 11:14:33.695 [23159101180728] INFO - /usr/lib/plexmediaserver/Plex Media Server
Feb 05, 2025 11:14:18.201 [23158993017656] DEBUG - [TranscodeOutputStream] Changed instance plex-transcode-zfi6awxs68dx863e4fpeacqi-800b6508-a0ab-44b7-b350-61ff443e1cc7 which had to -1; was at chunk -1 with offset -1.000000 now at chunk -1
Feb 05, 2025 11:14:18.201 [23158993017656] DEBUG - [TranscodeOutputStream] Changed instance plex-transcode-zfi6awxs68dx863e4fpeacqi-800b6508-a0ab-44b7-b350-61ff443e1cc7 which had to -1; was at chunk -1 with offset -1.000000 now at chunk -1
Feb 05, 2025 11:14:18.201 [23158993017656] DEBUG - [TranscodeOutputStream] Changed instance plex-transcode-zfi6awxs68dx863e4fpeacqi-800b6508-a0ab-44b7-b350-61ff443e1cc7 which had to -1; was at chunk -1 with offset -1.000000 now at chunk -1
Feb 05, 2025 11:14:18.201 [23158993017656] DEBUG - [TranscodeOutputStream] Changed instance plex-transcode-zfi6awxs68dx863e4fpeacqi-800b6508-a0ab-44b7-b350-61ff443e1cc7 which had to -1; was at chunk -1 with offset -1.000000 now at chunk -1
Feb 05, 2025 11:14:18.201 [23158993017656] DEBUG - [TranscodeOutputStream] Changed instance plex-transcode-zfi6awxs68dx863e4fpeacqi-800b6508-a0ab-44b7-b350-61ff443e1cc7 which had to -1; was at chunk -1 with offset -1.000000 now at chunk -1
Feb 05, 2025 11:14:18.201 [23158993017656] DEBUG - [TranscodeOutputStream] Changed instance plex-transcode-zfi6awxs68dx863e4fpeacqi-800b6508-a0ab-44b7-b350-61ff443e1cc7 which had to -1; was at chunk -1 with offset -1.000000 now at chunk -1
Feb 05, 2025 11:14:18.201 [23158993017656] DEBUG - [TranscodeOutputStream] Changed instance plex-transcode-zfi6awxs68dx863e4fpeacqi-800b6508-a0ab-44b7-b350-61ff443e1cc7 which had to -1; was at chunk -1 with offset -1.000000 now at chunk -1
Feb 05, 2025 11:14:18.201 [23158993017656] DEBUG - [TranscodeOutputStream] Changed instance plex-transcode-zfi6awxs68dx863e4fpeacqi-800b6508-a0ab-44b7-b350-61ff443e1cc7 which had to -1; was at chunk -1 with offset -1.000000 now at chunk -1
Feb 05, 2025 11:14:18.201 [23158993017656] DEBUG - [TranscodeOutputStream] Changed instance plex-transcode-zfi6awxs68dx863e4fpeacqi-800b6508-a0ab-44b7-b350-61ff443e1cc7 which had to -1; was at chunk -1 with offset -1.000000 now at chunk -1
Feb 05, 2025 11:14:18.201 [23158993017656] DEBUG - [TranscodeOutputStream] Changed instance plex-transcode-zfi6awxs68dx863e4fpeacqi-800b6508-a0ab-44b7-b350-61ff443e1cc7 which had to -1; was at chunk -1 with offset -1.000000 now at chunk -1
Feb 05, 2025 11:14:18.201 [23158993017656] DEBUG - [TranscodeOutputStream] Changed instance plex-transcode-zfi6awxs68dx863e4fpeacqi-800b6508-a0ab-44b7-b350-61ff443e1cc7 which had to -1; was at chunk -1 with offset -1.000000 now at chunk -1
Feb 05, 2025 11:14:18.201 [23158993017656] DEBUG - [TranscodeOutputStream] Changed instance plex-transcode-zfi6awxs68dx863e4fpeacqi-800b6508-a0ab-44b7-b350-61ff443e1cc7 which had to -1; was at chunk -1 with offset -1.000000 now at chunk -1
Feb 05, 2025 11:14:18.201 [23158993017656] DEBUG - [TranscodeOutputStream] Changed instance plex-transcode-zfi6awxs68dx863e4fpeacqi-800b6508-a0ab-44b7-b350-61ff443e1cc7 which had to -1; was at chunk -1 with offset -1.000000 now at chunk -1
Feb 05, 2025 11:14:18.201 [23158993017656] DEBUG - [TranscodeOutputStream] Changed instance plex-transcode-zfi6awxs68dx863e4fpeacqi-800b6508-a0ab-44b7-b350-61ff443e1cc7 which had to -1; was at chunk -1 with offset -1.000000 now at chunk -1
Feb 05, 2025 11:14:18.201 [23158993017656] DEBUG - [TranscodeOutputStream] Changed instance plex-transcode-zfi6awxs68dx863e4fpeacqi-800b6508-a0ab-44b7-b350-61ff443e1cc7 which had to -1; was at chunk -1 with offset -1.000000 now at chunk -1
Feb 05, 2025 11:14:18.201 [23158993017656] DEBUG - [TranscodeOutputStream] Changed instance plex-transcode-zfi6awxs68dx863e4fpeacqi-800b6508-a0ab-44b7-b350-61ff443e1cc7 which had to -1; was at chunk -1 with offset -1.000000 now at chunk -1
Feb 05, 2025 11:14:18.201 [23158993017656] DEBUG - [TranscodeOutputStream] Changed instance plex-transcode-zfi6awxs68dx863e4fpeacqi-800b6508-a0ab-44b7-b350-61ff443e1cc7 which had to -1; was at chunk -1 with offset -1.000000 now at chunk -1
Feb 05, 2025 11:14:18.201 [23158993017656] DEBUG - [TranscodeOutputStream] Changed instance plex-transcode-zfi6awxs68dx863e4fpeacqi-800b6508-a0ab-44b7-b350-61ff443e1cc7 which had to -1; was at chunk -1 with offset -1.000000 now at chunk -1
Feb 05, 2025 11:14:18.201 [23158993017656] DEBUG - [TranscodeOutputStream] Changed instance plex-transcode-zfi6awxs68dx863e4fpeacqi-800b6508-a0ab-44b7-b350-61ff443e1cc7 which had to -1; was at chunk -1 with offset -1.000000 now at chunk -1
Feb 05, 2025 11:14:18.201 [23158993017656] DEBUG - [TranscodeOutputStream] Changed instance plex-transcode-zfi6awxs68dx863e4fpeacqi-800b6508-a0ab-44b7-b350-61ff443e1cc7 which had to -1; was at chunk -1 with offset -1.000000 now at chunk -1
Feb 05, 2025 11:14:18.201 [23158993017656] DEBUG - [TranscodeOutputStream] Changed instance plex-transcode-zfi6awxs68dx863e4fpeacqi-800b6508-a0ab-44b7-b350-61ff443e1cc7 which had to -1; was at chunk -1 with offset -1.000000 now at chunk -1
Feb 05, 2025 11:14:18.201 [23158993017656] DEBUG - [TranscodeOutputStream] Changed instance plex-transcode-zfi6awxs68dx863e4fpeacqi-800b6508-a0ab-44b7-b350-61ff443e1cc7 which had to -1; was at chunk -1 with offset -1.000000 now at chunk -1
Feb 05, 2025 11:14:18.201 [23158993017656] DEBUG - [TranscodeOutputStream] Changed instance plex-transcode-zfi6awxs68dx863e4fpeacqi-800b6508-a0ab-44b7-b350-61ff443e1cc7 which had to -1; was at chunk -1 with offset -1.000000 now at chunk -1
Feb 05, 2025 11:14:18.201 [23158993017656] DEBUG - [TranscodeOutputStream] Changed instance plex-transcode-zfi6awxs68dx863e4fpeacqi-800b6508-a0ab-44b7-b350-61ff443e1cc7 which had to -1; was at chunk -1 with offset -1.000000 now at chunk -1
Feb 05, 2025 11:14:18.201 [23158993017656] DEBUG - [TranscodeOutputStream] Changed instance plex-transcode-zfi6awxs68dx863e4fpeacqi-800b6508-a0ab-44b7-b350-61ff443e1cc7 which had to -1; was at chunk -1 with offset -1.000000 now at chunk -1
Feb 05, 2025 11:14:18.201 [23158993017656] DEBUG - [TranscodeOutputStream] Changed instance plex-transcode-zfi6awxs68dx863e4fpeacqi-800b6508-a0ab-44b7-b350-61ff443e1cc7 which had to -1; was at chunk -1 with offset -1.000000 now at chunk -1
Feb 05, 2025 11:14:18.201 [23158993017656] DEBUG - [TranscodeOutputStream] Changed instance plex-transcode-zfi6awxs68dx863e4fpeacqi-800b6508-a0ab-44b7-b350-61ff443e1cc7 which had to -1; was at chunk -1 with offset -1.000000 now at chunk -1
Feb 05, 2025 11:14:18.201 [23158993017656] DEBUG - [TranscodeOutputStream] Changed instance plex-transcode-zfi6awxs68dx863e4fpeacqi-800b6508-a0ab-44b7-b350-61ff443e1cc7 which had to -1; was at chunk -1 with offset -1.000000 now at chunk -1

Please stop PMS
Go into the Codecs directory
Delete everything you see EXCEPT the .device_id file (your license)

Restart PMS
Retest (Play different file from the beginning)

Deleted these.


New log files:
Plex Media Server Logs_2025-02-05_11-44-49.zip (658.5 KB)

Issue still exists.

Sorry did not test on a different file. There has not been issues with other files. I can retest on another file if still requested for comparison.

This has only been an issue with one file ?

All other files play normally ?

So far yes. Alternative video file debug.
Plex Media Server Logs_2025-02-05_11-54-06.zip (685.8 KB)

That’s a normal transcode.

Replace the damaged / defective fifle.

Ok will do!

When you see log entries like this…

aw5wa5lyvpg0gc771xtaybki-8286eaab-5d9e-49aa-9e81-c847742d247b/chunk-stream0-00018.m4s is 375967 (of total: 375967).
Feb 05, 2025 11:53:33.386 [22714232245048] DEBUG - Completed: [184.70.28.46:58113] 200 GET /video/:/transcode/universal/session/aw5wa5lyvpg0gc771xtaybki/0/17.m4s (5 live) #22d TLS GZIP 2ms 375967 bytes (pipelined: 40)
Feb 05, 2025 11:53:33.452 [22714061724472] DEBUG - Request: [184.70.28.46:58113 (WAN)] GET /video/:/transcode/universal/session/aw5wa5lyvpg0gc771xtaybki/0/18.m4s (5 live) #22e TLS GZIP Signed-in
Feb 05, 2025 11:53:33.452 [22714061724472] DEBUG - [Req#22e/Transcode/aw5wa5lyvpg0gc771xtaybki] Asked for segment 18 from session.
Feb 05, 2025 11:53:33.452 [22714061724472] DEBUG - [Req#22e/Transcode/aw5wa5lyvpg0gc771xtaybki] Returning segment 18 from session
Feb 05, 2025 11:53:33.452 [22714061724472] DEBUG - [Req#22e/Transcode/aw5wa5lyvpg0gc771xtaybki] Throttling 18.ts for 2.193000 seconds
Feb 05, 2025 11:53:33.452 [22714208938808] DEBUG - [Req#22e/Transcode/aw5wa5lyvpg0gc771xtaybki] Streaming Resource: Estimated bandwidth for 90pfq2hg8nr5fyvzshnrx2lm to be 1182kbps over 6.43s
Feb 05, 2025 11:53:33.452 [22714208938808] DEBUG - [Req#22e/Transcode/aw5wa5lyvpg0gc771xtaybki] Streaming Resource: Last segment has been delayed for 2.19 and last request was 0.00s ago, so changing to client buffered on 90pfq2hg8nr5fyvzshnrx2lm with an estimate of 1182kbps
Feb 05, 2025 11:53:33.453 [22714061724472] DEBUG - Content-Length of /transcode/Transcode/Sessions/plex-transcode-aw5wa5lyvpg0gc771xtaybki-8286eaab-5d9e-49aa-9e81-c847742d247b/init-stream0.m4s,/transcode/Transcode/Sessions/plex-transcode-aw5wa5lyvpg0gc771xtaybki-8286eaab-5d9e-49aa-9e81-c847742d247b/chunk-stream0-00019.m4s is 67738 (of total: 67738).
Feb 05, 2025 11:53:33.706 [22714149157688] DEBUG - [Req#22b/Transcode/aw5wa5lyvpg0gc771xtaybki/8286eaab-5d9e-49aa-9e81-c847742d247b] Session aw5wa5lyvpg0gc771xtaybki (4) is unthrottling
Feb 05, 2025 11:53:33.706 [22714178902840] DEBUG - [Req#22f/Transcode/aw5wa5lyvpg0gc771xtaybki/8286eaab-5d9e-49aa-9e81-c847742d247b] Throttle - Getting back to work.
Feb 05, 2025 11:53:33.870 [22714061724472] DEBUG - [Req#228/Transcode/aw5wa5lyvpg0gc771xtaybki/8286eaab-5d9e-49aa-9e81-c847742d247b] Transcoder segment range: 0 - 59 (59)
Feb 05, 2025 11:53:34.031 [22714149157688] DEBUG - [Req#231/Transcode/aw5wa5lyvpg0gc771xtaybki/8286eaab-5d9e-49aa-9e81-c847742d247b] Transcoder segment range: 0 - 60 (60)
Feb 05, 2025 11:53:34.093 [22714151299896] DEBUG - [Req#12e/Transcode] Streaming Resource: Estimated bandwidth for 90pfq2hg8nr5fyvzshnrx2lm to be 1182kbps over 7.07s
Feb 05, 2025 11:53:34.109 [22714178902840] DEBUG - [Req#230/Transcode/aw5wa5lyvpg0gc771xtaybki/8286eaab-5d9e-49aa-9e81-c847742d247b] Session aw5wa5lyvpg0gc771xtaybki (4) is throttling
Feb 05, 2025 11:53:34.109 [22714061724472] DEBUG - [Req#235/Transcode/aw5wa5lyvpg0gc771xtaybki/8286eaab-5d9e-49aa-9e81-c847742d247b] Throttle - Going into sloth mode.
Feb 05, 2025 11:53:34.150 [22714149157688] DEBUG - Request: [184.70.28.46:58114 (WAN)] GET /video/:/transcode/universal/session/aw5wa5lyvpg0gc771xtaybki/1/18.m4s (5 live) #212 TLS GZIP Signed-in
Feb 05, 2025 11:53:34.150 [22714149157688] DEBUG - [Req#212/Transcode/aw5wa5lyvpg0gc771xtaybki] Asked for segment 18 from session.
Feb 05, 2025 11:53:34.150 [22714149157688] DEBUG - [Req#212/Transcode/aw5wa5lyvpg0gc771xtaybki] Returning segment 18 from session
Feb 05, 2025 11:53:34.150 [22714149157688] DEBUG - [Req#212/Transcode/aw5wa5lyvpg0gc771xtaybki] Throttling 18.ts for 6.000000 seconds
Feb 05, 2025 11:53:34.150 [22714211048248] DEBUG - [Req#212/Transcode/aw5wa5lyvpg0gc771xtaybki] Streaming Resource: Estimated bandwidth for 90pfq2hg8nr5fyvzshnrx2lm to be 0kbps over 0.00s
Feb 05, 2025 11:53:34.150 [22714149157688] DEBUG - Content-Length of /transcode/Transcode/Sessions/plex-transcode-aw5wa5lyvpg0gc771xtaybki-8286ea

(transcoder getting back to work)

This means it’s progressing normally through the file & playback.

That’s what you want to see.

Thanks for you help @ChuckPa & @OttoKerner. Sorry it was a bummed file, but wanted to catch a bug if it was something.

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