<?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 Process gets hung in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/process-gets-hung/m-p/4232550#M688224</link>
    <description>Hi guys&lt;BR /&gt;&lt;BR /&gt;I have a Rx7620 machine running HP-UX 11.23.v&lt;BR /&gt;&lt;BR /&gt;I have a java process running in this machine. After sometime it just gets hung. &lt;BR /&gt;&lt;BR /&gt;The memory consumption of the process remains normal, but the CPU% gets very low when it gets hung.&lt;BR /&gt;&lt;BR /&gt;Here is the top output at normal time:&lt;BR /&gt;&lt;BR /&gt;CPU   LOAD   USER   NICE    SYS   IDLE  BLOCK  SWAIT   INTR   SSYS&lt;BR /&gt; 0    0.77  21.4%   0.0%  41.7%  36.9%   0.0%   0.0%   0.0%   0.0%&lt;BR /&gt; 1    0.68  17.3%   0.0%  37.3%  45.4%   0.0%   0.0%   0.0%   0.0%&lt;BR /&gt; 2    0.66  16.1%   0.0%  38.5%  45.4%   0.0%   0.0%   0.0%   0.0%&lt;BR /&gt; 3    0.77  21.0%   0.0%  41.0%  38.0%   0.0%   0.0%   0.0%   0.0%&lt;BR /&gt; 4    0.77  21.0%   0.0%  42.1%  36.9%   0.0%   0.0%   0.0%   0.0%&lt;BR /&gt; 5    2.27  94.4%   0.0%   5.6%   0.0%   0.0%   0.0%   0.0%   0.0%&lt;BR /&gt;---   ----  -----  -----  -----  -----  -----  -----  -----  -----&lt;BR /&gt;avg   0.99  31.7%   0.0%  34.3%  33.9%   0.0%   0.0%   0.0%   0.0%&lt;BR /&gt;&lt;BR /&gt;Memory: 6302704K (4466356K) real, 8075784K (5856472K) virtual, 3848128K free  Page# 1/9&lt;BR /&gt;&lt;BR /&gt;CPU TTY    PID USERNAME PRI NI   SIZE    RES STATE    TIME %WCPU  %CPU COMMAND&lt;BR /&gt; 5 pts/3  6928 bscsprod 152 20  1252M  1124M run      8:05 90.88 90.72 java&lt;BR /&gt; 4   ?   20827 bscsprod 224 20  5060K  1084K run    138:17 14.57 14.54 sh&lt;BR /&gt; 2   ?   24053 oracle   154 20  2260M 12500K sleep   13:09 11.10 11.08 oracleBSCSPROD&lt;BR /&gt; 5 pts/3  2908 bscsprod 152 20   772M   207M run      0:46  9.35  9.34 java&lt;BR /&gt; 0   ?      10 root     152 20   936K   832K run     67:10  7.40  7.38 nfsktcpd&lt;BR /&gt; 4   ?   25434 bscsprod 158 20  8152K  4424K sleep   63:39  6.54  6.53 sh&lt;BR /&gt; 3   ?    8195 root     154 20 12500K  2228K sleep    1:16  3.59  3.58 bma&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;As you can see java process consumes upto 95% of the CPU%. But when it gets hung, it goes as low as 20%.&lt;BR /&gt;&lt;BR /&gt;Can you please give me any idea why this happen or a way to findout more about the problem.&lt;BR /&gt;&lt;BR /&gt;Thanks in advance.</description>
    <pubDate>Sun, 13 Jul 2008 05:14:15 GMT</pubDate>
    <dc:creator>Subentu</dc:creator>
    <dc:date>2008-07-13T05:14:15Z</dc:date>
    <item>
      <title>Process gets hung</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/process-gets-hung/m-p/4232550#M688224</link>
      <description>Hi guys&lt;BR /&gt;&lt;BR /&gt;I have a Rx7620 machine running HP-UX 11.23.v&lt;BR /&gt;&lt;BR /&gt;I have a java process running in this machine. After sometime it just gets hung. &lt;BR /&gt;&lt;BR /&gt;The memory consumption of the process remains normal, but the CPU% gets very low when it gets hung.&lt;BR /&gt;&lt;BR /&gt;Here is the top output at normal time:&lt;BR /&gt;&lt;BR /&gt;CPU   LOAD   USER   NICE    SYS   IDLE  BLOCK  SWAIT   INTR   SSYS&lt;BR /&gt; 0    0.77  21.4%   0.0%  41.7%  36.9%   0.0%   0.0%   0.0%   0.0%&lt;BR /&gt; 1    0.68  17.3%   0.0%  37.3%  45.4%   0.0%   0.0%   0.0%   0.0%&lt;BR /&gt; 2    0.66  16.1%   0.0%  38.5%  45.4%   0.0%   0.0%   0.0%   0.0%&lt;BR /&gt; 3    0.77  21.0%   0.0%  41.0%  38.0%   0.0%   0.0%   0.0%   0.0%&lt;BR /&gt; 4    0.77  21.0%   0.0%  42.1%  36.9%   0.0%   0.0%   0.0%   0.0%&lt;BR /&gt; 5    2.27  94.4%   0.0%   5.6%   0.0%   0.0%   0.0%   0.0%   0.0%&lt;BR /&gt;---   ----  -----  -----  -----  -----  -----  -----  -----  -----&lt;BR /&gt;avg   0.99  31.7%   0.0%  34.3%  33.9%   0.0%   0.0%   0.0%   0.0%&lt;BR /&gt;&lt;BR /&gt;Memory: 6302704K (4466356K) real, 8075784K (5856472K) virtual, 3848128K free  Page# 1/9&lt;BR /&gt;&lt;BR /&gt;CPU TTY    PID USERNAME PRI NI   SIZE    RES STATE    TIME %WCPU  %CPU COMMAND&lt;BR /&gt; 5 pts/3  6928 bscsprod 152 20  1252M  1124M run      8:05 90.88 90.72 java&lt;BR /&gt; 4   ?   20827 bscsprod 224 20  5060K  1084K run    138:17 14.57 14.54 sh&lt;BR /&gt; 2   ?   24053 oracle   154 20  2260M 12500K sleep   13:09 11.10 11.08 oracleBSCSPROD&lt;BR /&gt; 5 pts/3  2908 bscsprod 152 20   772M   207M run      0:46  9.35  9.34 java&lt;BR /&gt; 0   ?      10 root     152 20   936K   832K run     67:10  7.40  7.38 nfsktcpd&lt;BR /&gt; 4   ?   25434 bscsprod 158 20  8152K  4424K sleep   63:39  6.54  6.53 sh&lt;BR /&gt; 3   ?    8195 root     154 20 12500K  2228K sleep    1:16  3.59  3.58 bma&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;As you can see java process consumes upto 95% of the CPU%. But when it gets hung, it goes as low as 20%.&lt;BR /&gt;&lt;BR /&gt;Can you please give me any idea why this happen or a way to findout more about the problem.&lt;BR /&gt;&lt;BR /&gt;Thanks in advance.</description>
      <pubDate>Sun, 13 Jul 2008 05:14:15 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/process-gets-hung/m-p/4232550#M688224</guid>
      <dc:creator>Subentu</dc:creator>
      <dc:date>2008-07-13T05:14:15Z</dc:date>
    </item>
    <item>
      <title>Re: Process gets hung</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/process-gets-hung/m-p/4232551#M688225</link>
      <description>Shalom,&lt;BR /&gt;&lt;BR /&gt;swlist -l product | grep java&lt;BR /&gt;&lt;BR /&gt;also grep jdk and or jre&lt;BR /&gt;&lt;BR /&gt;Java is pretty volatile, memory hungry and well known for less than prime time releases.&lt;BR /&gt;&lt;BR /&gt;The fastest, easiest fix in many cases is to get another buggy version of java.&lt;BR /&gt;&lt;BR /&gt;Also make sure OS recommended patches listed at &lt;A href="http://www.hp.com/go/java" target="_blank"&gt;http://www.hp.com/go/java&lt;/A&gt; are installed. They help.&lt;BR /&gt;&lt;BR /&gt;It might however be bad application code if you have a custom written java application in which case you must kick it back to the developers for more testing.&lt;BR /&gt;&lt;BR /&gt;SEP</description>
      <pubDate>Sun, 13 Jul 2008 05:18:01 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/process-gets-hung/m-p/4232551#M688225</guid>
      <dc:creator>Steven E. Protter</dc:creator>
      <dc:date>2008-07-13T05:18:01Z</dc:date>
    </item>
    <item>
      <title>Re: Process gets hung</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/process-gets-hung/m-p/4232552#M688226</link>
      <description>Thanks Steven&lt;BR /&gt;&lt;BR /&gt;This process was running fine for more than 2 years now. It started giving problems on Thursday.&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Sun, 13 Jul 2008 05:32:47 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/process-gets-hung/m-p/4232552#M688226</guid>
      <dc:creator>Subentu</dc:creator>
      <dc:date>2008-07-13T05:32:47Z</dc:date>
    </item>
    <item>
      <title>Re: Process gets hung</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/process-gets-hung/m-p/4232553#M688227</link>
      <description>well this may be sometimes makes problem due to excess session opened.&lt;BR /&gt;&lt;BR /&gt;check with sar&lt;BR /&gt;&lt;BR /&gt;#sar -v 5 5</description>
      <pubDate>Sun, 13 Jul 2008 05:49:09 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/process-gets-hung/m-p/4232553#M688227</guid>
      <dc:creator>Jeeshan</dc:creator>
      <dc:date>2008-07-13T05:49:09Z</dc:date>
    </item>
    <item>
      <title>Re: Process gets hung</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/process-gets-hung/m-p/4232554#M688228</link>
      <description>&amp;gt;As you can see java process consumes upto 95% of the CPU%. But when it gets hung, it goes as low as 20%.&lt;BR /&gt;&lt;BR /&gt;By definition, hung means 0%.  It might be doing garbage collection and having problems with paging.&lt;BR /&gt;&lt;BR /&gt;Have you tried HPjmeter?&lt;BR /&gt;&lt;A href="http://www.hp.com/go/java" target="_blank"&gt;http://www.hp.com/go/java&lt;/A&gt;</description>
      <pubDate>Sun, 13 Jul 2008 07:48:10 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/process-gets-hung/m-p/4232554#M688228</guid>
      <dc:creator>Dennis Handly</dc:creator>
      <dc:date>2008-07-13T07:48:10Z</dc:date>
    </item>
  </channel>
</rss>

