<?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: pthread_create() returns EAGAIN in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/pthread-create-returns-eagain/m-p/3521111#M845019</link>
    <description>Glance's system tables output might be a place to start.  If you have tuned something recently, you might make sure that it is either a dynamic tunable, or that you have actually restarted the system with the tune applied. &lt;BR /&gt;&lt;BR /&gt;If you have not already installed glance a trial version can be had from software.hp.com.&lt;BR /&gt;&lt;BR /&gt;There are I think both global and per-process limits on threads, just like processes.</description>
    <pubDate>Sat, 09 Apr 2005 13:23:43 GMT</pubDate>
    <dc:creator>rick jones</dc:creator>
    <dc:date>2005-04-09T13:23:43Z</dc:date>
    <item>
      <title>pthread_create() returns EAGAIN</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/pthread-create-returns-eagain/m-p/3521110#M845018</link>
      <description>Hi Folks!  I have a situation whereby a process is attempting to start 128 threads on a 9000/800 HPUX 11.23 machine (PA-RISC flavor) with 128 CPUs.  After successfully starting about 123 threads (this number varies slightly from run to run), "pthread_create()" returns EAGAIN which, according to the man pages, is due to either: 1) hitting the per-process thread limit, or 2) insufficient resources to start any more threads.  Currently the per-process thread limit on this machine is 4,096, so it doesn't seem like that's the issue.&lt;BR /&gt;&lt;BR /&gt;Does anyone have any idea which resource(s) I should look at?  Is there some way to programatically dump information about available memory, file handles, etc?  My thought here is that as soon as the error is returned, it would be nice to have the process dump out some information on what's currently in-use in the way of resources.&lt;BR /&gt;&lt;BR /&gt;Many thanks!&lt;BR /&gt;</description>
      <pubDate>Fri, 08 Apr 2005 12:23:18 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/pthread-create-returns-eagain/m-p/3521110#M845018</guid>
      <dc:creator>Gerald Hatch</dc:creator>
      <dc:date>2005-04-08T12:23:18Z</dc:date>
    </item>
    <item>
      <title>Re: pthread_create() returns EAGAIN</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/pthread-create-returns-eagain/m-p/3521111#M845019</link>
      <description>Glance's system tables output might be a place to start.  If you have tuned something recently, you might make sure that it is either a dynamic tunable, or that you have actually restarted the system with the tune applied. &lt;BR /&gt;&lt;BR /&gt;If you have not already installed glance a trial version can be had from software.hp.com.&lt;BR /&gt;&lt;BR /&gt;There are I think both global and per-process limits on threads, just like processes.</description>
      <pubDate>Sat, 09 Apr 2005 13:23:43 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/pthread-create-returns-eagain/m-p/3521111#M845019</guid>
      <dc:creator>rick jones</dc:creator>
      <dc:date>2005-04-09T13:23:43Z</dc:date>
    </item>
  </channel>
</rss>

