- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: kernel params
Categories
Company
Local Language
Forums
Discussions
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Discussions
Discussions
Discussions
Forums
Forums
Discussions
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
Discussion Boards
Discussion Boards
Community
Resources
Forums
Blogs
- 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
тАО10-19-2003 09:38 PM
тАО10-19-2003 09:38 PM
I have to change the shared memory settings on a hp-ux 11i system because
of new oracle's settings.
I investigated the actual params with sysdef, kmtune and ipcs. What I found out has
(apparently) no sense.
Does someone have some explanation?
$ sysdef |grep shm
shmem 0 - 0-1 -
$ kmtune |grep shm
shmem 1 - 1
shmmax 0x040000000 Y 0x040000000
$ ipcs -b |more
Shared Memory:
m 0 0x411c05cc --rw-rw-rw- root root 348
m 1 0x4e0c0002 --rw-rw-rw- root root 61760
m 2 0x41200faf --rw-rw-rw- root root 8192
m 3 0x301c3e75 --rw-rw-rw- root root 1048576
m 3588 0x331442c9 --rw------- root root 1129624
m 5 0x6d141be7 --rw-rw-rw- root root 47120
m 485382 0x6e121f9c --rw-r----- ias dba 588443648
m 6151 0x22d7164c --rw-rw---- oracle oinstall 538673152
m 7176 0x6a5f7ead --rw------- ias dba 3264
m 2057 0xaf70b428 --rw-rw---- oracle oinstall 505118720
m 9738 0x00000000 D-rw------- ias dba 3948548
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО10-19-2003 09:45 PM
тАО10-19-2003 09:45 PM
Re: kernel params
printf "%d\n" 0x040000000
Will give value in decimals.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО10-19-2003 11:33 PM
тАО10-19-2003 11:33 PM
Re: kernel params
The output of kmtune is parameter_name, current value, static/dynamic (Y is dynamic), planned value.
use SAM to change the parameter,
sam -> kernel configuration ->configurable parameters-> select the shmmax and change the value.
Changing the shmmax needs the reboot of the machine, so plan accordingly.
Regards
Kiran
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО10-20-2003 05:42 AM
тАО10-20-2003 05:42 AM
Re: kernel params
shmem is 1 - so SysV Shared Memory is enabled. This certainly fits with the ipcs output -- since you wouldn't have any segments in use if you didn't have it enabled. :) [I have to confess that I never use sysdef... so I don't know what that output is. kmtune is returning the correct value... by the way, did you not include shmmni and shmseg, or were they not included in the kmtune output?]
shmmax is currently 0x40000000 or 1Gb. That's a reasonable setting...
And by the way (since this was mentioned by a prior poster), shmmax is dynamic on 11i (v1.0 and higher) -- so you can change it as much as you want without rebooting.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО10-20-2003 09:57 PM
тАО10-20-2003 09:57 PM
Re: kernel params
The other non-sense is that the setting is 1GB and accordingly to ipcs the allocated is 1,5 GB. If I'm not wrong the dynamicity is in the param setting, not in the phisycal aloocation of the memory (which shouldn't exceed the size definet in shmmax)
thanks
Paolo
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО10-20-2003 10:35 PM
тАО10-20-2003 10:35 PM
SolutionI don't think this is a real non-sense.
A - sysdef is an old tool which is not really reliable. There is a warning in the man page
B - shmmax defines the system-wide maximum allowable shared memory segment size in bytes. Any shmget() system call that requests a segment larger than this limit returns an error
and I can't see any segment larger than 1Go.
Regards.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО10-22-2003 02:11 AM
тАО10-22-2003 02:11 AM
Re: kernel params
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО10-22-2003 02:33 AM
тАО10-22-2003 02:33 AM