Linux核心引數和Oracle相關引數調整

2021-09-11 19:50:18 字數 1865 閱讀 5478

------ shared memory segments --------

key shmid owner perms bytes nattch status

0x00000000 65537 oracle 640 4194304 27

0x00000000 98306 oracle 640 20971520 27

0x00000000 131075 oracle 640 20971520 27

0x00000000 163844 oracle 640 20971520 27

0x00000000 196613 oracle 640 20971520 27

0x00000000 229382 oracle 640 20971520 27

0x00000000 262151 oracle 640 20971520 27

0x00000000 294920 oracle 640 20971520 27

0xd2776b04 327689 oracle 640 20971520 27

------ semaphore arrays --------

key semid owner perms nsems

0xfafd7074 360449 oracle 640 104

------ message queues --------

key msqid owner perms used-bytes messages

因為kernel.shmmax設定過小,導致分配了多個共享記憶體段。

下邊改大一些:

[root@rac01 ~]# cat /etc/sysctl.conf | grep kernel.shmmax

kernel.shmmax = 2147483648

[root@rac01 ~]# sysctl -p

[root@rac01 ~]# su - oracle

[oracle@rac01 ~]$ sqlplus '/as sysdba'

sql*plus: release 10.2.0.1.0 - production on mon nov 16 05:50:00 2009

sql> startup force

oracle instance started.

再看一下:

[root@rac01 ~]# ipcs -sa

------ shared memory segments --------

key shmid owner perms bytes nattch status

0xd2776b04 360449 oracle 640 171966464 27

------ semaphore arrays --------

key semid owner perms nsems

0xfafd7074 491521 oracle 640 104

email: ***[email protected]

dba1 群:62697716(滿);   dba2 群:62697977(滿)   dba3 群:62697850(滿)  

dba 超級群:63306533(滿);  dba4 群: 83829929  dba5群: 142216823   

dba6 群:158654907  聊天 群:40132017   聊天2群:69087192

--**需要在備註說明oracle表空間和資料檔案的關係,否則拒絕申請

演算法導論 第三版英文版》_高畫質中文版.pdf

《深度學習入門:基於python的理論與實現》_高畫質中文版.pdf

《深入淺出資料分析》_高畫質中文版.pdf

《python程式設計:從入門到實踐》_高畫質中文版.pdf

《python科學計算》_高畫質中文版.pdf

Linux核心調整和核心引數詳解

syn cookie原理和linux核心中的實現 linux系統下的ddos攻擊防範 linux核心引數調整說明 通過調整linux tcp引數提高伺服器效能 深入討論proc,核心引數調優 調整核心網路引數提高linux系統安全 linux核心引數以及oracle微調 linux核心引數更改 與磁...

linux 核心引數

sysctl命令可以檢視和 動態地修改核心的執行引數,可用的核心引數在目錄 proc sys 中。sysctl命令對核心引數的修改僅在當前生效,重啟系統後引數丟失。如果希望引數永久生效可以修改配置檔案 etc sysctl.conf,修改後使用sysctl p生效。例子 net.ipv4.tcp s...

linux核心引數

net.ipv4.ip local port range 當核心版本小於3.2,決定的是客戶端的乙個 ip 可用的埠數量,即乙個 ip 最多只能建立 60k 多一點的連線 1025 65535 如果要突破這個限制需要客戶端 機器繫結多個 ip。當核心版本大於等於3.2,決定的是 socket 四元組...