- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Setting Kernel Parameters
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
Forums
Discussions
Discussions
Discussions
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
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
08-06-2007 04:04 AM
08-06-2007 04:04 AM
Setting Kernel Parameters
I have an older HP C3600 Workstation.
I installed HP-UX 11.23 and did an patch inventory.
No I´m trying to set some kernel parameters.
I need to set msgseg=32767.
If I do so, HP-UX is not able to boot:
Very early in the boot process I receive the following message:
Can´t allocate message buffer
I searched the WEB, but was not able to find any useful info.
msgssz is set to 32767 and therewith msgssz * msgseg does not exceed the limit of 2^32-1
(manpage msgseg (5)).
Then I have to boot the former used kernel.
Is there anyone having an idea?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-06-2007 04:14 AM
08-06-2007 04:14 AM
Re: Setting Kernel Parameters
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-06-2007 04:58 AM
08-06-2007 04:58 AM
Re: Setting Kernel Parameters
A table of message segments is allocated in kernel memory at boot time. This memory is reserved whether or not it is used.
The memory requirement is the product the msgssz and msgseg tunables. Use care when setting these two tunables, as they can have a profound effect on memory utilization, due to the multiplicative effect.
(end quote)
So your setting means that the kernel needs at least 778773289 bytes (and may need more depending on page size rounding, padding, etc.). Since that's 742.696Mb, you're going to be very lucky to boot on a 1Gb system. Anything less I'd expect this failure... and it all depends on other kernel memory needs.
My recommendation would be:
Take a look at the output from your "good" kernel. There will be a set in the message buffer during boot that details the System, Kernel and User class information. The User Class will reflect the amount of memory consumed during boot by the kernel -- so the System Class physical memory minus the User Class physical memory tells you how much you need to boot that kernel [i.e. the kernel before your changes].
Take that amount, and subtract how much you'd like to devote to the tunables. I'd highly, highly recommend that you leave memory for running actual programs [because what's the point of booting a kernel with these tunable settings if you can't actually use it!]. In other words, determine how much of that memory you're willing to lose to increase your message tunables. Once you get that figure, determine the balance between the msgsiz and msgseg and set the tunables accordingly.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-06-2007 05:47 AM
08-06-2007 05:47 AM
Re: Setting Kernel Parameters
One of the things I do because Bill Hassell does it is remove most if not all formula's from my kernel.
Many of the formula's simply do not meet the real world test of having a relationship with reality.
So don't worry about formulas, take them out.
I was wondering if 11.23 is certified to run on a C3600 workstation. If not try 11.11.
HP is pretty serious about what the OS will run on and what it won't run on. The two OS's currently have the same end of life date.
All things being equal, I'd use 11.23 but the hardware may be the problem.
http://docs.hp.com to check OS certification.
SEP
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
08-06-2007 06:22 AM
08-06-2007 06:22 AM
Re: Setting Kernel Parameters
> run on a C3600 workstation. [...]
According to the "HP-UX 11i v2 | Installation
and Upgrade Guide | June 2007":
NOTE
HP-UX 11i v2 is not supported on PA-RISC
Workstations. HP recommends that PA-RISC
Workstation customers use HP-UX 11i v1.
[...]
The v2 installation DVD did boot on my C3700,
while the v3 DVD did not. I installed v1,
but it wouldn't amaze me if v2 would work
(although not supported).
Coming from a VMS environment, where the
latest version runs on Alpha hardware much
older than these workstations, I find the
speed with which HP-UX abandons hardware to
be amazing and disappointing.