Related Topics
Before You Begin
To set the kernel parameters for Linux
Complete the following steps.
If '*" appears after the parameter name, this indicates that you can increment
the value of the parameter based on the number of desired streams by using the
formula
parameter value = 64 * number of desired streams as long as the "high-end" value of the range for the parameter is not exceeded. |
Parameter | Purpose | Possible Range of Values |
SEMMSL* | Defines the minimum recommended semaphore value | 1 – 2147483647 [MAXINT] |
SEMMNS* | Defines the maximum semaphores in the system | 1 – 2147483647 [MAXINT] |
SEMOPM | Defines the maximum number of operations for each semaphore call | 100 |
SHMMNI* | Defines the maximum number of shared memory segments in the entire system | 1 – 2147483647 [MAXINT] |
If '*" appears after the parameter name, this indicates that you can increment
the value of the parameter based on the number of desired streams by using the
formula
parameter value = 64 * number of desired streams as long as the "high-end" value of the range for the parameter is not exceeded. |
If a MediaAgent is included, be sure allocate no fewer than 100 additional streams per affected parameter.
Parameter | Purpose | Possible Range of Values |
SHMMAX | Defines the maximum allowable size of one shared memory segment | 0 – 2147483648 [2 GB] (the high-end value is
the recommended value) |
SHMMNI* | Defines the maximum number of shared memory segments in the entire system | 1 – 2147483647 [MAXINT] |
SHMALL | Defines the maximum total shared memory system-wide | 2097152 |
kernel.shmmax = value
kernel.sem = value1 value2 value3 value4
(Be sure to include a space on either side of each "=" and also between each value.) Then run the sysctl -p command to allow these changes to take effect immediately.