<?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: Hanging process in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/hanging-process/m-p/3390743#M865254</link>
    <description>It happens when it first starts up and whenit is looking to exit. Both hanging on shared memory calls of different shared memory segments Here is the output from the top command which shows the size of the process.&lt;BR /&gt;&lt;BR /&gt;CPU TTY  PID USERNAME PRI NI   SIZE    RES STATE    TIME %WCPU  %CPU COMMAND&lt;BR /&gt; 0   ? 22446 j0f      241 20  2524K   528K run   1519:49 99.89 99.72 net_slave&lt;BR /&gt;</description>
    <pubDate>Thu, 30 Sep 2004 10:33:36 GMT</pubDate>
    <dc:creator>Nick Anzevino</dc:creator>
    <dc:date>2004-09-30T10:33:36Z</dc:date>
    <item>
      <title>Hanging process</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/hanging-process/m-p/3390741#M865252</link>
      <description>I am working on an HPUX10.20.  We have been experiencing a spinning process once every couple of weeks which consumes our CPU. This process gets runs a 1000 times a day.  Then all of the sudden it will spin. I perform a kill -3 on the process to generate a core. When I look at the core file, it seems to try an access shared memory.  The code does a semaphore lock and then accesses shared memory and the does a semaphore unlock.  The debugger points to the line where it access shared memory. The xdb points to line 367 of the attatched code.  Which by the way has the semaphore locked so no other process can access shared memory, which in turns creates more CPU problems. Can anyone give me any clues or where else to look.</description>
      <pubDate>Thu, 30 Sep 2004 09:25:25 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/hanging-process/m-p/3390741#M865252</guid>
      <dc:creator>Nick Anzevino</dc:creator>
      <dc:date>2004-09-30T09:25:25Z</dc:date>
    </item>
    <item>
      <title>Re: Hanging process</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/hanging-process/m-p/3390742#M865253</link>
      <description>Does the problem show up as soon as that instance of the process is run, or does it have to run for some time to start spinning?&lt;BR /&gt;&lt;BR /&gt;If it's after running for a while,  it could be down to a memory leak.&lt;BR /&gt;&lt;BR /&gt;How much memory is installed in the server, and how much is free when the problem appears?  &lt;BR /&gt;&lt;BR /&gt;To check how much memory the process is using, use the following, replacing &lt;PID&gt; with the relevant process ID&lt;BR /&gt;&lt;BR /&gt;UNIX95= ps -p&lt;PID&gt; -o vsz,user,args&lt;BR /&gt;&lt;BR /&gt;The vsz column shows how much memory the process is using (in KB).  The user and args info just confirms the ID that the process is running under, and the command (with arguments if any were supplied to it).&lt;/PID&gt;&lt;/PID&gt;</description>
      <pubDate>Thu, 30 Sep 2004 10:26:13 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/hanging-process/m-p/3390742#M865253</guid>
      <dc:creator>Chris Wilshaw</dc:creator>
      <dc:date>2004-09-30T10:26:13Z</dc:date>
    </item>
    <item>
      <title>Re: Hanging process</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/hanging-process/m-p/3390743#M865254</link>
      <description>It happens when it first starts up and whenit is looking to exit. Both hanging on shared memory calls of different shared memory segments Here is the output from the top command which shows the size of the process.&lt;BR /&gt;&lt;BR /&gt;CPU TTY  PID USERNAME PRI NI   SIZE    RES STATE    TIME %WCPU  %CPU COMMAND&lt;BR /&gt; 0   ? 22446 j0f      241 20  2524K   528K run   1519:49 99.89 99.72 net_slave&lt;BR /&gt;</description>
      <pubDate>Thu, 30 Sep 2004 10:33:36 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/hanging-process/m-p/3390743#M865254</guid>
      <dc:creator>Nick Anzevino</dc:creator>
      <dc:date>2004-09-30T10:33:36Z</dc:date>
    </item>
  </channel>
</rss>

