This appendix describes tuning settings required in an environment running ACSLS 8.4 on Oracle Enterprise Linux release 6.5 or 6.8. It includes the following topics:
The following Linux tuning parameter values are required to accommodate the size and complexity of ACSLS. These tuning parameters are a combination of Network operating system related parameters configured in the file /etc/sysctl.conf
, and ACSLS User operating system limits as set 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.
The following tunable options must be persisted to the file /etc/sysctl.conf
:
# 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 = 1 # Disable netfilter on bridges. net.bridge.bridge-nf-call-ip6tables = 0 net.bridge.bridge-nf-call-iptables = 0 net.bridge.bridge-nf-call-arptables = 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 shared segment size, in bytes kernel.shmmax = 68719476736 # Controls the maximum number of shared memory segments, in pages kernel.shmall = 4294967296 # Set Read/Write Max Buffers size to 8MB net.core.wmem_max=8388608 net.core.rmem_max=8388608 # Set Read/Write Default Buffers size to 8MB net.core.wmem_default=8388608 net.core.rmem_default=8388608 # Set TCP listen backlog queue depth net.core.somaxconn=2048 # Allow Setuid programs to drop corefs.suid_dumpable=1# Set the core pattern to drop in /var/crashkernel.core_pattern=/var/crash/core.%u.%e.%p
The following tunable options must be persisted to the file /etc/security/limits.d/90-nproc.conf
:
# # 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 8192000 # 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 8192000 # 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 describes required changes to ACSLS product behavior variable settings.
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.
**** 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
.
After rebooting the ACSLS server using the reboot -p
command, verify your tuning parameter changes.
Use the following commands to display the associated tuning values:
sysctl net.core.wmem_max sysctl net.core.rmem_max sysctl net.core.wmem_default sysctl net.core.rmem_default sysctl net.core.somaxconn
Verify that the following values are returned:
net.core.wmem_max=8388608 net.core.rmem_max=8388608 net.core.wmem_default=8388608 net.core.rmem_default=8388608 net.core.somaxconn=2048
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