<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: message kernel parameters in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/message-kernel-parameters/m-p/2704645#M58933</link>
    <description>Hi, ..JRF..&lt;BR /&gt;&lt;BR /&gt;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.&lt;BR /&gt;&lt;BR /&gt;Thanks&lt;BR /&gt;VK</description>
    <pubDate>Tue, 16 Apr 2002 17:44:41 GMT</pubDate>
    <dc:creator>Vijayakrishna</dc:creator>
    <dc:date>2002-04-16T17:44:41Z</dc:date>
    <item>
      <title>message kernel parameters</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/message-kernel-parameters/m-p/2704643#M58931</link>
      <description>After installing the patch PHKL_21518, which enables to set msgmnb to 64MB (with out patch 64K), the new kernel parameters set are&lt;BR /&gt;msgssz 40, msgmnb 921600, msgtql 125,000, msgseg 25,000 and msgmap to 25,000. &lt;BR /&gt;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.</description>
      <pubDate>Tue, 16 Apr 2002 17:28:39 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/message-kernel-parameters/m-p/2704643#M58931</guid>
      <dc:creator>Vijayakrishna</dc:creator>
      <dc:date>2002-04-16T17:28:39Z</dc:date>
    </item>
    <item>
      <title>Re: message kernel parameters</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/message-kernel-parameters/m-p/2704644#M58932</link>
      <description>Hi:&lt;BR /&gt;&lt;BR /&gt;'msgtql' is limited by your system's memory.  See this document for more information (on 11.0):&lt;BR /&gt;&lt;BR /&gt;&lt;A href="http://docs.hp.com/hpux/onlinedocs/os/KCparams.OverviewAll.html" target="_blank"&gt;http://docs.hp.com/hpux/onlinedocs/os/KCparams.OverviewAll.html&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;See here, for 11i:&lt;BR /&gt;&lt;BR /&gt;&lt;A href="http://docs.hp.com/hpux/onlinedocs/TKP-90202/TKP-90202.html" target="_blank"&gt;http://docs.hp.com/hpux/onlinedocs/TKP-90202/TKP-90202.html&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;Regards!&lt;BR /&gt;&lt;BR /&gt;...JRF...</description>
      <pubDate>Tue, 16 Apr 2002 17:35:20 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/message-kernel-parameters/m-p/2704644#M58932</guid>
      <dc:creator>James R. Ferguson</dc:creator>
      <dc:date>2002-04-16T17:35:20Z</dc:date>
    </item>
    <item>
      <title>Re: message kernel parameters</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/message-kernel-parameters/m-p/2704645#M58933</link>
      <description>Hi, ..JRF..&lt;BR /&gt;&lt;BR /&gt;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.&lt;BR /&gt;&lt;BR /&gt;Thanks&lt;BR /&gt;VK</description>
      <pubDate>Tue, 16 Apr 2002 17:44:41 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/message-kernel-parameters/m-p/2704645#M58933</guid>
      <dc:creator>Vijayakrishna</dc:creator>
      <dc:date>2002-04-16T17:44:41Z</dc:date>
    </item>
    <item>
      <title>Re: message kernel parameters</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/message-kernel-parameters/m-p/2704646#M58934</link>
      <description>Vijay,&lt;BR /&gt;&lt;BR /&gt;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.&lt;BR /&gt;&lt;BR /&gt;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.&lt;BR /&gt;&lt;BR /&gt;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.&lt;BR /&gt;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.&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;msgmap - number of entries in the System V IPC message space resource map&lt;BR /&gt;--------------------------------------------------------------------------------&lt;BR /&gt; VALUES &lt;BR /&gt;Failsafe &lt;BR /&gt;(2+msgtql) &lt;BR /&gt;Default &lt;BR /&gt;(2+msgtql) &lt;BR /&gt;Allowed values &lt;BR /&gt;Minimum: 3&lt;BR /&gt;Maximum: msgtql+2 or msgtql+2, whichever is lower.&lt;BR /&gt;--------------------------------------------------------------------------------&lt;BR /&gt; DESCRIPTION &lt;BR /&gt;&lt;BR /&gt;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".&lt;BR /&gt;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&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;So, as pointed out, you're probably encountering memory limits.&lt;BR /&gt;Increase msgmap to 2*msgtql&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;HTH,&lt;BR /&gt;Jeff&lt;BR /&gt;</description>
      <pubDate>Tue, 16 Apr 2002 17:54:32 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/message-kernel-parameters/m-p/2704646#M58934</guid>
      <dc:creator>Jeff Schussele</dc:creator>
      <dc:date>2002-04-16T17:54:32Z</dc:date>
    </item>
    <item>
      <title>Re: message kernel parameters</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/message-kernel-parameters/m-p/2704647#M58935</link>
      <description>Sorry - that's 2 + msgtql.&lt;BR /&gt;&lt;BR /&gt;Jeff</description>
      <pubDate>Tue, 16 Apr 2002 17:55:38 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/message-kernel-parameters/m-p/2704647#M58935</guid>
      <dc:creator>Jeff Schussele</dc:creator>
      <dc:date>2002-04-16T17:55:38Z</dc:date>
    </item>
    <item>
      <title>Re: message kernel parameters</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/message-kernel-parameters/m-p/2704648#M58936</link>
      <description>Hi Jeff,&lt;BR /&gt;&lt;BR /&gt;msgmap has two limitations, msgmap must be less than or equal to (msgtql + 2), &lt;BR /&gt;msgmap must be less than or equal to (msgseg + 2) &lt;BR /&gt;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??&lt;BR /&gt;&lt;BR /&gt;Thank you&lt;BR /&gt;&lt;BR /&gt;VK&lt;BR /&gt;</description>
      <pubDate>Tue, 16 Apr 2002 18:37:37 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/message-kernel-parameters/m-p/2704648#M58936</guid>
      <dc:creator>Vijayakrishna</dc:creator>
      <dc:date>2002-04-16T18:37:37Z</dc:date>
    </item>
    <item>
      <title>Re: message kernel parameters</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/message-kernel-parameters/m-p/2704649#M58937</link>
      <description>Hi VK:&lt;BR /&gt;&lt;BR /&gt;From the 'mesg(5)' man pages for 11i (via the link I provided, above):&lt;BR /&gt;&lt;BR /&gt;"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."&lt;BR /&gt;&lt;BR /&gt;Regards!&lt;BR /&gt;&lt;BR /&gt;...JRF...</description>
      <pubDate>Tue, 16 Apr 2002 19:07:33 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/message-kernel-parameters/m-p/2704649#M58937</guid>
      <dc:creator>James R. Ferguson</dc:creator>
      <dc:date>2002-04-16T19:07:33Z</dc:date>
    </item>
    <item>
      <title>Re: message kernel parameters</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/message-kernel-parameters/m-p/2704650#M58938</link>
      <description>Sure appears that way.&lt;BR /&gt;Also note:&lt;BR /&gt;&lt;BR /&gt;msgmnb specifies the maximum total size, in bytes, of all messages that can be queued simultaneously on a message queue&lt;BR /&gt;msgmnb must be greater than or equal to msgmax&lt;BR /&gt;&lt;BR /&gt;msgmnb must be less than or equal to ( msgssz * msgseg)&lt;BR /&gt;&lt;BR /&gt;So I would set msgseg to max value (32767) &amp;amp; msgmbn to ( msgssz * msgseg) - that's as much as you're going to get according to the "rules", now.&lt;BR /&gt;&lt;BR /&gt;Although you may want to check out PHKL_26136 as this has superseded PHKL_21518&lt;BR /&gt;&lt;BR /&gt;&lt;A href="http://us-support.external.hp.com/wpsl/bin/doc.pl/screen=wpslDisplayPatch/sid=b84beeb01a3ecc9d1a?PACH_NAM=PHKL_26136&amp;amp;HW=s800&amp;amp;OS=11.00" target="_blank"&gt;http://us-support.external.hp.com/wpsl/bin/doc.pl/screen=wpslDisplayPatch/sid=b84beeb01a3ecc9d1a?PACH_NAM=PHKL_26136&amp;amp;HW=s800&amp;amp;OS=11.00&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;Also it appears you may have needed PHKL_21684  AND  PHKL_21778  as a three-patch-set when you pulled PHKL_21518&lt;BR /&gt;&lt;BR /&gt;See the PHKL_26136 description section for 21518 in the above URL.&lt;BR /&gt;&lt;BR /&gt;HTH,&lt;BR /&gt;Jeff&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Tue, 16 Apr 2002 19:08:43 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/message-kernel-parameters/m-p/2704650#M58938</guid>
      <dc:creator>Jeff Schussele</dc:creator>
      <dc:date>2002-04-16T19:08:43Z</dc:date>
    </item>
    <item>
      <title>Re: message kernel parameters</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/message-kernel-parameters/m-p/2704651#M58939</link>
      <description>Hi Jeff,&lt;BR /&gt;&lt;BR /&gt;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.&lt;BR /&gt;&lt;BR /&gt;Thank you&lt;BR /&gt;&lt;BR /&gt;Vijay</description>
      <pubDate>Tue, 16 Apr 2002 19:45:07 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/message-kernel-parameters/m-p/2704651#M58939</guid>
      <dc:creator>Vijayakrishna</dc:creator>
      <dc:date>2002-04-16T19:45:07Z</dc:date>
    </item>
  </channel>
</rss>

