株のポジショントレード(数週間~数ヵ月)、ブックビルディングの記録。でしたが、今はoracleの備忘録。
×
[PR]上記の広告は3ヶ月以上新規記事投稿のないブログに表示されています。新しい記事を書く事で広告が消えます。
【カーネルパラメータ:Clusterwareインストール要件】
↓まず、修正前の値を確認。必要なものだけ値を変更する。
[root@db02eth0 ~]# /sbin/sysctl -a | grep sem
kernel.sem = 250 32000 32 128
[root@db02eth0 ~]# /sbin/sysctl -a | grep shm
vm.hugetlb_shm_group = 0
kernel.shmmni = 4096
kernel.shmall = 268435456
kernel.shmmax = 4294967295
[root@db02eth0 ~]# /sbin/sysctl -a | grep file-max
fs.file-max = 780841
[root@db02eth0 ~]# /sbin/sysctl -a | grep aio-max
fs.aio-max-nr = 65536
[root@db02eth0 ~]#
[root@db02eth0 ~]# /sbin/sysctl -a | grep ip_local_port_range
net.ipv4.ip_local_port_range = 32768 61000
[root@db02eth0 ~]# /sbin/sysctl -a | grep net.core.rmem
net.core.rmem_default = 110592
net.core.rmem_max = 131071
[root@db02eth0 ~]# /sbin/sysctl -a | grep net.core.wmem
net.core.wmem_default = 110592
net.core.wmem_max = 131071
[root@db02eth0 ~]#
[root@db02eth0 ~]#
[root@db02eth0 ~]# vi /etc/sysctl.conf
[root@db02eth0 ~]# cat /etc/sysctl.conf
# Kernel sysctl configuration file for Red Hat Linux
#
# For binary values, 0 is disabled, 1 is enabled. See sysctl(8) and
# sysctl.conf(5) for more details.
# Controls IP packet forwarding
net.ipv4.ip_forward = 0
# Controls source route verification
net.ipv4.conf.default.rp_filter = 1
# Do not accept source routing
net.ipv4.conf.default.accept_source_route = 0
# Controls the System Request debugging functionality of the kernel
kernel.sysrq = 0
# Controls whether core dumps will append the PID to the core filename
# Useful for debugging multi-threaded applications
kernel.core_uses_pid = 1
# Controls the use of TCP syncookies
net.ipv4.tcp_syncookies = 1
# Controls the maximum size of a message, in bytes
kernel.msgmnb = 65536
# Controls the default maxmimum size of a mesage queue
kernel.msgmax = 65536
# Controls the maximum shared segment size, in bytes
kernel.shmmax = 4294967295
# Controls the maximum number of shared memory segments, in pages
kernel.shmall = 268435456
#for Oracle11gR1 RAC
#kernel.shmall = 2097152
#kernel.shmmax = 2147483648
kernel.shmmni = 4096
kernel.sem = 250 32000 100 128
#fs.file-max = 65536
fs.aio-max-nr=1048576
net.ipv4.ip_local_port_range = 1024 65000
net.core.rmem_default = 262144
net.core.rmem_max = 4194304
net.core.wmem_default = 262144
net.core.wmem_max = 4194304
[root@db02eth0 ~]#
↑"#for Oracle11gR1 RAC"以下が付け加えた行。
↓まず、修正前の値を確認。必要なものだけ値を変更する。
[root@db02eth0 ~]# /sbin/sysctl -a | grep sem
kernel.sem = 250 32000 32 128
[root@db02eth0 ~]# /sbin/sysctl -a | grep shm
vm.hugetlb_shm_group = 0
kernel.shmmni = 4096
kernel.shmall = 268435456
kernel.shmmax = 4294967295
[root@db02eth0 ~]# /sbin/sysctl -a | grep file-max
fs.file-max = 780841
[root@db02eth0 ~]# /sbin/sysctl -a | grep aio-max
fs.aio-max-nr = 65536
[root@db02eth0 ~]#
[root@db02eth0 ~]# /sbin/sysctl -a | grep ip_local_port_range
net.ipv4.ip_local_port_range = 32768 61000
[root@db02eth0 ~]# /sbin/sysctl -a | grep net.core.rmem
net.core.rmem_default = 110592
net.core.rmem_max = 131071
[root@db02eth0 ~]# /sbin/sysctl -a | grep net.core.wmem
net.core.wmem_default = 110592
net.core.wmem_max = 131071
[root@db02eth0 ~]#
[root@db02eth0 ~]#
[root@db02eth0 ~]# vi /etc/sysctl.conf
[root@db02eth0 ~]# cat /etc/sysctl.conf
# Kernel sysctl configuration file for Red Hat Linux
#
# For binary values, 0 is disabled, 1 is enabled. See sysctl(8) and
# sysctl.conf(5) for more details.
# Controls IP packet forwarding
net.ipv4.ip_forward = 0
# Controls source route verification
net.ipv4.conf.default.rp_filter = 1
# Do not accept source routing
net.ipv4.conf.default.accept_source_route = 0
# Controls the System Request debugging functionality of the kernel
kernel.sysrq = 0
# Controls whether core dumps will append the PID to the core filename
# Useful for debugging multi-threaded applications
kernel.core_uses_pid = 1
# Controls the use of TCP syncookies
net.ipv4.tcp_syncookies = 1
# Controls the maximum size of a message, in bytes
kernel.msgmnb = 65536
# Controls the default maxmimum size of a mesage queue
kernel.msgmax = 65536
# Controls the maximum shared segment size, in bytes
kernel.shmmax = 4294967295
# Controls the maximum number of shared memory segments, in pages
kernel.shmall = 268435456
#for Oracle11gR1 RAC
#kernel.shmall = 2097152
#kernel.shmmax = 2147483648
kernel.shmmni = 4096
kernel.sem = 250 32000 100 128
#fs.file-max = 65536
fs.aio-max-nr=1048576
net.ipv4.ip_local_port_range = 1024 65000
net.core.rmem_default = 262144
net.core.rmem_max = 4194304
net.core.wmem_default = 262144
net.core.wmem_max = 4194304
[root@db02eth0 ~]#
↑"#for Oracle11gR1 RAC"以下が付け加えた行。
PR

カレンダー
05 | 2025/06 | 07 |
S | M | T | W | T | F | S |
---|---|---|---|---|---|---|
1 | 2 | 3 | 4 | 5 | 6 | 7 |
8 | 9 | 10 | 11 | 12 | 13 | 14 |
15 | 16 | 17 | 18 | 19 | 20 | 21 |
22 | 23 | 24 | 25 | 26 | 27 | 28 |
29 | 30 |
最新コメント
最新記事
(02/26)
(02/26)
(02/16)
(02/14)
(02/11)
最新トラックバック
プロフィール
HN:
fool
性別:
男性
職業:
会社員
自己紹介:
・国内現物&信用取引の株式のみ。
----------
・株を始めた日:2001/03/16
・〜2004年:収支が±20万の間を動いただけ。
・2005年1月より本を購入する等して再スタート。
・2005年5月よりブックビルディングに参加。
・2009年夏、トータルでマイナスになり、休止。
・過程に満足せず、結果を出すことが目標。
----------
・株を始めた日:2001/03/16
・〜2004年:収支が±20万の間を動いただけ。
・2005年1月より本を購入する等して再スタート。
・2005年5月よりブックビルディングに参加。
・2009年夏、トータルでマイナスになり、休止。
・過程に満足せず、結果を出すことが目標。
ブログ内検索