Linux Kernel Parameter information (related to Oracle)

Source: Internet
Author: User

Command Line: vim/etc/sysctl. conf

Check the setting values of the following two rows:

Kernel. shmall = 2097152

Kernel. shmmax = 4294967295

If the default configuration is greater than the value given here, do not modify the original configuration.

Add the following content at the end of the/etc/sysctl. conf file:

Fs. file-max = 6553600

Kernel. shmmni = 4096

Kernel. sem = 250 32000 100 128

Net. ipv4.ip _ local_port_range = 1024 65000

Net. core. rmem_default = 4194304

Net. core. rmem_max = 4194304

Net. core. wmem_default = 262144

Net. core. wmem_max = 262144

Here, "fs. file-max = 6553600" is actually obtained by "fs. file-max = 512 * PROCESSES,

The value of PROCESSES is 12800, that is, "fs. file-max = 512*12800 ".

After the sysctl. conf file is modified, Run "sysctl-p" to make the settings take effect.

[Root @ localhost ~] # The meanings of common sysctl-p kernel parameters are as follows.

Kernel. shmmax: indicates the maximum value of a single shared memory segment, in bytes. This value is generally half of the physical memory, but it does not matter if it is larger. Here it is set to 4 GB, that is, "4294967295/1024/1024/1024 = 4G ".

Kernel. shmmni: Minimum value of a single shared memory segment, which is generally 4 kb, that is, 4096bit.

Kernel. shmall: indicates the total amount of available shared memory. The unit is page. On the 32-bit system, the previous page equals 4 kb, that is, 4096 bytes.

Fs. file-max: Maximum number of file handles. File handle indicates the number of files that can be opened in Linux.

Ip_local_port_range: indicates the port range, which is the specified content.

Kernel. sem: indicates the set semaphore. The content of these four parameters is fixed.

Net. core. rmem_default: the default value of the buffer size of the received socket (in bytes ).

Net. core. rmem_max: Maximum buffer size of the received socket (in bytes)

Net. core. wmem_default: the default value of the buffer size of the sending socket (in bytes ).

Net. core. wmem_max: maximum size of the buffer for sending Sockets (in bytes ).

Recommended reading:

Linux Kernel Parameter Optimization (for Oracle)

Oracle Linux Kernel Parameter Modification

Setting Kernel Parameters in Linux during Oracle Installation

Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.