Server Version#: 1.20.1.3252
OS: Welcome to Ubuntu 18.04.5 LTS (GNU/Linux 4.15.0-117-generic x86_64)
i7-6700 cpu, 16 GB RAM, SSD 50% used
VAAPI installed via
apt install ubuntu-restricted-addons
Player Version#: macOS application 2.58.0.1076-38e019da
but any local LAN or remote player really will trigger
A transcoding session appears to hang the entire server. If a web browser session is already open it will report “The server media04 is unavailable.”
When I log on the server, I see there are 8 zombie processes.
Two questions:
- How do I address the transcoder failure?
- How do I recover the server without having to reboot?
Here is the transcoder command line:
brad@ubuntu01-media:~$ ps -fp 10577 | grep plex
plex 10577 1430 10 20:57 ? 00:05:36 /usr/lib/plexmediaserver/Plex Transcoder -codec:0 hevc -codec:1 eac3_eae -eae_prefix:1 <<token01>>_ -ss 1422 -analyzeduration 20000000 -probesize 20000000 -i /media/TV/Normal People/Season 01/Normal People - S01E03 - Episode 3 - WEBDL-2160p (h265 10-bit) (EAC3 5.1).mkv -filter_complex [0:0]scale=w=720:h=406[0];[0]format=pix_fmts=yuv420p|nv12[1] -filter_complex [0:1] aresample=async=1:ocl='stereo':rematrix_maxval=0.000000dB:osr=48000[2] -map [1] -codec:0 libx264 -crf:0 21 -maxrate:0 1724k -bufsize:0 3448k -r:0 25 -preset:0 veryfast -x264opts:0 subme=6:me_range=4:rc_lookahead=10:me=hex:8x8dct=1 -map [2] -metadata:s:1 language=eng -codec:1 libopus -b:1 162k -map 0:2 -metadata:s:2 language=eng -codec:2 copy -map 0:t? -codec:t copy -f segment -segment_format matroska -segment_format_options live=1 -segment_time 1 -segment_header_filename header -segment_start_number 0 -segment_list http://127.0.0.1:32400/video/:/transcode/session/<<token01>>/<<token02>>/seglist?X-Plex-Http-Pipeline=infinite -segment_list_type csv -segment_list_unfinished 1 -segment_list_size 5 -segment_list_separate_stream_times 1 -avoid_negative_ts disabled -map_metadata:g -1 -map_metadata:c -1 -map_chapters -1 chunk-%05d -start_at_zero -copyts -y -init_hw_device vaapi=vaapi: -hwaccel_device vaapi -filter_hw_device vaapi -nostats -loglevel quiet -loglevel_plex error -progressurl http://127.0.0.1:32400/video/:/transcode/session/<<token01>>/<<token02>>/progress
Transcoder quality: make my CPU hurt (since changed to Prefer higher quality encoding)
Transcoder temporary directory: /tmp/plex
Transcoder default throttle buffer: 90
Disable video stream transcoding: unset/clear
Use hardware acceleration when available; set/checked
Use hardware-accelerated video encoding: set/checked
Maximum simultaneous video transcode: Unlimited
(Question 1a is “How can I preempt the on-demand transcoding by using Create Optimized Version?” - specifically How do I translate between the two settings:
- observed SD / particular sound in the dashboard > now playing page and
- the options in Optimize? )
Here are the zombie processes:
brad@ubuntu01-media:~$ ps -ef | grep defunct
plex 1430 1 0 20:16 ? 00:00:48 [Plex Media Serv] <defunct>
plex 1573 1430 0 20:16 ? 00:00:18 [Plex Script Hos] <defunct>
plex 1715 1430 0 20:16 ? 00:00:05 [Plex DLNA Serve] <defunct>
plex 1718 1430 0 20:16 ? 00:00:02 [Plex Tuner Serv] <defunct>
plex 2127 1430 2 20:17 ? 00:02:34 [Plex Script Hos] <defunct>
plex 12952 1430 0 21:03 ? 00:00:00 [Plex Relay] <defunct>
plex 16896 1430 0 21:16 ? 00:00:00 [Plex Media Scan] <defunct>
root 29875 1824 6 21:59 ? 00:00:00 [/usr/share/webm] <defunct>
It also tends to zombify the webmin process so I can’t manage the server with a web browser either… which is inconvenient to say the least.
server will reboot using reboot command.
Any ideas/suggestions/next steps?
I did see a post that recommended kernel 5 rather than kernel 4, so I was considering the upgrade to Ubuntu 20.02 LTS, but don’t want to go down that rabbit hole if not necessary just yet.
thanks in advance… Brad





