> For the complete documentation index, see [llms.txt](https://mostafaznv.gitbook.io/larupload/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://mostafaznv.gitbook.io/larupload/advanced-usage/configuration/ffmpeg/ffmpeg-max-queue-number.md).

# FFMpeg Max Queue Number

With the `max-queue-num` option, you can limit the number of Larupload instances that are queued for FFMPEG processing.

If the number of running FFMPEG queues exceeds the specified limit, Larupload will throw an exception to prevent excessive resource consumption. This can be useful in cases where the server has limited resources and can't handle too many simultaneous FFMPEG processes.

{% hint style="info" %}
If you want to ignore this feature and queue uploaded files unlimited, simply set the value to 0.
{% endhint %}

\\
