kmcmurtrie 3 Posted October 9 Posted October 9 (edited) The previous version was frequently leaking ffmpeg transcoder tasks. I upgraded to 4.10.1.0 and now it's always leaking them. It looks like ffmpeg has, or is inheriting, a signal mask. This is the task: F S UID PID PPID C PRI NI ADDR SZ WCHAN STIME TTY TIME CMD 0 R emby 671408 457974 99 80 0 - 327784 - 06:49 ? 12:56:48 /opt/emby-server/bin/ffmpeg -loglevel +timing -y -print_graphs_file /var/lib/emby/logs/ffmpeg-transcode-3a28bc89-f672-4ecc-8051-b494690518c3_1graph.txt -copyts -start_at_zero -init_hw_device vaapi=vad0:/dev/dri/renderD128 -filter_hw_device vad0 -analyzeduration 3000000 -f mpegts -c:v:0 mpeg2video -noautorotate -i http://127.0.0.1:8096/LiveTv/LiveStreamFiles/196db3baa99146f8ab7606f5a94689cc/stream.ts -filter_complex [0:0]format@f1=pix_fmts=nv12,hwupload@f2[f2_out0] -map [f2_out0] -map 0:1 -sn -c:v:0 hevc_vaapi -b:v:0 4726491 -g:v:0 180 -maxrate:v:0 4726491 -bufsize:v:0 9452982 -keyint_min:v:0 180 -r:v:0 59.940059661865234 -c:a:0 copy -metadata:s:a:0 language=eng -disposition:a:0 default -fflags +discardcorruptts+fillwallclockdts -max_delay 5000000 -avoid_negative_ts disabled -f segment -map_metadata -1 -map_chapters -1 -segment_format mpegts -segment_list /Yosemite/EmbyTemp/transcoding-temp/E03DD9/E03DD9.m3u8 -segment_list_type m3u8 -segment_time 00:00:03.000 -segment_list_entry_prefix hls/E03DD9/ -segment_start_number 0 -individual_header_trailer 0 -write_header_trailer 0 -segment_write_temp 1 /Yosemite/EmbyTemp/transcoding-temp/E03DD9/E03DD9_%d.ts The server log: 2026-10-08 08:09:12.807 Info SessionManager: Playback stopped reported by app Emby for Samsung 2.2.8 on Samsung Smart TV (UN50TU700DFXZA) playing KTVU-HD. Position: 4657920 ms. PlaySessionId: 315f2e9b3f514426b15db414a3ce85a3. IsPaused: False 2026-10-08 08:09:12.807 Info SharedHttpPipelineSource: LiveStream consumerId removed: 315f2e9b3f514426b15db414a3ce85a3 2026-10-08 08:09:12.807 Info SharedHttpPipelineSource: Live stream native_b23ebc9442ec90ed5f591ef1683972b1_a8ff22cbd05169f6da0f74e389811abf consumer count is now 1 2026-10-08 08:09:12.807 Info SessionManager: Removed playSession 315f2e9b3f514426b15db414a3ce85a3 from session 7b4e2e7179ce1a710f757d613223f50c 2026-10-08 08:09:12.807 Info DynamicHlsService-0HNP3KMJR0NBJ:00000002: ProcessRun 'StreamTranscode a6242f': Stopping ffmpeg process with q command for /Yosemite/EmbyTemp/transcoding-temp/7C4088/7C4088_0.ts 2026-10-08 08:09:12.807 Info PlaystateService-0HNP3KMJR0NTD:00000811: http/1.1 Response 204 to host5. Time: 1ms. POST http://**.**.**.**:**/emby/Sessions/Playing/Stopped?X-Emby-Client=Emby for Samsung&X-Emby-Device-Name=Samsung Smart TV (UN50TU700DFXZA)&X-Emby-Device-Id=*********************&X-Emby-Client-Version=2.2.8&X-Emby-Token=********&X-Emby-Language=en-us&reqformat=json. 2026-10-08 08:09:13.112 Info LiveStreamService-0HNP3KMJR0NBL:00000001: http/1.1 Response completed after client disconnected to 127.0.0.1. Time: 4700487ms. GET http://127.0.0.1:8096/LiveTv/LiveStreamFiles/196db3baa99146f8ab7606f5a94689cc/stream.ts. Headers: Connection=close, Content-Type=video/mp2t, Date=Thu, 08 Oct 2026 13:50:52 GMT, Server=UPnP/1.0 DLNADOC/1.50, Transfer-Encoding=chunked, Cross-Origin-Resource-Policy=cross-origin, Private-Network-Access-Name=pixelmemory, Private-Network-Access-Id=01edc8f4f0cb41d48cfaa15936f61c2f 2026-10-08 08:09:13.126 Info DynamicHlsService-0HNP3KMJR0NBJ:00000002: AppendExtraLogData - Read graph file: /var/lib/emby/logs/ffmpeg-transcode-a6242f32-53ab-4439-83d9-cb1bcdfefb86_1graph.txt 2026-10-08 08:09:13.127 Info DynamicHlsService-0HNP3KMJR0NBJ:00000002: AppendExtraLogData - Deserialized GraphData fileStream: 6,053.00 bytes Graph Count: 1 2026-10-08 08:09:13.127 Info DynamicHlsService-0HNP3KMJR0NBJ:00000002: AppendExtraLogData - File Deleted 2026-10-08 08:09:13.127 Info DynamicHlsService-0HNP3KMJR0NBJ:00000002: ProcessRun 'StreamTranscode a6242f' Process exited with code 0 The transcoder log doesn't show any change at all during this time. I try a normal "kill 671408" and absolutely nothing happens. A non-maskable signal or a server reboot is needed to get rid of ffmpeg. Running Ubuntu 26.04.1 LTS Edited October 9 by kmcmurtrie lost the tag
Luke 43362 Posted October 9 Posted October 9 Hi there, please attach the Emby server log from when the problem occurred: How to Report a Problem Thanks!
Luke 43362 Posted October 9 Posted October 9 Hi there, please attach the complete emby server log file. thanks.
kmcmurtrie 3 Posted 17 hours ago Author Posted 17 hours ago The "Anonymize log contents" feature is grossly inadequate, so no. Just posting here already generates tons of login attempts.
Luke 43362 Posted 17 hours ago Posted 17 hours ago 4 minutes ago, kmcmurtrie said: The "Anonymize log contents" feature is grossly inadequate, so no. Just posting here already generates tons of login attempts. HI, you can send it to me over PM if you prefer. But what makes you think it's inadequate?
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now