Description of the Linux kernel parameter sem

Source: Internet
Author: User
Tags semaphore

SEM: is an abbreviation for semaphores, which represents the semaphore set. It consists of four values: SEMMSL, Semmns, SEMOPM, Semmni.

General Settings Kernel.sem = 250 32000 100 128

Semmns: The maximum number of semaphores associated with Oracle's process count. SEMMSL * Semmni

SEMOPM: Maximum number of semaphores allowed for system calls. At least 100; or equal to SEMMSL.

Semmni: The maximum number of system semaphore set. Minimum 128

SEMMSL: The maximum number of semaphores in each semaphore set. Minimum 250, the system recommended for processes parameter setting is set to processes+10.

The file where the kernel parameter resides is/etc/sysctl.conf

When installing the Oracle database, you need to add the kernel parameters according to the actual situation, the general kernel parameters are added as follows


Kernel.shmall = 4294967296

KERNEL.SEM=250 32000 100 128

Fs.file-max = 6815744

FS.AIO-MAX-NR = 1048576

Net.ipv4.ip_local_port_range = 9000 65500

Net.core.rmem_default = 262144

Net.core.rmem_max = 4194304

Net.core.wmem_default = 262144

Net.core.wmem_max = 1048576


After Setup is complete, you can use Sysctl-p to make the kernel parameter settings take effect immediately.


This article is from the "Drunken Cold wind" blog, please be sure to keep this source http://zydw415.blog.51cto.com/10608909/1761488

Description of the Linux kernel parameter sem

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.