I’ve been using PLEX for more than a year and in the last few months that I’ve increased the number of users my PMS has been crashing continuously.
Initially I thought it was video card saturation, I put in an NVIDIA P2200 to test, it kept crashing. Two weeks ago I started using the HWiNFO64 program to monitor and verified that at the exact moment of crashing there wasn’t saturation with the video card.
The truth is I tried everything and I can’t find the real cause.
Is it possible that the crashes are due to conflict with some content and therefore with the transcoding? I’ve tried so many things that I don’t know what to think anymore
Pleaaaaaaaaase help me… I’m going crazy
I attach the logs of the moments in which I managed to detect the time of the crashes.
March 22 at 10:19 pm
March 28 at 9:09 pm
March 28 at 9:50 pm
I cant really be of any help with Windows. I’m a Linux engineer.
What I see of your logs implies you’re using the transcoder temporary storage on another drive ?
If trhat’s over the network or you don’t have access… you’ll get these errors.
Mar 28, 2021 21:54:06.100 [19224] DEBUG - Jobs: 'F:\Program Files\Plex\Plex Media Server\Plex Transcoder.exe' exit code for process 15708 is -1059143458 (intentional termination)
Mar 28, 2021 21:54:06.110 [15108] DEBUG - Transcoder: Cleaning old transcode directories.
Mar 28, 2021 21:54:06.110 [15108] DEBUG - Transcoder: Cleaning old transcode directory: "D:\Transcode\Sessions\plex-transcode-00iomqwsprwotoinpnag6ho2-96a67c3d-8b2a-46d5-97f4-f180eca17342"
Mar 28, 2021 21:54:06.123 [15108] ERROR - Transcoder: Failed to delete session directory (boost::filesystem::remove: El proceso no tiene acceso al archivo porque est\E1 siendo utilizado por otro proceso: "D:\Transcode\Sessions\plex-transcode-00iomqwsprwotoinpnag6ho2-96a67c3d-8b2a-46d5-97f4-f180eca17342\chunk-stream0-00534.m4s")
Mar 28, 2021 21:54:06.123 [15108] DEBUG - Transcoder: Cleaning old transcode directory: "D:\Transcode\Sessions\plex-transcode-01rxpctq2capbj0abugmm48i-1a1a926b-e98c-4d47-8932-0adee857f955"
Mar 28, 2021 21:54:06.124 [15108] DEBUG - Transcoder: Cleaning old transcode directory: "D:\Transcode\Sessions\plex-transcode-01rxpctq2capbj0abugmm48i-a761c701-c3b1-4347-8b4d-089ad7af7d0c"
Mar 28, 2021 21:54:06.131 [15108] ERROR - Transcoder: Failed to delete session directory (boost::filesystem::remove: El proceso no tiene acceso al archivo porque est\E1 siendo utilizado por otro proceso: "D:\Transcode\Sessions\plex-transcode-01rxpctq2capbj0abugmm48i-a761c701-c3b1-4347-8b4d-089ad7af7d0c\chunk-stream0-00343.m4s")
Mar 28, 2021 21:54:06.131 [15108] DEBUG - Transcoder: Cleaning old transcode directory: "D:\Transcode\Sessions\plex-transcode-0qt2i0uall0scqvrn00vi152-6cb46f12-7702-4ac7-8db1-40377030a345"
Mar 28, 2021 21:54:06.132 [15108] DEBUG - Transcoder: Cleaning old transcode directory: "D:\Transcode\Sessions\plex-transcode-0y1g9zdsevft1967h1lxztdm-f4bf768c-6a7d-485d-bec2-72a0826ced90"
Mar 28, 2021 21:54:06.139 [15108] DEBUG - Transcoder: Cleaning old transcode directory: "D:\Transcode\Sessions\plex-transcode-6becj7zuynqhxjji9xmnhdaz-ee70d6fb-25a8-4c25-b76e-b9123deec4e4"
Mar 28, 2021 21:54:06.184 [15108] ERROR - Transcoder: Failed to delete session directory (boost::filesystem::remove: El proceso no tiene acceso al archivo porque est\E1 siendo utilizado por otro proceso: "D:\Transcode\Sessions\plex-transcode-6becj7zuynqhxjji9xmnhdaz-ee70d6fb-25a8-4c25-b76e-b9123deec4e4\sub-chunk-00007")
Mar 28, 2021 21:54:06.184 [15108] DEBUG - Transcoder: Cleaning old transcode directory: "D:\Transcode\Sessions\plex-transcode-76301a923e2c04a8-com-plexapp-android-8229d4d4-66a6-476b-93ce-6f898efae520"
Mar 28, 2021 21:54:06.190 [15108] DEBUG - Transcoder: Cleaning old transcode directory: "D:\Transcode\Sessions\plex-transcode-92ecdd3dba1375b4-com-plexapp-android-b7a59c78-96e9-494b-aee9-9860d3a6a5c0"
Mar 28, 2021 21:54:06.205 [15108] ERROR - Transcoder: Failed to delete session directory (boost::filesystem::remove: El proceso no tiene acceso al archivo porque est\E1 siendo utilizado por otro proceso: "D:\Transcode\Sessions\plex-transcode-92ecdd3dba1375b4-com-plexapp-android-b7a59c78-96e9-494b-aee9-9860d3a6a5c0\media-00117.ts")
Mar 28, 2021 21:54:06.205 [15108] DEBUG - Transcoder: Cleaning old transcode directory: "D:\Transcode\Sessions\plex-transcode-db41k1ghobtgol0kc6pcv7he-56a09601-d990-4022-8228-5fcc1c716171"
Mar 28, 2021 21:54:06.254 [15108] DEBUG - Transcoder: Cleaning old transcode directory: "D:\Transcode\Sessions\plex-transcode-f65hzjcs140jhgpu8heo17jf-9d8ef2cb-bad7-42ad-91b3-cf8f6000e909"
Mar 28, 2021 21:54:06.255 [15108] DEBUG - Transcoder: Cleaning old transcode directory: "D:\Transcode\Sessions\plex-transcode-f65hzjcs140jhgpu8heo17jf-a8b29cb1-244b-4c1a-85ff-46b81ce1537e"
Mar 28, 2021 21:54:06.268 [15108] DEBUG - Transcoder: Cleaning old transcode directory: "D:\Transcode\Sessions\plex-transcode-h29v2qfizjg4dtuqwvbzkv4x-445b175e-73a9-4e4f-9d9f-f1544cae096a"
Mar 28, 2021 21:54:06.281 [15108] DEBUG - Transcoder: Cleaning old transcode directory: "D:\Transcode\Sessions\plex-transcode-jevpiyotyhlznb44l10chep5-a99a558a-2204-4186-a846-da94f7d4ddac"
Mar 28, 2021 21:54:06.293 [15108] ERROR - Transcoder: Failed to delete session directory (boost::filesystem::remove: El proceso no tiene acceso al archivo porque est\E1 siendo utilizado por otro proceso: "D:\Transcode\Sessions\plex-transcode-jevpiyotyhlznb44l10chep5-a99a558a-2204-4186-a846-da94f7d4ddac\chunk-00070")
Mar 28, 2021 21:54:06.293 [15108] DEBUG - Transcoder: Cleaning old transcode directory: "D:\Transcode\Sessions\plex-transcode-msg756vl6odtj7ibpg8j39mp-2cc4fee7-841e-40d9-b0cd-a2e0b0d27eca"
Mar 28, 2021 21:54:06.293 [15108] DEBUG - Transcoder: Cleaning old transcode directory: "D:\Transcode\Sessions\plex-transcode-msg756vl6odtj7ibpg8j39mp-498822e9-b01b-4119-8d0c-7768399a7b61"
Mar 28, 2021 21:54:06.304 [15108] ERROR - Transcoder: Failed to delete session directory (boost::filesystem::remove: El proceso no tiene acceso al archivo porque est\E1 siendo utilizado por otro proceso: "D:\Transcode\Sessions\plex-transcode-msg756vl6odtj7ibpg8j39mp-498822e9-b01b-4119-8d0c-7768399a7b61\chunk-stream0-00106.m4s")
Mar 28, 2021 21:54:06.304 [15108] DEBUG - Transcoder: Cleaning old transcode directory: "D:\Transcode\Sessions\plex-transcode-msg756vl6odtj7ibpg8j39mp-a16e9934-a42c-499b-9239-c4f8b8b65922"
Mar 28, 2021 21:54:06.308 [15108] DEBUG - Transcoder: Cleaning old transcode directory: "D:\Transcode\Sessions\plex-transcode-msg756vl6odtj7ibpg8j39mp-b8c57934-1601-46b9-afa7-f3608f33dee5"
Mar 28, 2021 21:54:06.317 [15108] DEBUG - Transcoder: Cleaning old transcode directory: "D:\Transcode\Sessions\plex-transcode-msg756vl6odtj7ibpg8j39mp-bf7b2a70-117e-4ac8-bc3e-0f4f1d932284"
Mar 28, 2021 21:54:06.320 [15108] DEBUG - Transcoder: Cleaning old transcode directory: "D:\Transcode\Sessions\plex-transcode-msg756vl6odtj7ibpg8j39mp-ea032e5f-a5b4-4369-b20e-d64ae46ebcd9"
Mar 28, 2021 21:54:06.323 [15108] DEBUG - Transcoder: Cleaning old transcode directory: "D:\Transcode\Sessions\plex-transcode-msg756vl6odtj7ibpg8j39mp-ef4998bb-1845-459b-b47e-2c43160db097"
Mar 28, 2021 21:54:06.324 [15108] DEBUG - Transcoder: Cleaning old transcode directory: "D:\Transcode\Sessions\plex-transcode-oj2ow1iqu0tnvcxrevb7jqz8-2f4a5261-e136-4d20-bd5f-c7a1cc8ec16a"
Mar 28, 2021 21:54:06.327 [15108] DEBUG - Transcoder: Cleaning old transcode directory: "D:\Transcode\Sessions\plex-transcode-rtzxhrsmllrhsphamf7myv5b-8ce55554-a492-4c2c-9c48-5befaa6e9c1c"
Mar 28, 2021 21:54:06.352 [15108] DEBUG - Transcoder: Cleaning old transcode directory: "D:\Transcode\Sessions\plex-transcode-rzu0n2jw47h16kuc27qp4wvc-be3641bd-96f7-41ad-a684-d99916c6b831"
Mar 28, 2021 21:54:06.364 [15108] DEBUG - Transcoder: Cleaning old transcode directory: "D:\Transcode\Sessions\plex-transcode-wh4w1crck3h11exodmjstsq1-842467fe-8792-4709-86e7-073f35ba757c"
Mar 28, 2021 21:54:06.377 [15108] DEBUG - Transcoder: Cleaning old transcode directory: "D:\Transcode\Sessions\plex-transcode-z2acp4l7a4erulj5yxafes6a-cd7219f4-9166-4d74-a605-989264faa671"
Mar 28, 2021 21:54:06.417 [15108] DEBUG - Whacked session rtzxhrsmllrhsphamf7myv5b, 0 remaining.
Mar 28, 2021 21:54:06.417 [15108] DEBUG - Killed 6 idle sessions out of a total of 6.```
I see that you installed the Plex program files not to drive C: F:\Program Files\Plex\Plex Media Server\Plex Transcoder.exe
This folder is a mere 170 MB large and doesn’t store any of the Plex data. I urge you to uninstall Plex server from drive F: and install it back onto drive C:
(Doing so will not result in the loss of your plex data – unless you are using 3rd-party software like “Uninstaller” or “Registry Cleaners”. Stay away from these as far as you can. They do more damage than good.)
I installed PLEX on a separate disk from the one that contains the Operating System because I was recommended to deposit Metadata on a separate disk…
At the time I installed PLEX on the same disk as the Metadata because it seemed convenient to leave everything separate from the OS, but I see that it was not a good decision.
Can I install PMS in drive C: and leave the Metadata on a separate disk?
Currently the Metadata is about 110 GB and I have it on a 480 GB AM2 disk.
Taking into account ChuckPa’s observation I changed the transcoder path, I had it on a separate SSD disk and now I have directed it to a virtual disk on RAM. Is this any use?
ChuckPa told me I’m not getting file locking which is needed for the transcoder. How can I get that?
I really appreciate your help because it’s something that I haven’t been able to solve and I have been with the same problem for a couple of months.
It seems that changing the path of the temporary folder for the transcoder didn’t help, because after having directed it to RAM it continued to crash. Just a few minutes ago it crashed again, at approximately 8:15 a.m.
ERROR - [Transcode] Transcoder: Failed to delete session directory (boost :: filesystem :: remove: The process does not have access to the file because it is being used by another process: "R: \ Transcode \ Sessions \ plex-transcode-ro9vrc8ct2nzs3izcqs28m49- d50fbce3-8b58-4853-accb-e68b996b7026 \ chunk-stream0-00320.m4s ")
Yes. According to your log, your metadata are already in F:\Metadata\
So you appear to have already made the necessary changes to the Windows registry.
Hi … I formatted the computer, installed PLEX on drive C, and stored the Metadata on a separate disk.
The result is the same, a few moments ago PMS crashed with the same symptoms.
I couldn’t detect the exact moment but it was around 5:46 pm.
It’s the same situation that has always been presented … it works well for a few hours or for a few days and BUMM crashed for no reason … if it’s useful I have a video where you can see the PMS interface at the time it crashes Attached the logs of today’s event.
Help me please, I’m really desperate because it’s been several months where it crashes for no reason … I don’t know if it’s a codec conflict with some content, a conflict with the Video Card, a configuration problem …I don’t know… I’m desperate
Again … crashed 2 times in a row. As I’ve told you, this is the same situation and it repeats itself over and over again.
I attach the most recent logs where the crashes occurred around 9:57 pm and 10:35 pm (approximately).
I hope that with the logs that I’ve been attaching throughout the post, some common element can be identified that allows us to establish the real cause of the problem.