ll_segmenter_inactive_timeout

The `ll_segmenter_inactive_timeout` directive sets the duration to wait before considering a segmenter inactive after no active streaming requests are detected.

Syntaxll_segmenter_inactive_timeout time;
Defaultnone
Context
Arguments1

Description

The ll_segmenter_inactive_timeout directive is a configuration setting in the Kaltura Media Framework's NGINX module that specifies how long the server should wait after a segmenter becomes inactive before assuming it is not in use anymore. This timeout is essential for managing resources in a media streaming environment, where segmenters may need to be active to process live streams. When no requests are made to the segmenter for the duration of this timeout, the system can free up resources associated with that segmenter, optimizing server performance.

This directive accepts a single argument that defines the timeout period. It can be set to various time units such as seconds, minutes, or hours, allowing flexibility based on the anticipated streaming conditions. When the timeout expires, if there are still no active requests, the segmenter will be marked as inactive and resources will be released. This oversight prevents unnecessary resource consumption when the segmenters are not in use, which is particularly crucial in environments with variable streaming activity.

Administrators should tune this timeout based on their specific needs and expected traffic patterns. For instance, segments that are expected to be idle for longer durations may require a longer timeout than those with predictable streaming schedules. Understanding the typical usage could be beneficial to ensure that segmenters remain active as needed without holding onto resources unnecessarily.

Config Example

ll_segmenter_inactive_timeout 5m;

Setting the timeout too low may cause premature release of resources if streams are expected to resume shortly.

Conversely, a timeout that is too long can lead to resource wastage by keeping inactive segmenters alive longer than necessary.

← Back to all directives