Thursday, March 14, 2013

Explanation of parameters used in oracle installation



"/etc/sysctl.conf"

fs.suid_dumpable = 1
fs.aio-max-nr = 1048576
fs.file-max = 6815744
kernel.shmall = 2097152
kernel.shmmax = 536870912
kernel.shmmni = 4096
# semaphores: semmsl, semmns, semopm, semmni
kernel.sem = 250 32000 100 128
net.ipv4.ip_local_port_range = 9000 65500
net.core.rmem_default=4194304
net.core.rmem_max=4194304
net.core.wmem_default=262144
net.core.wmem_max=1048586

#########################################################################################################
*fs.suid_dumpable = 1
The value in this file determines whether core dump files are produced for set-user-ID or otherwise protected/tainted binaries.
Three different integer values can be specified:

0 (default) - This provides the traditional behaviour. A core dump will not be produced for a process which has changed credentials
(by calling seteuid(2), setgid(2), or similar, or by executing a set-user-ID or set-group-ID program) or whose binary does not have
read permission enabled.
1 ("debug") - All processes dump core when possible. The core dump is owned by the file system user ID of the dumping process and no
security is applied. This is intended for system debugging situations only. Ptrace is unchecked.
2 ("suidsafe") - Any binary which normally would not be dumped (see "0" above) is dumped readable by root only. This allows the user
to remove the core dump file but not to read it. For security reasons core dumps in this mode will not overwrite one another or other files.
This mode is appropriate when administrators are attempting to debug problems in a normal environment.

*fs.aio-max-nr = 1048576-----is the maximum number of allowable concurrent requests. The maximum is commonly 64KB,
which is adequate for most applications. This is related to asynchronous I/O usage on your system
*fs.file-max = 6815744------------------------ Controls the total number of files which can be opened at once
*kernel.shmall = 2097152-----------------------The total amount of shared memory (in pages) which can be allocated on the system
*kernel.shmmax = 536870912---------------------The maximum size of a shared memory segment (in pages)
*kernel.shmmni = 4096--------------------------The maximum number of shared memory segments available on the system
# semaphores: semmsl, semmns, semopm, semmni
###########################
*kernel.sem = 250 32000 100 128
# /sbin/sysctl -a | grep sem
kernel.sem = 250 32000 32 128

The values for the semaphores represent the following:

semmsl: The number of semaphores per set
semmns: The total number of semaphores available
semopm: The number of operations which can be made per semaphore call
semmni: The maximum number of shared memory segments available in the system
##################
*net.ipv4.ip_local_port_range = 9000 65500 ---------------------This controls the number of network connections which can be allocated at once.
These are unrelated to the network ports on which incoming connections are made
*net.core.rmem_default=4194304,net.core.rmem_max=4194304---------------Represent the default and maximum size of the network receive buffer
*net.core.wmem_default=262144,net.core.wmem_max=1048586---------------Represent the default and maximum size of the network send buffer



No comments: