[FFmpeg-trac] #8332(undetermined:new): ffmpeg becomes zombie process
FFmpeg
trac at avcodec.org
Thu Oct 24 15:14:38 EEST 2019
#8332: ffmpeg becomes zombie process
-------------------------------------+-------------------------------------
Reporter: chrisbgp | Type: defect
Status: new | Priority: normal
Component: | Version: git-
undetermined | master
Keywords: | Blocked By:
Blocking: | Reproduced by developer: 0
Analyzed by developer: 0 |
-------------------------------------+-------------------------------------
Summary of the bug:
To limit the cpu usage of ffmpeg I have used the following command in the
past:
'''while true ; do pkill -STOP ffmpeg && sleep 0.1 && pkill -CONT ffmpeg
&& sleep 0.1 ; done'''
This does not seem to work anymore, ffmpeg turns into a zombie process
after a little while. -loglevel debug does not show anything. I have tried
the latest git snapshot as well.
How to reproduce:
{{{
% ffmpeg version N-95534-gac0f5f4c17 Copyright (c) 2000-2019 the FFmpeg
developers
built with Apple LLVM version 10.0.1 (clang-1001.0.46.4)
configuration: --enable-libx264 --enable-libx265 --enable-nonfree
--enable-gpl
shell #1:
for i in *.MP4 ; do ffmpeg -loglevel debug -i $i -f null - ; done
shell #2:
while true ; do pkill -STOP ffmpeg && sleep 0.1 && pkill -CONT ffmpeg &&
sleep 0.1 ; done
}}}
Patches should be submitted to the ffmpeg-devel mailing list and not this
bug tracker.
--
Ticket URL: <https://trac.ffmpeg.org/ticket/8332>
FFmpeg <https://ffmpeg.org>
FFmpeg issue tracker
More information about the FFmpeg-trac
mailing list