Page 1 of 1

ffmpeg process cpu hang?

Posted: Wed Mar 06, 2024 2:13 pm
by dries
Hello,

It seems that after encoding the ffmpeg process keeps using 40% cpu (and 28% gpu),
even when there is no other workflow busy with a file?

You cannot kill the process, only reboot clears it.

Any thoughts?

Dries
process error.png
process error.png (602.09 KiB) Viewed 159 times

Re: ffmpeg process cpu hang?

Posted: Wed Mar 20, 2024 6:38 pm
by admin
Hi dries, sorry about the late reply.

Could you please send your workflow and maybe some log for the job? If the process is indeed started by ffastrans it should have been killed by force. But I have seen cases where some process is impossible to kill. We're using the Windows API for such operations and if it cannot be killed by normal means it must be caught in some kind of deadlock or whatever that keeps it hanging in there. Unless this is the normal behavior we might have to put it on the Windows being Windows account.

-steinar

Re: ffmpeg process cpu hang?

Posted: Thu Mar 21, 2024 11:24 am
by emcodem
Sorry also i have overseen this topic completely.
"You cannot kill the process" doesnt happen very often. Do you know if the hanging ffmpeg process was using GPU resources e.g. Nvidia encode or Cuda filtering?