persist_setup_max_size

The `persist_setup_max_size` directive sets the maximum size for the persistent session setup in the Kaltura Media Framework NGINX module.

Syntaxpersist_setup_max_size size;
Defaultnone
Context
Arguments1

Description

The persist_setup_max_size directive is used within the Kaltura Media Framework to control the maximum size allowed for a persistent session setup. This feature is particularly important in environments where resources are carefully managed, such as during live stream processing or video transcoding.

Specifically, this directive helps to prevent excessive resource consumption that can occur if session setups grow too large. By capping the size, it ensures that the media components remain efficient and responsive, especially under high-load scenarios. The directive accepts a single numerical argument which defines this maximum size limit; if the setup exceeds this specified value, it may lead to rejection or trimming of excess data.

Utilizing this directive in your configuration allows for fine-tuning of the performance of media handling processes, thus improving the overall stability and efficiency of the server and its media pipelines. It plays a crucial role in maintaining effective operational parameters for applications leveraging the Kaltura framework.

Config Example

persist_setup_max_size 64m;

Ensure that the specified size is sufficient for your application needs, otherwise setups may fail or data may be lost.

Be aware that setting this value too high might lead to increased memory usage, potentially affecting other server performance metrics.

← Back to all directives