2.6 Configuring Kernel Parameters
Note:
The kernel parameter and shell limit values shown in the following section are recommended values only. For production database systems, Oracle recommends that you tune these values to optimize the performance of the system. Refer to your operating system documentation for more information about tuning kernel parameters.
Verify that the kernel parameters shown in the following table are set to values greater than or equal to the recommended value shown on Solaris 8 and Solaris 9 operating systems. The procedure following the table describes how to verify and set the values.
Parameter Recommended Value
noexec_user_stack 1
semsys:seminfo_semmni 100
semsys:seminfo_semmns 1024
semsys:seminfo_semmsl 256
semsys:seminfo_semvmx 32767
shmsys:shminfo_shmmax 4294967295
shmsys:shminfo_shmmin 1
shmsys:shminfo_shmmni 100
shmsys:shminfo_shmseg 10
Note:
The following parameters are obsolete in Solaris 9:
shmsys:shminfo_shmmin
shmsys:shminfo_shmseg
On Solaris 10, verify that the kernel parameters shown in the following table are set to values greater than or equal to the recommended value shown. The table aslo contains the resource controls that replace the /etc/system file for a specific kernel parameter.
Note:
In Solaris 10, you are not required to make changes to the /etc/system file to implement the System V TPC. Solaris 10 uses the resource control facility for its implementation.
Parameter Replaced by Resource Control Recommended Value
noexec_user_stack NA 1
semsys:seminfo_semmni project.max-sem-ids 100
semsys:seminfo_semmsl process.max-sem-nsems 256
shmsys:shminfo_shmmax project.max-shm-memory 4294967295
shmsys:shminfo_shmmni project.max-shm-ids 100
On Solaris 8 and Solaris 9 operating systems, use the following procedure to view the current value specified for these kernel parameters, and to change them if necessary:
To view the current values of these parameters, enter the following commands:
# grep noexec_user_stack /etc/system
# /usr/sbin/sysdef | grep SEM
# /usr/sbin/sysdef | grep SHM
If you must change any of the current values, then:
Create a backup copy of the /etc/system file, for example:
# cp /etc/system /etc/system.orig
Open the /etc/system file in any text editor and, if necessary, add lines similar to the following (edit the lines if the file already contains them):
set noexec_user_stack=1
set semsys:seminfo_semmni=100
set semsys:seminfo_semmns=1024
set semsys:seminfo_semmsl=256
set semsys:seminfo_semvmx=32767
set shmsys:shminfo_shmmax=4294967295
set shmsys:shminfo_shmmin=1
set shmsys:shminfo_shmmni=100
set shmsys:shminfo_shmseg=10
Enter the following command to restart the system:
# /usr/sbin/reboot
When the system restarts, log in and switch user to root.
On Solaris 10, use the following procedure to view the current value specified for resource controls, and to change them if necessary:
To view the current values of the resource control, enter the following commands:
# id -p // to verify the project id
uid=0(root) gid=0(root) projid=1 (user.root)
# prctl -n project.max-shm-memory -i project user.root
# prctl -n project.max-sem-ids -i project user.root
If you must change any of the current values, then:
To modify the value of max-shm-memory to 6 GB:
# prctl -n project.max-shm-memory -v 6gb -r -i project user.root
To modify the value of max-sem-ids to 256:
# prctl -n project.max-sem-ids -v 256 -r -i project user.root
分享到:
相关推荐
Prepare for Microsoft Exam 70-687 – and help demonstrate your real-world mastery of configuring Windows 8.1 in the enterprise. Designed for experienced IT professionals ready to advance their status...
It also provides detailed insight into configuring the various component services such as security, performance, and clustering. Beyond coverage of the core application server, the book also teaches ...
### JBoss in Action: Configuring the JBoss Application Server #### 关键知识点概览 - **JBoss Application Server**: 一种开源的应用服务器,适用于Java应用程序的部署与管理。 - **JBoss in Action**: 一本...
【知识点详解】 AZ-140 考试:配置和操作Microsoft Azure上的Windows Virtual Desktop(测试版) 1. **Windows Virtual Desktop部署**: Windows Virtual Desktop(WVD)是微软提供的一种服务,允许在Azure上...
微软 MCTS Exam 70-680 认证模拟题.模拟题打开软件. 带注册码。祝你考试顺利通过!
6. **书籍内容概览**:文件提到了书籍的内容概览,包括引言(Introduction)和第一章(Chapter 1),标题是“Installing and Configuring”,这表明书籍的内容覆盖了Exchange Server 2010的安装和配置过程。...
西门子 plc Hans Berger Automating with 系列丛书 Automating with SIMATICS 7-1500 Configuring, Programming and Testingwith STEP 7 Professional 2017.pdf
一、依赖包的安装 二、Creating Required ...三、Configuring Kernel Parameters 配置内核参数 四、Creating Required Directories 五、Configuring the oracle User's Environment 六、Installing Oracle Database
Oracle GoldenGate Best Practices: Configuring Oracle GoldenGate with Oracle Grid Infrastructure Bundled Agents (XAG)
Oracle Solaris 11.1 Configuring and Administering Oracle Solaris11.1Networks-152
### Cisco配置粘性参数以用于内容规则 #### 粘性概述 在会话期间,Cisco 内容服务交换机(Content Services Switch, CSS)维护客户端与服务器之间的关联,这种关联被称为粘性(Stickiness)。...
这本书《Configuring and Managing Printing in Oracle Solaris 11.3》详细阐述了如何在Oracle Solaris 11.3操作系统中设置和维护打印环境。出版于2017年12月,此书涵盖了从基础概念到高级技巧的多个层面,旨在确保...
Oracle Solaris 11.3 Configuring an Oracle Solaris 11.3 System as a Router or a Load Balancer-96
Oracle Solaris 11.2 Configuring an Oracle Solaris 11.2 System as a Router or a Load Balancer-85
ch6:configuring the interface ch7:configuring Routing ch8:configuring DNS Name server ch9:configuring Network server ch10:sendmail ch11:toubleshooting Tcp/ip Ch12:network security ch13:internet ...
Oracle Solaris 11.3 Configuring and Managing Network Components in Oracle Solaris 11.3-168
Oracle Solaris 11.2 Configuring and Administering Network Components in Oracle Solaris 11.2-156