<?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 MSG send failed, queue potentially full errorno=11 in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/msg-send-failed-queue-potentially-full-errorno-11/m-p/2965147#M119217</link>
    <description>The following messages are appearing on our server's console:&lt;BR /&gt;&lt;BR /&gt;1:  "Going to do a blocked sndmsg"&lt;BR /&gt;2: "MSG send failed, queue potentially full errorno=11"&lt;BR /&gt;&lt;BR /&gt;These messages keep appearing on our console (An RP5470 running on HP-UX 11.0).  The problem is that after some time, one of our telephony server application processes stops responding, and that affects our clients.&lt;BR /&gt;&lt;BR /&gt;Any ideas of what may be the source of the problem?  Thanks!</description>
    <pubDate>Sat, 03 May 2003 14:21:19 GMT</pubDate>
    <dc:creator>MAD_2</dc:creator>
    <dc:date>2003-05-03T14:21:19Z</dc:date>
    <item>
      <title>MSG send failed, queue potentially full errorno=11</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/msg-send-failed-queue-potentially-full-errorno-11/m-p/2965147#M119217</link>
      <description>The following messages are appearing on our server's console:&lt;BR /&gt;&lt;BR /&gt;1:  "Going to do a blocked sndmsg"&lt;BR /&gt;2: "MSG send failed, queue potentially full errorno=11"&lt;BR /&gt;&lt;BR /&gt;These messages keep appearing on our console (An RP5470 running on HP-UX 11.0).  The problem is that after some time, one of our telephony server application processes stops responding, and that affects our clients.&lt;BR /&gt;&lt;BR /&gt;Any ideas of what may be the source of the problem?  Thanks!</description>
      <pubDate>Sat, 03 May 2003 14:21:19 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/msg-send-failed-queue-potentially-full-errorno-11/m-p/2965147#M119217</guid>
      <dc:creator>MAD_2</dc:creator>
      <dc:date>2003-05-03T14:21:19Z</dc:date>
    </item>
    <item>
      <title>Re: MSG send failed, queue potentially full errorno=11</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/msg-send-failed-queue-potentially-full-errorno-11/m-p/2965148#M119218</link>
      <description>Sounds like your kernel parameters are way too low. errno=11 is:&lt;BR /&gt;&lt;BR /&gt;from /usr/include/sys/errno.h:&lt;BR /&gt;  #define       EAGAIN          11      /* No more processes            */&lt;BR /&gt;&lt;BR /&gt;from man 2 errno:&lt;BR /&gt;      [EAGAIN]       Resource temporarily unavailable.  This is likely a temporary condition, and later calls to the same routine may complete normally.&lt;BR /&gt;&lt;BR /&gt;Look at the end of /var/adm/syslog/syslog.log and you'll probably see a bunch of additional messages. Start by running:&lt;BR /&gt;&lt;BR /&gt;sar -v 1 &lt;BR /&gt;&lt;BR /&gt;Look at file-sz and proc-sz. The firsdt number is used and the second number is max. If either parameter is within 80% of the max, you need to regen the kernel to bump up nfile and nproc--double them to save time.&lt;BR /&gt;&lt;BR /&gt;If these values are OK, then your application authors need to provide a better error message since the text is unique to the application.</description>
      <pubDate>Sat, 03 May 2003 16:11:50 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/msg-send-failed-queue-potentially-full-errorno-11/m-p/2965148#M119218</guid>
      <dc:creator>Bill Hassell</dc:creator>
      <dc:date>2003-05-03T16:11:50Z</dc:date>
    </item>
    <item>
      <title>Re: MSG send failed, queue potentially full errorno=11</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/msg-send-failed-queue-potentially-full-errorno-11/m-p/2965149#M119219</link>
      <description>Thanks for your response Bill.  Will you please define the following:&lt;BR /&gt;&lt;BR /&gt;proc-sz &amp;amp; file-sz.  What do they represent?&lt;BR /&gt;&lt;BR /&gt;Below is the output from a "sar -v 3 3".  Since we have some application usage peak times, I need to watch what happens during those peak times, maybe then I will see those values reaching 80%.&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;14:38:20 text-sz  ov  proc-sz  ov  inod-sz  ov  file-sz  ov &lt;BR /&gt;14:38:23   N/A   N/A 192/8212  0  1444/20968 0  2325/18445 0&lt;BR /&gt;14:38:26   N/A   N/A 192/8212  0  1442/20968 0  2326/18445 0&lt;BR /&gt;14:38:29   N/A   N/A 192/8212  0  1438/20968 0  2326/18445 0</description>
      <pubDate>Sat, 03 May 2003 17:42:03 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/msg-send-failed-queue-potentially-full-errorno-11/m-p/2965149#M119219</guid>
      <dc:creator>MAD_2</dc:creator>
      <dc:date>2003-05-03T17:42:03Z</dc:date>
    </item>
    <item>
      <title>Re: MSG send failed, queue potentially full errorno=11</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/msg-send-failed-queue-potentially-full-errorno-11/m-p/2965150#M119220</link>
      <description>OK, here are even more details on these errors:&lt;BR /&gt;&lt;BR /&gt;The messages appearing are:&lt;BR /&gt;&lt;BR /&gt;1: "Going to do a blocked sndmsg" &lt;BR /&gt;2: "MSG send failed, queue 1603 potentially full errorno=11" &lt;BR /&gt;&lt;BR /&gt;1: "Going to do a blocked sndmsg" &lt;BR /&gt;2: "MSG send failed, queue 854 potentially full errorno=11" &lt;BR /&gt;&lt;BR /&gt;By using "ipcs" command I get:&lt;BR /&gt;&lt;BR /&gt;# ipcs | grep aba&lt;BR /&gt;q    1603 0xaba00025 --rw-rw-rw-      edge      edge&lt;BR /&gt;q     854 0xaba00021 -Rrw-rw-rw-      edge      edge&lt;BR /&gt;m    9480 0xaba00010 --rw-rw-rw-      edge      edge&lt;BR /&gt;&lt;BR /&gt;How can I adjust these parameters so that these queues are not filled so quickly?</description>
      <pubDate>Sat, 03 May 2003 18:14:45 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/msg-send-failed-queue-potentially-full-errorno-11/m-p/2965150#M119220</guid>
      <dc:creator>MAD_2</dc:creator>
      <dc:date>2003-05-03T18:14:45Z</dc:date>
    </item>
    <item>
      <title>Re: MSG send failed, queue potentially full errorno=11</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/msg-send-failed-queue-potentially-full-errorno-11/m-p/2965151#M119221</link>
      <description>And here is more information regarding largest-allowabable size for queue limits and current outstanding usage:&lt;BR /&gt;&lt;BR /&gt;IPC status from /dev/kmem as of Sat May  3 15:18:49 2003                 &lt;BR /&gt;T      ID     KEY        MODE        OWNER     GROUP CBYTES  QNUM QBYTES &lt;BR /&gt;Message Queues:                                                          &lt;BR /&gt;q       0 0x3c1c0249 -Rrw--w--w-      root      root      0     0  16384 &lt;BR /&gt;q       1 0x3e1c0249 --rw-r--r--      root      root      0     0    264 &lt;BR /&gt;q       2 0x6154000f --rw-rw----      edge      edge      0     0  16384 &lt;BR /&gt;q    1603 0xaba00025 --rw-rw-rw-      edge      edge  13948    25  16384 &lt;BR /&gt;q     854 0xaba00021 -Rrw-rw-rw-      edge      edge      0     0  16384</description>
      <pubDate>Sat, 03 May 2003 18:20:40 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/msg-send-failed-queue-potentially-full-errorno-11/m-p/2965151#M119221</guid>
      <dc:creator>MAD_2</dc:creator>
      <dc:date>2003-05-03T18:20:40Z</dc:date>
    </item>
    <item>
      <title>Re: MSG send failed, queue potentially full errorno=11</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/msg-send-failed-queue-potentially-full-errorno-11/m-p/2965152#M119222</link>
      <description>OK, I believe I found the source of the problem... It does appear to be kernel parameters (specifically msgmnb):&lt;BR /&gt;&lt;BR /&gt;                           Current      Pending             Associated    &lt;BR /&gt; Name                        Value        Value   Type      Module        &lt;BR /&gt;????????????????????????????????????????????????????????????????????????????????????????????????????????????&lt;BR /&gt;msgmnb                      16384        16384   Static    N/A          M&lt;BR /&gt;msgssz                          8            8   Static    N/A          M&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;This, compared to how it was set to an old system of ours, it appears to be too low.  On our previous production system it was set as follows:&lt;BR /&gt;&lt;BR /&gt;                          Current      Pending             Associated    &lt;BR /&gt; Name                        Value        Value   Type      Module        &lt;BR /&gt;????????????????????????????????????????????????????????????????????????????????????????????????????????????msgmnb                      65536        65536   Static    N/A          M&lt;BR /&gt;msgssz                        256          256   Static    N/A          M&lt;BR /&gt;&lt;BR /&gt;I will be changing the values whenever we have some down time.</description>
      <pubDate>Sat, 03 May 2003 18:42:26 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/msg-send-failed-queue-potentially-full-errorno-11/m-p/2965152#M119222</guid>
      <dc:creator>MAD_2</dc:creator>
      <dc:date>2003-05-03T18:42:26Z</dc:date>
    </item>
    <item>
      <title>Re: MSG send failed, queue potentially full errorno=11</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/msg-send-failed-queue-potentially-full-errorno-11/m-p/2965153#M119223</link>
      <description>The numbers shown in sar -v are just fine:&lt;BR /&gt;&lt;BR /&gt;nfile = 2325/18445&lt;BR /&gt;&lt;BR /&gt;which means 2325 open files out of a maximum of 18445...plenty of extra file handles&lt;BR /&gt;&lt;BR /&gt;nproc = 192/8212&lt;BR /&gt;&lt;BR /&gt;means 192 processes running out of a maximum of 8212, again plenty of room.&lt;BR /&gt;&lt;BR /&gt;The interprocess message queues appear to the the problem. Since the requirements to use message queues (or other interprocess methods) are very application dependent, the installation instructions should be very clear about kernel parameter requirements.</description>
      <pubDate>Sat, 03 May 2003 22:10:05 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/msg-send-failed-queue-potentially-full-errorno-11/m-p/2965153#M119223</guid>
      <dc:creator>Bill Hassell</dc:creator>
      <dc:date>2003-05-03T22:10:05Z</dc:date>
    </item>
    <item>
      <title>Re: MSG send failed, queue potentially full errorno=11</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/msg-send-failed-queue-potentially-full-errorno-11/m-p/2965154#M119224</link>
      <description>Another case where shared memory requirements need to be met.&lt;BR /&gt;&lt;BR /&gt;It can actually be frustrating, because a lot of application vendors don't bother providing instructions on what to do with shared memory resources on HP-UX.&lt;BR /&gt;&lt;BR /&gt;I'd go through your system, inventory what you have running and then look at the kernel parameters mentioned above, plus shmmax shmseg etc and be extra generous in that area.&lt;BR /&gt;&lt;BR /&gt;I'm running a bunch of systems with some very shared memory and ipc intensive applications. The application vendors commonly test HP-UX on clean systems without other products running. Many times I've run into issues where Oracle ate up resources needed by Software AG's adabas or the two products would not run at the same time and play nice together.&lt;BR /&gt;&lt;BR /&gt;By following one or the other application  vendors kernel recommendations, I got nowhere because I needed to add up the minimums from both manuals and go with more generous figures than that.  Throw in apache which uses shared memory/ipc resources and the Systems Administrator really starts to earn his paycheck.&lt;BR /&gt;&lt;BR /&gt;My rule, unscientific as it is, is be generous and then add 50% for growth.&lt;BR /&gt;&lt;BR /&gt;SEP</description>
      <pubDate>Sun, 04 May 2003 02:12:41 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/msg-send-failed-queue-potentially-full-errorno-11/m-p/2965154#M119224</guid>
      <dc:creator>Steven E. Protter</dc:creator>
      <dc:date>2003-05-04T02:12:41Z</dc:date>
    </item>
    <item>
      <title>Re: MSG send failed, queue potentially full errorno=11</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/msg-send-failed-queue-potentially-full-errorno-11/m-p/2965155#M119225</link>
      <description>Adam,&lt;BR /&gt;How did changing those parameters work for you.  I'm having the same problem.&lt;BR /&gt;&lt;BR /&gt;Thanks</description>
      <pubDate>Tue, 22 Jul 2003 15:53:22 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/msg-send-failed-queue-potentially-full-errorno-11/m-p/2965155#M119225</guid>
      <dc:creator>Terry Koob</dc:creator>
      <dc:date>2003-07-22T15:53:22Z</dc:date>
    </item>
  </channel>
</rss>

