HPE GreenLake Administration
- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - Linux
- >
- Re: Redhat AS3 U5, kernal parameters setup.
Operating System - Linux
1825931
Members
3120
Online
109689
Solutions
Forums
Categories
Company
Local Language
back
Forums
Discussions
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Forums
Discussions
Discussions
Discussions
Forums
Discussions
back
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
- BladeSystem Infrastructure and Application Solutions
- Appliance Servers
- Alpha Servers
- BackOffice Products
- Internet Products
- HPE 9000 and HPE e3000 Servers
- Networking
- Netservers
- Secure OS Software for Linux
- Server Management (Insight Manager 7)
- Windows Server 2003
- Operating System - Tru64 Unix
- ProLiant Deployment and Provisioning
- Linux-Based Community / Regional
- Microsoft System Center Integration
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Blogs
Information
Community
Resources
Community Language
Language
Forums
Blogs
Topic Options
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-11-2006 11:04 AM
05-11-2006 11:04 AM
Redhat AS3 U5, kernal parameters setup.
Hi,
For installing a third party replication software i need to put the following kernal parameters. I new to Linux but an HP UX admin for 11 years.
I do know that i need to update this on /etc/sysctl.conf file.
----
Current /etc/sysctl.conf.
# Disables packet forwarding
net.ipv4.ip_forward = 0
# Enables source route verification
net.ipv4.conf.default.rp_filter = 1
# Disables the magic-sysrq key
kernel.sysrq = 0
kernel.sem=1010 32000 100 128
kernel.shmmax=4082577408
kernel.shmmni=4096
kernel.shmall=2097152
fs.file-max=409200
net.core.rmem_default=262144
net.core.rmem_max=262144
net.core.wmem_default=262144
net.core.wmem_max=262144
net.ipv4.ip_local_port_range = 1024 65000
---------------------
I need to set these for the special software....
semmni requires 70
semmns requires 255
semmnu requires 255
semmsl requires min 128
semopm requires 64
semume requires 255
shmmax requires 60MB
shmmin requires 1mb
shmmni requires 100
shmseg requires 26
Thanks,
Ajith
For installing a third party replication software i need to put the following kernal parameters. I new to Linux but an HP UX admin for 11 years.
I do know that i need to update this on /etc/sysctl.conf file.
----
Current /etc/sysctl.conf.
# Disables packet forwarding
net.ipv4.ip_forward = 0
# Enables source route verification
net.ipv4.conf.default.rp_filter = 1
# Disables the magic-sysrq key
kernel.sysrq = 0
kernel.sem=1010 32000 100 128
kernel.shmmax=4082577408
kernel.shmmni=4096
kernel.shmall=2097152
fs.file-max=409200
net.core.rmem_default=262144
net.core.rmem_max=262144
net.core.wmem_default=262144
net.core.wmem_max=262144
net.ipv4.ip_local_port_range = 1024 65000
---------------------
I need to set these for the special software....
semmni requires 70
semmns requires 255
semmnu requires 255
semmsl requires min 128
semopm requires 64
semume requires 255
shmmax requires 60MB
shmmin requires 1mb
shmmni requires 100
shmseg requires 26
Thanks,
Ajith
3 REPLIES 3
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-11-2006 11:30 AM
05-11-2006 11:30 AM
Re: Redhat AS3 U5, kernal parameters setup.
Shalom,
Most of this stuff is in the /proc/sys folder
Example
[root@bersheva kernel]# more shmmni
4096
[root@bersheva kernel]# pwd
/proc/sys/kernel
[root@bersheva kernel]#
to change a parameter, normally use echo and redirect the output to that parameter.
echo 5030 > /proc/sys/kernel/shmmni
Check the values prior to overwriting. They may be high enough already.
SEP
Most of this stuff is in the /proc/sys folder
Example
[root@bersheva kernel]# more shmmni
4096
[root@bersheva kernel]# pwd
/proc/sys/kernel
[root@bersheva kernel]#
to change a parameter, normally use echo and redirect the output to that parameter.
echo 5030 > /proc/sys/kernel/shmmni
Check the values prior to overwriting. They may be high enough already.
SEP
Steven E Protter
Owner of ISN Corporation
http://isnamerica.com
http://hpuxconsulting.com
Sponsor: http://hpux.ws
Twitter: http://twitter.com/hpuxlinux
Founder http://newdatacloud.com
Owner of ISN Corporation
http://isnamerica.com
http://hpuxconsulting.com
Sponsor: http://hpux.ws
Twitter: http://twitter.com/hpuxlinux
Founder http://newdatacloud.com
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-11-2006 11:46 AM
05-11-2006 11:46 AM
Re: Redhat AS3 U5, kernal parameters setup.
Thanks for your reply.
i have checked the same and was unable to get some of them on the directory..
eg:
[root@linux1 kernel]# pwd
/proc/sys/kernel
[root@linux1 kernel]# more semume
semume: No such file or directory
[root@linux1 kernel]# more semmnu
semmnu: No such file or directory
[root@linux1 kernel]# more semmsl
semmsl: No such file or directory
[root@linux1 kernel]# more shmseg
shmseg: No such file or directory
[root@linux1 kernel]# more semopm
semopm: No such file or directory
[root@linux1 kernel]#
Any idea ......
i have checked the same and was unable to get some of them on the directory..
eg:
[root@linux1 kernel]# pwd
/proc/sys/kernel
[root@linux1 kernel]# more semume
semume: No such file or directory
[root@linux1 kernel]# more semmnu
semmnu: No such file or directory
[root@linux1 kernel]# more semmsl
semmsl: No such file or directory
[root@linux1 kernel]# more shmseg
shmseg: No such file or directory
[root@linux1 kernel]# more semopm
semopm: No such file or directory
[root@linux1 kernel]#
Any idea ......
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-11-2006 04:46 PM
05-11-2006 04:46 PM
Re: Redhat AS3 U5, kernal parameters setup.
Most of those names look like HP-UX semephore and shared memory names. Most of them don't exist on a Unix platform.
You've already found that 'shmmax' and 'shmmni' are there, but the rest are tied up in other places.
Taken from http://www.akadia.com/services/ora_linux_install_10g.html :
Needed Check with
-----------------------------------------------------------------------------
shmmax = 2147483648 cat /proc/sys/kernel/shmmax
shmmni = 4096 cat /proc/sys/kernel/shmmni
shmall = 2097152 cat /proc/sys/kernel/shmall
shmmin = 1 ipcs -lm |grep "min seg size"
semmsl = 250 cat /proc/sys/kernel/sem | awk '{print $1}'
semmns = 32000 cat /proc/sys/kernel/sem | awk '{print $2}'
semopm = 100 cat /proc/sys/kernel/sem | awk '{print $3}'
semmni = 128 cat /proc/sys/kernel/sem | awk '{print $4}'
file-max = 65536 cat /proc/sys/fs/file-max
ip_local_port_range = 1024 65000 cat /proc/sys/net/ipv4/ip_local_port_range
To set these using '/etc/sysctl.conf', add something similar to:
kernel.shmall = 2097152
kernel.shmmax = 2147483648
kernel.shmmni = 4096
kernel.sem = 250 32000 100 128
fs.file-max = 65536
net.ipv4.ip_local_port_range = 1024 65000
Tweak the values as required.
You've already found that 'shmmax' and 'shmmni' are there, but the rest are tied up in other places.
Taken from http://www.akadia.com/services/ora_linux_install_10g.html :
Needed Check with
-----------------------------------------------------------------------------
shmmax = 2147483648 cat /proc/sys/kernel/shmmax
shmmni = 4096 cat /proc/sys/kernel/shmmni
shmall = 2097152 cat /proc/sys/kernel/shmall
shmmin = 1 ipcs -lm |grep "min seg size"
semmsl = 250 cat /proc/sys/kernel/sem | awk '{print $1}'
semmns = 32000 cat /proc/sys/kernel/sem | awk '{print $2}'
semopm = 100 cat /proc/sys/kernel/sem | awk '{print $3}'
semmni = 128 cat /proc/sys/kernel/sem | awk '{print $4}'
file-max = 65536 cat /proc/sys/fs/file-max
ip_local_port_range = 1024 65000 cat /proc/sys/net/ipv4/ip_local_port_range
To set these using '/etc/sysctl.conf', add something similar to:
kernel.shmall = 2097152
kernel.shmmax = 2147483648
kernel.shmmni = 4096
kernel.sem = 250 32000 100 128
fs.file-max = 65536
net.ipv4.ip_local_port_range = 1024 65000
Tweak the values as required.
One long-haired git at your service...
The opinions expressed above are the personal opinions of the authors, not of Hewlett Packard Enterprise. By using this site, you accept the Terms of Use and Rules of Participation.
Company
Support
Events and news
Customer resources
© Copyright 2025 Hewlett Packard Enterprise Development LP