|
Oracle® Collaboration Suite Certified Configuration Deployment and Cloning Guide
Release 9.0.3.1 for Linux x86 Part No. B10635-04 |
|
|
|
|
This appendix describes setting operating system kernel parameters for Oracle Collaboration Suite Certified Configuration (Oracle Collaboration Suite CC).
This appendix covers the following topic:
Perform the following steps to modify the kernel parameters by using the /proc file system:
Log in as the root user.
Change directories to the /proc/sys/kernel directory.
Review the current semaphore parameter values in the sem file by using the cat or more utility. For example, using the cat utility, enter the following command:
prompt> cat sem
The output lists, in order, the values for the SEMMSL, SEMMNS, SEMOPM, and SEMMNI parameters. The following example shows how the output appears:
250 32000 32 128
In the preceding output example, 250 is the value of the SEMMSL parameter, 32000 is the value of the SEMMNS parameter, 32 is the value of the SEMOPM parameter, and 128 is the value of the SEMMNI parameter.
Modify the parameter values by using the following command syntax:
prompt> echo SEMMSL_value SEMMNS_value SEMOPM_value SEMMNI_value sem
Replace the parameter variables with the values for your system in the order that they entered in the preceding example. For example,
prompt> echo 100 32000 100 100 > sem
Review the current shared memory parameters by using the cat or more utility. For example, using the cat utility, enter the following command:
prompt> cat shared_memory_parameter
In the preceding example, the variable SHARED_MEMORY_PARAMETER is either the SHMMAX or SHMMNI parameter. The parameter name must be entered in lowercase letters.
Modify the shared memory parameter by using the echo utility. For example, to modify the SHMMAX parameter, enter the following command:
prompt> echo 2147483648 > shmmax
Modify the shared memory parameter by using the echo utility. For example, to modify the SHMMNI parameter, enter the following command:
prompt> echo 4096 > shmmni
Modify the shared memory parameter by using the echo utility. For example, to modify the SHMALL parameter, enter the following command:
prompt> echo 2097152 >shmall
Write a script to initialize these values during system startup, and include the script in your system init files.
|
See Also: Your system vendor’s documentation for more information on script files andinit files.
|
Set File Handles by using ulimit -n and /proc/sys/fs/file-max.
prompt> echo 65536 > /proc/sys/fs/file-max prompt>ulimit -n 65536
Set the sockets to /proc/sys/net/ipv4/ip_local_port_range
prompt> echo 1024 65000 > /proc/sys/net/ipv4/ip_local_port_range
Set the process limit by using ulimit -u. This gives you the number of processes for each user.
ulimit -u 16384