<?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: ENOMEM returned while executing pthread_attr_init on HP11i in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/enomem-returned-while-executing-pthread-attr-init-on-hp11i/m-p/3077384#M810141</link>
    <description>Ulimit is a necessary but not sufficient test. You are probably hitting the "hard" limits imposed by the kernel. Check the values of maxdsiz (and if this is 64-bit code) maxdsiz_64bit. I also note that you have left the maxssiz at 8MB and this is typically a little small. I would increase maxssiz to 32MB or so -- which should be plenty. You will need to increase these values and then gen a new kernel.&lt;BR /&gt;</description>
    <pubDate>Wed, 24 Sep 2003 09:44:09 GMT</pubDate>
    <dc:creator>A. Clay Stephenson</dc:creator>
    <dc:date>2003-09-24T09:44:09Z</dc:date>
    <item>
      <title>ENOMEM returned while executing pthread_attr_init on HP11i</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/enomem-returned-while-executing-pthread-attr-init-on-hp11i/m-p/3077381#M810138</link>
      <description>Hi&lt;BR /&gt;I have compiled ACE 5.2 on HP 11i and my application uses it to spawn threads. While executing the call pthread_attr_init i get a return code of 12. sys/types/errno.h has the following #define for error code 12.&lt;BR /&gt;#define ENOMEM  12 &lt;BR /&gt;&lt;BR /&gt;This indicates that there is not enough memory left on the device whereas my ulimit shows the following&lt;BR /&gt;[69] % ulimit -a&lt;BR /&gt;time(seconds)        unlimited&lt;BR /&gt;file(blocks)         unlimited&lt;BR /&gt;data(kbytes)         267324&lt;BR /&gt;stack(kbytes)        8192&lt;BR /&gt;memory(kbytes)       unlimited&lt;BR /&gt;coredump(blocks)     4194303&lt;BR /&gt;nofiles(descriptors) 2048&lt;BR /&gt;&lt;BR /&gt;i also tried on some other machine with the limits as given by the following&lt;BR /&gt;[101] % ulimit -a&lt;BR /&gt;time(seconds)        unlimited&lt;BR /&gt;file(blocks)         unlimited&lt;BR /&gt;data(kbytes)         1048576&lt;BR /&gt;stack(kbytes)        8192&lt;BR /&gt;memory(kbytes)       unlimited&lt;BR /&gt;coredump(blocks)     4194303&lt;BR /&gt;nofiles(descriptors) 60&lt;BR /&gt;[102] %&lt;BR /&gt;&lt;BR /&gt;but on this also i get the same error code. Is there any other parameter which i need to set ?&lt;BR /&gt;&lt;BR /&gt;Does anyone have an idea about the various conditions that can give rise to this error ?&lt;BR /&gt;&lt;BR /&gt;Also maxdsize on mysystem has a value 66831&lt;BR /&gt;Thanks&lt;BR /&gt;Sonali&lt;BR /&gt;</description>
      <pubDate>Wed, 24 Sep 2003 09:25:16 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/enomem-returned-while-executing-pthread-attr-init-on-hp11i/m-p/3077381#M810138</guid>
      <dc:creator>Suresh Ollala</dc:creator>
      <dc:date>2003-09-24T09:25:16Z</dc:date>
    </item>
    <item>
      <title>Re: ENOMEM returned while executing pthread_attr_init on HP11i</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/enomem-returned-while-executing-pthread-attr-init-on-hp11i/m-p/3077382#M810139</link>
      <description>You could be out of swap.</description>
      <pubDate>Wed, 24 Sep 2003 09:36:20 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/enomem-returned-while-executing-pthread-attr-init-on-hp11i/m-p/3077382#M810139</guid>
      <dc:creator>Mark Grant</dc:creator>
      <dc:date>2003-09-24T09:36:20Z</dc:date>
    </item>
    <item>
      <title>Re: ENOMEM returned while executing pthread_attr_init on HP11i</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/enomem-returned-while-executing-pthread-attr-init-on-hp11i/m-p/3077383#M810140</link>
      <description>Sonali,&lt;BR /&gt;  You may be out of swap space.  Check with swapinfo -mt.  Check the swapmem_on kernel param.&lt;BR /&gt;HTH,&lt;BR /&gt;Umapathy&lt;BR /&gt;</description>
      <pubDate>Wed, 24 Sep 2003 09:43:54 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/enomem-returned-while-executing-pthread-attr-init-on-hp11i/m-p/3077383#M810140</guid>
      <dc:creator>Umapathy S</dc:creator>
      <dc:date>2003-09-24T09:43:54Z</dc:date>
    </item>
    <item>
      <title>Re: ENOMEM returned while executing pthread_attr_init on HP11i</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/enomem-returned-while-executing-pthread-attr-init-on-hp11i/m-p/3077384#M810141</link>
      <description>Ulimit is a necessary but not sufficient test. You are probably hitting the "hard" limits imposed by the kernel. Check the values of maxdsiz (and if this is 64-bit code) maxdsiz_64bit. I also note that you have left the maxssiz at 8MB and this is typically a little small. I would increase maxssiz to 32MB or so -- which should be plenty. You will need to increase these values and then gen a new kernel.&lt;BR /&gt;</description>
      <pubDate>Wed, 24 Sep 2003 09:44:09 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/enomem-returned-while-executing-pthread-attr-init-on-hp11i/m-p/3077384#M810141</guid>
      <dc:creator>A. Clay Stephenson</dc:creator>
      <dc:date>2003-09-24T09:44:09Z</dc:date>
    </item>
    <item>
      <title>Re: ENOMEM returned while executing pthread_attr_init on HP11i</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/enomem-returned-while-executing-pthread-attr-init-on-hp11i/m-p/3077385#M810142</link>
      <description>1. swap space is set to 4gb&lt;BR /&gt;2. maxdsize is set to 277MB, this is what my sam shows&lt;BR /&gt;&lt;BR /&gt;-Suresh</description>
      <pubDate>Wed, 24 Sep 2003 09:55:20 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/enomem-returned-while-executing-pthread-attr-init-on-hp11i/m-p/3077385#M810142</guid>
      <dc:creator>Suresh Ollala</dc:creator>
      <dc:date>2003-09-24T09:55:20Z</dc:date>
    </item>
    <item>
      <title>Re: ENOMEM returned while executing pthread_attr_init on HP11i</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/enomem-returned-while-executing-pthread-attr-init-on-hp11i/m-p/3077386#M810143</link>
      <description>You need to look at the reserved swap figure.Try "swapinfo -mt" and see what percentage of total is being used.  A process in HP-UX reserves swap that it might need later even if it is never used.</description>
      <pubDate>Wed, 24 Sep 2003 09:58:59 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/enomem-returned-while-executing-pthread-attr-init-on-hp11i/m-p/3077386#M810143</guid>
      <dc:creator>Mark Grant</dc:creator>
      <dc:date>2003-09-24T09:58:59Z</dc:date>
    </item>
    <item>
      <title>Re: ENOMEM returned while executing pthread_attr_init on HP11i</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/enomem-returned-while-executing-pthread-attr-init-on-hp11i/m-p/3077387#M810144</link>
      <description># swapinfo -mt&lt;BR /&gt;             Mb      Mb      Mb   PCT  START/      Mb&lt;BR /&gt;TYPE      AVAIL    USED    FREE  USED   LIMIT RESERVE  PRI  NAME&lt;BR /&gt;dev        4096       0    4096    0%       0       -    1  /dev/vg00/lvol2&lt;BR /&gt;reserve       -     178    -178&lt;BR /&gt;memory     3029     374    2655   12%&lt;BR /&gt;total      7125     552    6573    8%       -       0    -&lt;BR /&gt;</description>
      <pubDate>Wed, 24 Sep 2003 10:00:42 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/enomem-returned-while-executing-pthread-attr-init-on-hp11i/m-p/3077387#M810144</guid>
      <dc:creator>Suresh Ollala</dc:creator>
      <dc:date>2003-09-24T10:00:42Z</dc:date>
    </item>
  </channel>
</rss>

