This appendix describes tuning settings required in an environment running ACSLS 8.5 on Linux.
Topics include:
For Linux 6.8, 6.10, 7.3, 7.6, or 7.8, use the following guidelines to apply the appropriate settings based on the size of your system:
Small system: 64 GB RAM or less
Medium system: 64 GB to 128 GB RAM
Large system: Greater than 128 GB RAM
Specify settings in the file /etc/sysctl.conf
.
Specify the following for a system consisting of 64 GB RAM or less:
# Controls IP packet forwarding net.ipv4.ip_forward = 0 # Controls source route verification net.ipv4.conf.default.rp_filter = 1 # Do not accept source routing net.ipv4.conf.default.accept_source_route = 0 # Controls the System Request debugging functionality of the kernel kernel.sysrq = 0 # Controls whether core dumps will append the PID to the core filename. # Useful for debugging multi-threaded applications. kernel.core_uses_pid = 1 # Controls the use of TCP syncookies net.ipv4.tcp_syncookies = 0 # Controls the default maxmimum size of a mesage queue kernel.msgmnb = 65536 # Controls the maximum size of a message, in bytes kernel.msgmax = 65536 # Controls the maximum number of shared memory in bytes kernel.shmmax = 429494272 # Controls the maximum number of shared memory segments, in pages kernel.shmall = 104857
Specify the following for a system consisting of 64 GB to 128 GB RAM:
# Controls IP packet forwarding net.ipv4.ip_forward = 0 # Controls source route verification net.ipv4.conf.default.rp_filter = 1 # Do not accept source routing net.ipv4.conf.default.accept_source_route = 0 # Controls the System Request debugging functionality of the kernel kernel.sysrq = 0 # Controls whether core dumps will append the PID to the core filename. # Useful for debugging multi-threaded applications. kernel.core_uses_pid = 1 # Controls the use of TCP syncookies net.ipv4.tcp_syncookies = 0 # Controls the default maxmimum size of a mesage queue kernel.msgmnb = 65536 # Controls the maximum size of a message, in bytes kernel.msgmax = 65536 # Controls the maximum number of shared memory in bytes kernel.shmmax = 8589934592 # Controls the maximum number of shared memory segments, in pages kernel.shmall = 2097152
Specify the following for a system consisting of greater than 128 GB RAM:
# Controls IP packet forwarding net.ipv4.ip_forward = 0 # Controls source route verification net.ipv4.conf.default.rp_filter = 1 # Do not accept source routing net.ipv4.conf.default.accept_source_route = 0 # Controls the System Request debugging functionality of the kernel kernel.sysrq = 0 # Controls whether core dumps will append the PID to the core filename. # Useful for debugging multi-threaded applications. kernel.core_uses_pid = 1 # Controls the use of TCP syncookies net.ipv4.tcp_syncookies = 0 # Controls the default maxmimum size of a mesage queue kernel.msgmnb = 65536 # Controls the maximum size of a message, in bytes kernel.msgmax = 65536 # Controls the maximum number of shared memory in bytes kernel.shmmax = 17179869184 # Controls the maximum number of shared memory segments, in pages kernel.shmall = 4194304
The following settings are recommended to accommodate the size and complexity of ACSLS. Use the following guidelines to apply the appropriate settings based on the size of your system:
Small system: 64 GB RAM or less
Medium system: 64 GB to 128 GB RAM
Large system: Greater than 128 GB RAM
Specify settings in the file /etc/security/limits.d/90-nproc.conf
.
Once these values are set, you must reboot the ACSLS server using the reboot -p
command.
Specify the following for a system consisting of 64 GB RAM or less:
# # ACSSS user limits # # Max core file size acsss hard core unlimited acsss soft core unlimited # Max number of processes acsss hard nproc 65568 acsss soft nproc 30000 # Max number of files open acsss hard nofile 65568 acsss soft nofile 30000 # Max CPU usage acsss hard cpu unlimited acsss soft cpu unlimited # Max number of locks open acsss hard locks 65568 acsss soft locks 30000 # Max number data size acsss hard data unlimited acsss soft data unlimited # Max number stack size acsss hard stack unlimited acsss soft stack 16000 # Max number rss size acsss hard rss unlimited acsss soft rss 1819200 # Max number address size acsss hard as unlimited acsss soft as unlimited # Max size for memory locked acsss hard memlock unlimited acsss soft memlock 2900000 # Max number stack size acsss hard pipe 16000 acsss soft pipe 8192 # Max number of pending signals acsss hard sigpending 257359 acsss soft sigpending 257359 # # ACSDB user limits # # Max core file size acsdb hard core unlimited acsdb soft core unlimited # Max number of processes acsdb hard nproc 65568 acsdb soft nproc 30000 # Max number of files open acsdb hard nofile 65568 acsdb soft nofile 30000 # Max CPU usage acsdb hard cpu unlimited acsdb soft cpu unlimited # Max number of locks open acsdb hard locks 65568 acsdb soft locks 30000 # Max number data size acsdb hard data unlimited acsdb soft data unlimited # Max number stack size acsdb hard stack unlimited acsdb soft stack 16000 # Max number rss size acsdb hard rss unlimited acsdb soft rss 1819200 # Max number address size acsdb hard as unlimited acsdb soft as unlimited # Max size for memory locked acsdb hard memlock unlimited acsdb soft memlock 2900000 # Max number stack size acsdb hard pipe 16000 acsdb soft pipe 8192 # Max number of pending signals acsdb hard sigpending 257359 acsdb soft sigpending 257359
Specify the following for a system consisting of 64 GB to 128 GB RAM:
# # ACSSS user limits # # Max core file size acsss hard core unlimited acsss soft core unlimited # Max number of processes acsss hard nproc 65568 acsss soft nproc 30000 # Max number of files open acsss hard nofile 65568 acsss soft nofile 30000 # Max CPU usage acsss hard cpu unlimited acsss soft cpu unlimited # Max number of locks open acsss hard locks 65568 acsss soft locks 30000 # Max number data size acsss hard data unlimited acsss soft data unlimited # Max number stack size acsss hard stack unlimited acsss soft stack 16000 # Max number rss size acsss hard rss unlimited acsss soft rss 3638400 # Max number address size acsss hard as unlimited acsss soft as unlimited # Max size for memory locked acsss hard memlock unlimited acsss soft memlock 3900000 # Max number stack size acsss hard pipe 16000 acsss soft pipe 8192 # Max number of pending signals acsss hard sigpending 257359 acsss soft sigpending 257359 # # ACSDB user limits # # Max core file size acsdb hard core unlimited acsdb soft core unlimited # Max number of processes acsdb hard nproc 65568 acsdb soft nproc 30000 # Max number of files open acsdb hard nofile 65568 acsdb soft nofile 30000 # Max CPU usage acsdb hard cpu unlimited acsdb soft cpu unlimited # Max number of locks open acsdb hard locks 65568 acsdb soft locks 30000 # Max number data size acsdb hard data unlimited acsdb soft data unlimited # Max number stack size acsdb hard stack unlimited acsdb soft stack 16000 # Max number rss size acsdb hard rss unlimited acsdb soft rss 3638400 # Max number address size acsdb hard as unlimited acsdb soft as unlimited # Max size for memory locked acsdb hard memlock unlimited acsdb soft memlock 3900000 # Max number stack size acsdb hard pipe 16000 acsdb soft pipe 8192 # Max number of pending signals acsdb hard sigpending 257359 acsdb soft sigpending 257359
Specify the following for a system consisting of greater than 128 GB RAM:
# # ACSSS user limits # # Max core file size acsss hard core unlimited acsss soft core unlimited # Max number of processes acsss hard nproc 65568 acsss soft nproc 30000 # Max number of files open acsss hard nofile 65568 acsss soft nofile 30000 # Max CPU usage acsss hard cpu unlimited acsss soft cpu unlimited # Max number of locks open acsss hard locks 65568 acsss soft locks 30000 # Max number data size acsss hard data unlimited acsss soft data unlimited # Max number stack size acsss hard stack unlimited acsss soft stack 16000 # Max number rss size acsss hard rss unlimited acsss soft rss 3900000 # Max number address size acsss hard as unlimited acsss soft as unlimited # Max size for memory locked acsss hard memlock unlimited acsss soft memlock 3900000 # Max number stack size acsss hard pipe 16000 acsss soft pipe 8192 # Max number of pending signals acsss hard sigpending 257359 acsss soft sigpending 257359 # # ACSDB user limits # # Max core file size acsdb hard core unlimited acsdb soft core unlimited # Max number of processes acsdb hard nproc 65568 acsdb soft nproc 30000 # Max number of files open acsdb hard nofile 65568 acsdb soft nofile 30000 # Max CPU usage acsdb hard cpu unlimited acsdb soft cpu unlimited # Max number of locks open acsdb hard locks 65568 acsdb soft locks 30000 # Max number data size acsdb hard data unlimited acsdb soft data unlimited # Max number stack size acsdb hard stack unlimited acsdb soft stack 16000 # Max number rss size acsdb hard rss unlimited acsdb soft rss 3900000 # Max number address size acsdb hard as unlimited acsdb soft as unlimited # Max size for memory locked acsdb hard memlock unlimited acsdb soft memlock 3900000 # Max number stack size acsdb hard pipe 16000 acsdb soft pipe 8192 # Max number of pending signals acsdb hard sigpending 257359 acsdb soft sigpending 257359
The following settings are recommended to accommodate the size and complexity of ACSLS. Use the following guidelines to apply the appropriate settings based on the size of your system:
Small system: 64 GB RAM or less
Medium system: 64 GB to 128 GB RAM
Large system: Greater than 128 GB RAM
Specify settings in the file /etc/security/limits.d/20-nproc.conf
.
Once these values are set, you must reboot the ACSLS server using the reboot -p
command.
Specify the following for a system consisting of 64 GB RAM or less:
# # ACSSS user limits # # Max core file size acsss hard core unlimited acsss soft core unlimited # Max number of processes acsss hard nproc 65568 acsss soft nproc 30000 # Max number of files open acsss hard nofile 65568 acsss soft nofile 30000 # Max CPU usage acsss hard cpu unlimited acsss soft cpu unlimited # Max number of locks open acsss hard locks 65568 acsss soft locks 30000 # Max number data size acsss hard data unlimited acsss soft data unlimited # Max number stack size acsss hard stack unlimited acsss soft stack 8192 # Max number rss size acsss hard rss unlimited acsss soft rss 1819200 # Max number address size acsss hard as unlimited acsss soft as unlimited # Max size for memory locked acsss hard memlock unlimited acsss soft memlock 2900000 # Max number stack size acsss hard pipe 16000 acsss soft pipe 8192 # Max number of pending signals acsss hard sigpending 257359 acsss soft sigpending 257359 # # ACSDB user limits # # Max core file size acsdb hard core unlimited acsdb soft core unlimited # Max number of processes acsdb hard nproc 65568 acsdb soft nproc 30000 # Max number of files open acsdb hard nofile 65568 acsdb soft nofile 30000 # Max CPU usage acsdb hard cpu unlimited acsdb soft cpu unlimited # Max number of locks open acsdb hard locks 65568 acsdb soft locks 30000 # Max number data size acsdb hard data unlimited acsdb soft data unlimited # Max number stack size acsdb hard stack unlimited acsdb soft stack 16000 # Max number rss size acsdb hard rss unlimited acsdb soft rss 1819200 # Max number address size acsdb hard as unlimited acsdb soft as unlimited # Max size for memory locked acsdb hard memlock unlimited acsdb soft memlock 2900000 # Max number stack size acsdb hard pipe 16000 acsdb soft pipe 8192 # Max number of pending signals acsdb hard sigpending 257359 acsdb soft sigpending 257359
Specify the following for a system consisting of 64 GB to 128 GB RAM:
# # ACSSS user limits # # Max core file size acsss hard core unlimited acsss soft core unlimited # Max number of processes acsss hard nproc 65568 acsss soft nproc 30000 # Max number of files open acsss hard nofile 65568 acsss soft nofile 30000 # Max CPU usage acsss hard cpu unlimited acsss soft cpu unlimited # Max number of locks open acsss hard locks 65568 acsss soft locks 30000 # Max number data size acsss hard data unlimited acsss soft data unlimited # Max number stack size acsss hard stack unlimited acsss soft stack 16000 # Max number rss size acsss hard rss unlimited acsss soft rss 3638400 # Max number address size acsss hard as unlimited acsss soft as unlimited # Max size for memory locked acsss hard memlock unlimited acsss soft memlock 3900000 # Max number stack size acsss hard pipe 16000 acsss soft pipe 8192 # Max number of pending signals acsss hard sigpending 257359 acsss soft sigpending 257359 # # ACSDB user limits # # Max core file size acsdb hard core unlimited acsdb soft core unlimited # Max number of processes acsdb hard nproc 65568 acsdb soft nproc 30000 # Max number of files open acsdb hard nofile 65568 acsdb soft nofile 30000 # Max CPU usage acsdb hard cpu unlimited acsdb soft cpu unlimited # Max number of locks open acsdb hard locks 65568 acsdb soft locks 30000 # Max number data size acsdb hard data unlimited acsdb soft data unlimited # Max number stack size acsdb hard stack unlimited acsdb soft stack 8192 # Max number rss size acsdb hard rss unlimited acsdb soft rss 3900000 # Max number address size acsdb hard as unlimited acsdb soft as unlimited # Max size for memory locked acsdb hard memlock unlimited acsdb soft memlock 3900000 # Max number stack size acsdb hard pipe 16000 acsdb soft pipe 8192 # Max number of pending signals acsdb hard sigpending 257359 acsdb soft sigpending 257359
Specify the following for a system consisting of greater than 128 GB RAM:
# # ACSSS user limits # # Max core file size acsss hard core unlimited acsss soft core unlimited # Max number of processes acsss hard nproc 65568 acsss soft nproc 30000 # Max number of files open acsss hard nofile 65568 acsss soft nofile 30000 # Max CPU usage acsss hard cpu unlimited acsss soft cpu unlimited # Max number of locks open acsss hard locks 65568 acsss soft locks 30000 # Max number data size acsss hard data unlimited acsss soft data unlimited # Max number stack size acsss hard stack unlimited acsss soft stack 16000 # Max number rss size acsss hard rss unlimited acsss soft rss 3900000 # Max number address size acsss hard as unlimited acsss soft as unlimited # Max size for memory locked acsss hard memlock unlimited acsss soft memlock 3900000 # Max number stack size acsss hard pipe 16000 acsss soft pipe 8192 # Max number of pending signals acsss hard sigpending 257359 acsss soft sigpending 257359 # # ACSDB user limits # # Max core file size acsdb hard core unlimited acsdb soft core unlimited # Max number of processes acsdb hard nproc 65568 acsdb soft nproc 30000 # Max number of files open acsdb hard nofile 65568 acsdb soft nofile 30000 # Max CPU usage acsdb hard cpu unlimited acsdb soft cpu unlimited # Max number of locks open acsdb hard locks 65568 acsdb soft locks 30000 # Max number data size acsdb hard data unlimited acsdb soft data unlimited # Max number stack size acsdb hard stack unlimited acsdb soft stack 16000 # Max number rss size acsdb hard rss unlimited acsdb soft rss 3900000 # Max number address size acsdb hard as unlimited acsdb soft as unlimited # Max size for memory locked acsdb hard memlock unlimited acsdb soft memlock 3900000 # Max number stack size acsdb hard pipe 16000 acsdb soft pipe 8192 # Max number of pending signals acsdb hard sigpending 257359 acsdb soft sigpending 257359
This section provides specific details about how to reply to certain questions when running ACSLS install.sh
and acsss_config
. These details determine the settings for specific parameters, as well as controlling behavior of specific components within ACSLS.
Do the following:
Run ACSLS acsss_config
IMPORTANT: Do this after running install.sh, and after any import of control files from ACSLS 7.3.1.
Select option 3: Set general product behavior variables.
Increase the number of ACSMT (performs mounts/dismounts requests) processes from a default of 2 to the max of 5.
Changes to the number of mount processes ACSLS supports will not take effect until the product is restarted.
Number of mount processes [2]: 5
Increase the number of ACSQY (performs various query requests) processes from a default of 2 to the max of 5.
Changes to the number of query processes ACSLS supports will not take effect
until the product is restarted.
Number of query processes [2]: 5
Increase the number of concurrent ACSLS processes to 70.
Changes to the maximum number of ACSLS processes will not take effect
until the product is restarted.
Maximum number of ACSLS processes [8]: 70
Turn off the ACSLM TCP/IP INET socket. You will be asked about the value for ENABLE_INET_ACSLM. Set it to FALSE, unless you have installed the ACSLS GUI or are using logical libraries.
**** ENABLE_INET_ACSLM Must be TRUE ****
This variable must be TRUE to allow the GUI and logical
libraries to communicate with legacy ACSLS processes. [TRUE]: FALSE
You may also do this using dv_config
if it becomes necessary at any time in the future, using the command dv_config -p ENABLE_INET_ACSLM
.
WARNING:
DO NOT set ENABLE_INET_ACSLM
to FALSE
if you have installed the ACSLS GUI or are using logical libraries. In these cases, set this parameter to TRUE
in order to avoid resource issues such as failed fork().
After rebooting the ACSLS server using the reboot -p
command, verify your tuning parameter changes.
To verify operating system tuning settings:
Login in as user root
.
Change user to acsss
using the command su - acsss
.
Perform Soft and Hard limit checks using the following commands:
ulimit -aS ulimit -aH
Change back to user root
using the command exit
.
Change user to acsdb
using the command su - acsdb
.
Perform Soft and Hard limit checks using the following commands:
ulimit -aS ulimit -aH
Examples:
-bash-4.1$ ulimit -aS core file size (blocks, -c) unlimited data seg size (kbytes, -d) unlimited scheduling priority (-e) 0 file size (blocks, -f) unlimited pending signals (-i) 257359 max locked memory (kbytes, -l) 3900000 max memory size (kbytes, -m) 8192000 open files (-n) 30000 pipe size (512 bytes, -p) 8 POSIX message queues (bytes, -q) 819200real-time priority (-r) 0stack size (kbytes, -s) 16000cpu time (seconds, -t) unlimitedmax user processes (-u) 30000virtual memory (kbytes, -v) unlimitedfile locks (-x) 30000-bash-4.1$ ulimit -aHcore file size (blocks, -c) unlimiteddata seg size (kbytes, -d) unlimitedscheduling priority (-e) 0file size (blocks, -f) unlimitedpending signals (-i) 257359max locked memory (kbytes, -l) unlimitedmax memory size (kbytes, -m) unlimitedopen files (-n) 65568pipe size (512 bytes, -p) 8POSIX message queues (bytes, -q) 819200real-time priority (-r) 0stack size (kbytes, -s) unlimitedcpu time (seconds, -t) unlimitedmax user processes (-u) 65568virtual memory (kbytes, -v) unlimitedfile locks (-x) 65568