<?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: strange effect - processes hanging in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/strange-effect-processes-hanging/m-p/3491749#M215035</link>
    <description>The error 11 is as follows.&lt;BR /&gt;#define EAGAIN          11      /* No more processes            */&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;When you start this program, simutaneously, run sar -v 5 5 on other terminal and watch. Also it would be better, to do ps -u "user_you_use_to_start_program"|wc -l to check if it is hitting maxuprc or not.&lt;BR /&gt;Also from the shell you start the program, do ulimit -Sa and ulimit -Ha&lt;BR /&gt;&lt;BR /&gt;Anil</description>
    <pubDate>Wed, 23 Feb 2005 09:02:44 GMT</pubDate>
    <dc:creator>RAC_1</dc:creator>
    <dc:date>2005-02-23T09:02:44Z</dc:date>
    <item>
      <title>strange effect - processes hanging</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/strange-effect-processes-hanging/m-p/3491747#M215033</link>
      <description>Hello,&lt;BR /&gt;&lt;BR /&gt;On two of our machines I face a strange phenomen:&lt;BR /&gt;we use a script calling startrfc (a SAP binary) to log on to sap and calling a function module inside SAP. Sometimes the script is "hanging" for several seconds (10 to 50). I traced the script using tusc/ truss&lt;BR /&gt;&lt;BR /&gt;this is the output: (on both machines identical)&lt;BR /&gt;&lt;BR /&gt;.....&lt;BR /&gt;08:11:01 writev(6, 0x800003ffff7f2890, 2) ........................................... = 513&lt;BR /&gt;                       iov_base[0]: 0x80000001000a66e1&lt;BR /&gt;                        iov_len[0]: 4&lt;BR /&gt;                       iov_base[1]: 0x8000000100138e48&lt;BR /&gt;                        iov_len[1]: 509&lt;BR /&gt;08:11:01 sigvec(SIGPIPE, 0x800003ffff7f25f0, 0x800003ffff7f2600) .................... = 0&lt;BR /&gt;                    vec.sv_handler: 0x1&lt;BR /&gt;                       vec.sv_mask: EMPTY SET&lt;BR /&gt;                      vec.sv_flags: SV_RESETHAND&lt;BR /&gt;                   ovec.sv_handler: 0x1&lt;BR /&gt;                      ovec.sv_mask: EMPTY SET&lt;BR /&gt;                     ovec.sv_flags: SV_RESETHAND&lt;BR /&gt;08:11:01 recv(6, 0x80000001000a66d5, 4, 0) .......................................... ERR#11 EAGAIN&lt;BR /&gt;08:11:03 select(7, 0x800003ffff7f2d90, NULL, NULL, NULL) ............................ [sleeping]&lt;BR /&gt;                              nfds: 7&lt;BR /&gt;                           readfds: 6&lt;BR /&gt;                          writefds: NULL&lt;BR /&gt;                          errorfds: NULL&lt;BR /&gt;                           timeout: NULL&lt;BR /&gt;08:11:13 select(7, 0x800003ffff7f2d90, NULL, NULL, NULL) ............................ = 1&lt;BR /&gt;                              nfds: 7&lt;BR /&gt;                           readfds: 6&lt;BR /&gt;                          writefds: NULL&lt;BR /&gt;                          errorfds: NULL&lt;BR /&gt;                           timeout: NULL&lt;BR /&gt;08:11:13 recv(6, "\0\0\n\t", 4, 0) .................................................. = 4&lt;BR /&gt;08:11:13 recv(6, "06cb02\0ffff\0\0\0\0\0\0\0\0\0\0".., 2569, 0) ..................... = 2569&lt;BR /&gt;08:11:13 gettimeofday(0x800003ffff7f18d8, 0x800003ffff7f18e8) ....................... = 0&lt;BR /&gt;&lt;BR /&gt;......&lt;BR /&gt;&lt;BR /&gt;Parameter nproc can't be the cause of the problem - it's monitored all time.&lt;BR /&gt;maybe parameter maxuprc ??? &lt;BR /&gt;&lt;BR /&gt;what do the experts think - where is the problem for "ERR#11 EAGAIN" ?&lt;BR /&gt;&lt;BR /&gt;thanks&lt;BR /&gt;&lt;BR /&gt;armin&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Wed, 23 Feb 2005 08:48:36 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/strange-effect-processes-hanging/m-p/3491747#M215033</guid>
      <dc:creator>Armin Schneider</dc:creator>
      <dc:date>2005-02-23T08:48:36Z</dc:date>
    </item>
    <item>
      <title>Re: strange effect - processes hanging</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/strange-effect-processes-hanging/m-p/3491748#M215034</link>
      <description>additional information:&lt;BR /&gt;&lt;BR /&gt;both machines are running HP-UX 11.11.&lt;BR /&gt;One is a L3000 the other one is a RP4440.&lt;BR /&gt;</description>
      <pubDate>Wed, 23 Feb 2005 08:54:00 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/strange-effect-processes-hanging/m-p/3491748#M215034</guid>
      <dc:creator>Armin Schneider</dc:creator>
      <dc:date>2005-02-23T08:54:00Z</dc:date>
    </item>
    <item>
      <title>Re: strange effect - processes hanging</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/strange-effect-processes-hanging/m-p/3491749#M215035</link>
      <description>The error 11 is as follows.&lt;BR /&gt;#define EAGAIN          11      /* No more processes            */&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;When you start this program, simutaneously, run sar -v 5 5 on other terminal and watch. Also it would be better, to do ps -u "user_you_use_to_start_program"|wc -l to check if it is hitting maxuprc or not.&lt;BR /&gt;Also from the shell you start the program, do ulimit -Sa and ulimit -Ha&lt;BR /&gt;&lt;BR /&gt;Anil</description>
      <pubDate>Wed, 23 Feb 2005 09:02:44 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/strange-effect-processes-hanging/m-p/3491749#M215035</guid>
      <dc:creator>RAC_1</dc:creator>
      <dc:date>2005-02-23T09:02:44Z</dc:date>
    </item>
    <item>
      <title>Re: strange effect - processes hanging</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/strange-effect-processes-hanging/m-p/3491750#M215036</link>
      <description>maxuprc is the maximum processes allowed for a user. The default is 75. That is not enough for ias and oracle. This could be the case here for you.&lt;BR /&gt;&lt;BR /&gt;If user schmo tries to open more than 75 processes it stops working at proces 77. I don't know why there is slack.&lt;BR /&gt;&lt;BR /&gt;My first idea here would be to set maxuprc at 200, which will require a boot. Then see if the error is still ocurring.&lt;BR /&gt;&lt;BR /&gt;SEP</description>
      <pubDate>Wed, 23 Feb 2005 09:03:46 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/strange-effect-processes-hanging/m-p/3491750#M215036</guid>
      <dc:creator>Steven E. Protter</dc:creator>
      <dc:date>2005-02-23T09:03:46Z</dc:date>
    </item>
    <item>
      <title>Re: strange effect - processes hanging</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/strange-effect-processes-hanging/m-p/3491751#M215037</link>
      <description>Hi Armin,&lt;BR /&gt;&lt;BR /&gt;Yes - if you're not hitting the NPROC limit then I'd say it's probably maxuprc.&lt;BR /&gt;If this is a SAP system then maxuprc should be well into the thousands.&lt;BR /&gt;&lt;BR /&gt;Rgds,&lt;BR /&gt;Jeff</description>
      <pubDate>Wed, 23 Feb 2005 09:04:08 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/strange-effect-processes-hanging/m-p/3491751#M215037</guid>
      <dc:creator>Jeff Schussele</dc:creator>
      <dc:date>2005-02-23T09:04:08Z</dc:date>
    </item>
    <item>
      <title>Re: strange effect - processes hanging</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/strange-effect-processes-hanging/m-p/3491752#M215038</link>
      <description>ok - here is the output of sar -v 5 5 &lt;BR /&gt;&lt;BR /&gt;nproc is far away ....&lt;BR /&gt;&lt;BR /&gt;15:06:15 text-sz  ov  proc-sz  ov  inod-sz  ov  file-sz  ov&lt;BR /&gt;15:06:20   N/A   N/A 526/8000  0  2246/18000 0  57550/90010 0&lt;BR /&gt;15:06:25   N/A   N/A 527/8000  0  2248/18000 0  57568/90010 0&lt;BR /&gt;15:06:30   N/A   N/A 526/8000  0  2248/18000 0  57574/90010 0&lt;BR /&gt;15:06:35   N/A   N/A 526/8000  0  2247/18000 0  57591/90010 0&lt;BR /&gt;15:06:40   N/A   N/A 526/8000  0  2246/18000 0  57601/90010 0&lt;BR /&gt;&lt;BR /&gt;ok .... maxuprc is only 800 ....&lt;BR /&gt;lifting it up to 5000 should solve the problem ? what do you think ?</description>
      <pubDate>Wed, 23 Feb 2005 09:09:11 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/strange-effect-processes-hanging/m-p/3491752#M215038</guid>
      <dc:creator>Armin Schneider</dc:creator>
      <dc:date>2005-02-23T09:09:11Z</dc:date>
    </item>
    <item>
      <title>Re: strange effect - processes hanging</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/strange-effect-processes-hanging/m-p/3491753#M215039</link>
      <description>Yes - I'd say 4096 would probably suffice.&lt;BR /&gt;&lt;BR /&gt;Rgds,&lt;BR /&gt;Jeff</description>
      <pubDate>Wed, 23 Feb 2005 09:12:56 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/strange-effect-processes-hanging/m-p/3491753#M215039</guid>
      <dc:creator>Jeff Schussele</dc:creator>
      <dc:date>2005-02-23T09:12:56Z</dc:date>
    </item>
    <item>
      <title>Re: strange effect - processes hanging</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/strange-effect-processes-hanging/m-p/3491754#M215040</link>
      <description>set maxuprc to 4096 (could be done dynamically) &lt;BR /&gt;&lt;BR /&gt;but problem still persists&lt;BR /&gt;&lt;BR /&gt;15:28:34 sigvec(SIGPIPE, 0x800003ffff7f25f0, 0x800003ffff7f2600) ......................................... = 0&lt;BR /&gt;                    vec.sv_handler: 0x1&lt;BR /&gt;                       vec.sv_mask: EMPTY SET&lt;BR /&gt;                      vec.sv_flags: SV_RESETHAND&lt;BR /&gt;                   ovec.sv_handler: 0x1&lt;BR /&gt;                      ovec.sv_mask: EMPTY SET&lt;BR /&gt;                     ovec.sv_flags: SV_RESETHAND&lt;BR /&gt;15:28:34 recv(6, 0x80000001000a66d5, 4, 0) ............................................................... ERR#11 EAGAIN&lt;BR /&gt;15:28:36 select(7, 0x800003ffff7f2d90, NULL, NULL, NULL) ................................................. [sleeping]&lt;BR /&gt;                              nfds: 7&lt;BR /&gt;                           readfds: 6&lt;BR /&gt;                          writefds: NULL&lt;BR /&gt;                          errorfds: NULL&lt;BR /&gt;                           timeout: NULL&lt;BR /&gt;15:28:43 select(7, 0x800003ffff7f2d90, NULL, NULL, NULL) ................................................. = 1&lt;BR /&gt;                              nfds: 7&lt;BR /&gt;                           readfds: 6&lt;BR /&gt;                          writefds: NULL&lt;BR /&gt;                          errorfds: NULL&lt;BR /&gt;                           timeout: NULL&lt;BR /&gt;15:28:43 recv(6, "\0\0\n\t", 4, 0) ....................................................................... = 4&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Wed, 23 Feb 2005 09:35:25 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/strange-effect-processes-hanging/m-p/3491754#M215040</guid>
      <dc:creator>Armin Schneider</dc:creator>
      <dc:date>2005-02-23T09:35:25Z</dc:date>
    </item>
    <item>
      <title>Re: strange effect - processes hanging</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/strange-effect-processes-hanging/m-p/3491755#M215041</link>
      <description>I have to avoid this [sleeping] and wasting time .... &lt;BR /&gt;the problem is, there is a interface using the same way of communication and this interface is production critical ....</description>
      <pubDate>Wed, 23 Feb 2005 09:36:48 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/strange-effect-processes-hanging/m-p/3491755#M215041</guid>
      <dc:creator>Armin Schneider</dc:creator>
      <dc:date>2005-02-23T09:36:48Z</dc:date>
    </item>
    <item>
      <title>Re: strange effect - processes hanging</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/strange-effect-processes-hanging/m-p/3491756#M215042</link>
      <description>You might want to contact SAP tech support.&lt;BR /&gt;&lt;BR /&gt;kmtune | grep proc&lt;BR /&gt;&lt;BR /&gt;Make sure everything is set logically.&lt;BR /&gt;&lt;BR /&gt;Also, where is the box with regards to patching?  There may be a patch for this problem.&lt;BR /&gt;&lt;BR /&gt;SEP</description>
      <pubDate>Wed, 23 Feb 2005 09:39:25 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/strange-effect-processes-hanging/m-p/3491756#M215042</guid>
      <dc:creator>Steven E. Protter</dc:creator>
      <dc:date>2005-02-23T09:39:25Z</dc:date>
    </item>
    <item>
      <title>Re: strange effect - processes hanging</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/strange-effect-processes-hanging/m-p/3491757#M215043</link>
      <description>vb_rcv_NEU:/tmp/NIPING/log#kmtune | grep proc&lt;BR /&gt;max_thread_proc            64  -  64&lt;BR /&gt;nproc                    8000  -  8000&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;SAP Support is involved but they act like they don't want to help ....</description>
      <pubDate>Wed, 23 Feb 2005 09:47:07 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/strange-effect-processes-hanging/m-p/3491757#M215043</guid>
      <dc:creator>Armin Schneider</dc:creator>
      <dc:date>2005-02-23T09:47:07Z</dc:date>
    </item>
    <item>
      <title>Re: strange effect - processes hanging</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/strange-effect-processes-hanging/m-p/3491758#M215044</link>
      <description>This has nothing to do with maxuprc. What you need to do is a man 2 recv and look at the reason the recv() system call can set errno to EAGAIN. The man page explains the reason(s) exactly</description>
      <pubDate>Wed, 23 Feb 2005 10:27:18 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/strange-effect-processes-hanging/m-p/3491758#M215044</guid>
      <dc:creator>A. Clay Stephenson</dc:creator>
      <dc:date>2005-02-23T10:27:18Z</dc:date>
    </item>
    <item>
      <title>Re: strange effect - processes hanging</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/strange-effect-processes-hanging/m-p/3491759#M215045</link>
      <description>extract of man page&lt;BR /&gt;&lt;BR /&gt; If recv(), recvfrom(), or recvmsg() fails, errno is set to one of the&lt;BR /&gt;      following values.&lt;BR /&gt;&lt;BR /&gt;           [EAGAIN]            Non-blocking I/O is enabled using O_NONBLOCK flag with fcntl() and the receive operation would block, or the socket has an error that was set asynchronously.  An asynchronous error can be caused by a gateway failing to forward a datagram because the datagram exceeds the MTU of the next-hop network and the "Don't Fragment" (DF) bit in the datagram is set.  (See SO_PMTU in getsockopt(2).)&lt;BR /&gt;&lt;BR /&gt;so far so good ... but what can be done to solve the problem ?</description>
      <pubDate>Wed, 23 Feb 2005 10:51:09 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/strange-effect-processes-hanging/m-p/3491759#M215045</guid>
      <dc:creator>Armin Schneider</dc:creator>
      <dc:date>2005-02-23T10:51:09Z</dc:date>
    </item>
    <item>
      <title>Re: strange effect - processes hanging</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/strange-effect-processes-hanging/m-p/3491760#M215046</link>
      <description>Now you look for any fcntl() system calls and see if the O_NONBLOCK bit is set. (O_NONBLOCK is defined in /usr/include/sys/fcntl.h)  You will also find that most support organizations give you far more respect and better response when you can talk system calls and errno values with them because you have tremendously narrowed the scope of the problem.</description>
      <pubDate>Wed, 23 Feb 2005 11:08:10 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/strange-effect-processes-hanging/m-p/3491760#M215046</guid>
      <dc:creator>A. Clay Stephenson</dc:creator>
      <dc:date>2005-02-23T11:08:10Z</dc:date>
    </item>
  </channel>
</rss>

