[FFmpeg-user] FFmpeg & infrastructure
barsnick at gmx.net
Tue Jul 12 17:49:42 EEST 2016
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
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.)
More information about the ffmpeg-user