- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: message 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
04-16-2002 10:28 AM
04-16-2002 10:28 AM
message kernel parameters
msgssz 40, msgmnb 921600, msgtql 125,000, msgseg 25,000 and msgmap to 25,000.
After this I expect the max. simoultaneous messages system wide will be 125,000, but I am not getting more than 25,000. Is there any limitation on msgtql related to msgmap? Our typical message size will be 8 bytes.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-16-2002 10:35 AM
04-16-2002 10:35 AM
Re: message kernel parameters
'msgtql' is limited by your system's memory. See this document for more information (on 11.0):
http://docs.hp.com/hpux/onlinedocs/os/KCparams.OverviewAll.html
See here, for 11i:
http://docs.hp.com/hpux/onlinedocs/TKP-90202/TKP-90202.html
Regards!
...JRF...
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-16-2002 10:44 AM
04-16-2002 10:44 AM
Re: message kernel parameters
Thanks for quick respose, With that assumption only the value to msgtql set to 125,000 (change is Successful). But my system is not allowing more than 25,000 even the kernel built with 125,000.
Thanks
VK
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-16-2002 10:54 AM
04-16-2002 10:54 AM
Re: message kernel parameters
msgssz*msgseg is the total message storage space. Set msgssz*msgseg equal to or grater than the maximum a single large message queue can hold. If many large queues are expected, that will need to be factored in.
The msgssz tunable specifies the size, in bytes, of a "segment" of memmory space reserved for storing IPC messages. Space for messages is acquired in segment-sized increments as required to contain the message. Some space may be unused and inaccessible in the last segment acquired while the message remains stored. The potential for fragmentation should be considered.
The msgtql tunable specifies the maximum total system-wide individual messages across all message queues. Every message has a header to specify message type and location and the total number of headers is limited by msgtql. Headers are stored in shared swappable memory. Therefore there is some impact on memory usage, though minimal, resulting from the value of this tunable.
If msgtql is set high as a result of expecting large numbers of small messages, the impact of all other System V message tunables should be considered.
msgmap - number of entries in the System V IPC message space resource map
--------------------------------------------------------------------------------
VALUES
Failsafe
(2+msgtql)
Default
(2+msgtql)
Allowed values
Minimum: 3
Maximum: msgtql+2 or msgtql+2, whichever is lower.
--------------------------------------------------------------------------------
DESCRIPTION
The msgmap tunable specifies the size of the message space resource map that tracks the free space in shared IPC message space. Each resource map entry is an offset-space pair which points to the offset and size (bytes) of each contiguous series of unused message space "segments".
Message queues are implemented as linked lists in shared memory. Each message consists of one or more contiguous segments of reserved memory space. As messages are added and removed, the reserved shared memory area can become fragmented. Free-space fragmentation generally increases as message size variation increases. Since the resource map requires an entry pair for each fragment of free space, excess fragmentation can cause the free-space map to completely fill. If the map is full when message space is acquired or released, the system issues the DANGER: mfree map overflow. warning message
So, as pointed out, you're probably encountering memory limits.
Increase msgmap to 2*msgtql
HTH,
Jeff
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-16-2002 10:55 AM
04-16-2002 10:55 AM
Re: message kernel parameters
Jeff
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-16-2002 11:37 AM
04-16-2002 11:37 AM
Re: message kernel parameters
msgmap has two limitations, msgmap must be less than or equal to (msgtql + 2),
msgmap must be less than or equal to (msgseg + 2)
So I can't increase msgmap more than msgseg+2 which is a lower value in my case. Also I cn't increase msgseg more than 32767. So this means the system can't have more than 32767 messages at a given time??
Thank you
VK
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-16-2002 12:07 PM
04-16-2002 12:07 PM
Re: message kernel parameters
From the 'mesg(5)' man pages for 11i (via the link I provided, above):
"All the System V IPC Message subsystem tunables are interrelated and should not be treated as independent variables. The set of eight tunables must be evaluated as a system to ensure they reflect the application requirements. The mesg tunables include msgmap, msgmax, msgmnb, msgmni, msgseg, msgssz, and msgtql."
Regards!
...JRF...
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-16-2002 12:08 PM
04-16-2002 12:08 PM
Re: message kernel parameters
Also note:
msgmnb specifies the maximum total size, in bytes, of all messages that can be queued simultaneously on a message queue
msgmnb must be greater than or equal to msgmax
msgmnb must be less than or equal to ( msgssz * msgseg)
So I would set msgseg to max value (32767) & msgmbn to ( msgssz * msgseg) - that's as much as you're going to get according to the "rules", now.
Although you may want to check out PHKL_26136 as this has superseded PHKL_21518
http://us-support.external.hp.com/wpsl/bin/doc.pl/screen=wpslDisplayPatch/sid=b84beeb01a3ecc9d1a?PACH_NAM=PHKL_26136&HW=s800&OS=11.00
Also it appears you may have needed PHKL_21684 AND PHKL_21778 as a three-patch-set when you pulled PHKL_21518
See the PHKL_26136 description section for 21518 in the above URL.
HTH,
Jeff
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-16-2002 12:45 PM
04-16-2002 12:45 PM
Re: message kernel parameters
I did the same thing, setting msgmnb as per msgseg and msgssz. But as msgtql is memory limited, it should allow system to have defined total messages (125,000) at given time. I am not clear about any other limitations msgtql has. I am verifying the patches.
Thank you
Vijay