On Tue, Jul 12, 2016 at 10:36:56 +0200, Reindl Harald wrote:
> Am 12.07.2016 um 10:11 schrieb Vivek Jain:
> > It would be great if we could somehow restrict ffmpeg operation on infra
> > resources utilisation, may be fail the operation if it breaches threshold.

That's a typical task for an operating system.

> well, place your stuff in a "Type=oneshot" systemd-unit with 
> "TimeoutStartSec=3600" or longer when tasks take more time and follow
> 
> https://www.freedesktop.org/software/systemd/man/systemd.resource-control.html

Furthermore, on any arbitrary Unix-like system, the operating system
and shell can impose limits. Check the "limit", "limits" or "ulimit"
command. (It can impose restrictions on number of open files, aquired
memory, CPU run time, and so on.)

Moritz
_______________________________________________
ffmpeg-user mailing list
ffmpeg-user@ffmpeg.org
http://ffmpeg.org/mailman/listinfo/ffmpeg-user

To unsubscribe, visit link above, or email
ffmpeg-user-requ...@ffmpeg.org with subject "unsubscribe".

Reply via email to