问题一:Recommended NetBackup UNIX / Linux semaphore tuning values (Linux/Solaris/HP-UX/AIX)
官方KB:https://www.veritas.com/content/support/en_US/article.100023842
Problem
A Master Server and Media server running NetBackup may need OS level system resources increased to function properly. The following values are used by NetBackup engineering in their test environments. These are recommended minimum values that should address some OS related performance issues. If OS resource limitations are below recommended values NetBackup may not work as effectively as expected. Resource limitations have been known to cause behaviors including application hangs, status code 252, processing delays, and lack of responsiveness amongst other things.
The proposed semaphore values are a recommended minimum. If your environment already exceeds these values, you should not reduce them to the recommended values.
Solution
The following semaphore properties should be adjusted:
SEMMSL - The maximum number of semaphores in a sempahore set.
SEMMNS - A system-wide limit on the number of semaphores in all semaphore sets. The maximum number of sempahores in the system.
SEMOPM - The maximum number of operations in a single semop call
SEMMNI - A system-wide limit on the maximum number of semaphore identifiers (sempahore sets)
NetBackup support recommends the following values:
SEMMSL SEMMNS SEMOPM SEMMNI
300 307200 32 1024
Validating/Changing Linux semaphore values:
Run the following command to check existing semaphore values:
root@NBU-Master:~ > sysctl -a | grep kernel.sem
kernel.sem = 250 256000 32 1024
These values can be adjusted immediately without a restart using the following (but will not persist over a reboot):
root@NBU-Master:~ > cat /proc/sys/kernel/sem
250 256000 32 1024
root@NBU-Master:~ > echo 300 307200 32 1024 > /proc/sys/kernel/sem
root@NBU-Master:~ > sysctl -a | grep kernel.sem
kernel.sem = 300 307200 32 1024
To modify system semaphore values permanently, running the following will change their default setting and apply these new values immediately:
ro