Velvet Star Monitor

Standout celebrity highlights with iconic style.

general

How can I change semaphore and shared memory values?

Writer Andrew Mclaughlin

I am new to Ubuntu Linux.

How can I change semaphore and shared memory values? What calculations do I use to work out what I should change them to? I need to set the values for backup operations.

I am using CommVault software for backup operations. My current semaphore values are 32000 1024000000 500 32000, which are not enough to take backup. I have to change the values to allow the backup operation.

4

1 Answer

You can get the values of semaphores and shared memory with command:

ipcs -a

You can change them with command:

sysctl

(and by making changes in /etc/sysctl.conf)

You can check this page for more info about making these changes

Below is an extract from CommVault documentation about setting shared memory:

The minimum recommended value for the SEMMNI parameter is 128. Use the following formula to calculate the value for the SEMMSL parameter: Non-MediaAgent: SEMMSL = 1 * number_of_desired_streams MediaAgent: SEMMSL = 12 * number_of_desired_streams Use the following formula to calculate the value for the SEMMNS parameter: SEMMNS = SEMMSL * SEMMNI The SEMOPM and SEMMSL parameter values must be equal. If any applications or databases are running on the client, the parameters must be increased accordingly.

3

Your Answer

Sign up or log in

Sign up using Google Sign up using Facebook Sign up using Email and Password

Post as a guest

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy