kmp_audio_mem_limit

The `kmp_audio_mem_limit` directive sets the memory limit for audio processing in the Kaltura Media Framework.

Syntaxkmp_audio_mem_limit size;
Defaultnone
Context
Arguments1

Description

The kmp_audio_mem_limit directive is used to specify the maximum amount of memory allocated for audio processing tasks within the Kaltura Media Framework's NGINX module. This value is crucial in managing resource consumption, particularly in environments where multiple media streams are processed concurrently. By configuring this directive, administrators can ensure that the system does not exhaust its memory resources, potentially causing performance degradation or software crashes.

The parameter for kmp_audio_mem_limit takes an integer value representing the memory limit in bytes. If a request exceeds this specified limit, the Kaltura components may respond with an error or terminate the process handling that request, ensuring that other processes remain functional. This can lead to improved stability and reliability of the media services provided by the framework under heavy load.

Config Example

kmp_audio_mem_limit 104857600;  # Set memory limit to 100MB

Setting this value too low may lead to audio processing failures or service interruptions.

Conversely, setting this value too high without sufficient system memory can cause overall system slowdown or crashes.

← Back to all directives