<?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: program dead loop in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/program-dead-loop/m-p/4516890#M366522</link>
    <description>As Hein said, a 64 bit process can quickly use up all of swap if maxdsiz_64bit is set too high.  A 32 bit process would have to work harder, unless it has a fork bomb.&lt;BR /&gt;&lt;BR /&gt;&amp;gt;Venkatesh: How did you confirm this? Can you show the output?&lt;BR /&gt;&lt;BR /&gt;Well, if there are messages about lack of swap space, that would be a clue.&lt;BR /&gt;Monitoring "swapinfo -tam" would indicate the problem but not the program.&lt;BR /&gt;</description>
    <pubDate>Tue, 20 Oct 2009 08:40:05 GMT</pubDate>
    <dc:creator>Dennis Handly</dc:creator>
    <dc:date>2009-10-20T08:40:05Z</dc:date>
    <item>
      <title>program dead loop</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/program-dead-loop/m-p/4516886#M366518</link>
      <description>&lt;BR /&gt;My server was crashed yesterday , I found that the reason is because a program ( developed by our programmer ) have problem , due to the data is incorrect , the program is looping then used up all system memory , it make the system crashed , can advise is there any way that I prevent it happens again ? &lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;ps. as there are too many programs is ruuning , I can't ask them to check all programs.&lt;BR /&gt;</description>
      <pubDate>Tue, 20 Oct 2009 01:57:19 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/program-dead-loop/m-p/4516886#M366518</guid>
      <dc:creator>Son dam bi</dc:creator>
      <dc:date>2009-10-20T01:57:19Z</dc:date>
    </item>
    <item>
      <title>Re: program dead loop</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/program-dead-loop/m-p/4516887#M366519</link>
      <description>HI,&lt;BR /&gt;&amp;gt;&amp;gt;the program is looping then used up all system memory , it make the system crashed , can advise is there any way that I prevent it happens again ? &lt;BR /&gt;&lt;BR /&gt;Better you can ask your programmer to monitor there program when they test....&lt;BR /&gt;and before implementing they should test there program 2 3 times....&lt;BR /&gt;other thing you can extend your memory...&lt;BR /&gt;&lt;BR /&gt;Suraj</description>
      <pubDate>Tue, 20 Oct 2009 02:10:29 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/program-dead-loop/m-p/4516887#M366519</guid>
      <dc:creator>Suraj K Sankari</dc:creator>
      <dc:date>2009-10-20T02:10:29Z</dc:date>
    </item>
    <item>
      <title>Re: program dead loop</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/program-dead-loop/m-p/4516888#M366520</link>
      <description>Son dam bi&amp;gt;&amp;gt; My server was crashed yesterday , I found that the reason is because a program ( developed by our programmer ) have problem &lt;BR /&gt;&lt;BR /&gt;I beg to differ. If a normal, but incorrect, program can crash a server, than that server is poorly managed. It suggests that all the knobs that are there to protect you were set to 'eleven' for that extra push over the cliff (Spinal Tap. &lt;A href="http://www.youtube.com/watch?v=EbVKWCpNFhY" target="_blank"&gt;http://www.youtube.com/watch?v=EbVKWCpNFhY&lt;/A&gt; )&lt;BR /&gt;&lt;BR /&gt;I'm not arguing that the program is not broken, and should not be fixed. But QA testing should have stopped it production system settings may have been overly permissive without the resources to back that up.&lt;BR /&gt;&lt;BR /&gt;Check out 'maxdsiz' and friends, in context of the processes allowed and swap space allocated.&lt;BR /&gt;&lt;BR /&gt;You may want to check the system when it is running normally and record the various memory usages (RSS/VSS from Glance or  UNIX95= ps -ef... )&lt;BR /&gt;&lt;BR /&gt;&amp;gt;&amp;gt; rogram is looping then used up all system memory , it make the system crashed &lt;BR /&gt;&lt;BR /&gt;If that is really true then the guilty party will be visible in the crash dump.&lt;BR /&gt;&lt;BR /&gt;&amp;gt;&amp;gt; ps. as there are too many programs is ruuning , I can't ask them to check all programs.&lt;BR /&gt;&lt;BR /&gt;There are likely to have been early signs and even console warning. Keep an eye on tools like TOP and Glance to see whether a process gets carried away using SYSTEM time and memory.&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;Suraj&amp;gt;&amp;gt; thing you can extend your memory...&lt;BR /&gt;&lt;BR /&gt;au contraire, mon amie. &lt;BR /&gt;That's just silly. Unless you'll mean you'll have a little more time for the hurting to happen before postponed but inevitable crash.&lt;BR /&gt;&lt;BR /&gt;Cheers,&lt;BR /&gt;Hein.&lt;BR /&gt;</description>
      <pubDate>Tue, 20 Oct 2009 03:25:54 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/program-dead-loop/m-p/4516888#M366520</guid>
      <dc:creator>Hein van den Heuvel</dc:creator>
      <dc:date>2009-10-20T03:25:54Z</dc:date>
    </item>
    <item>
      <title>Re: program dead loop</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/program-dead-loop/m-p/4516889#M366521</link>
      <description>&amp;gt; the program is looping then used up all system memory&lt;BR /&gt;&lt;BR /&gt;How did you confirm this? Can you show the output? I am not sure that analysis is correct.&lt;BR /&gt;</description>
      <pubDate>Tue, 20 Oct 2009 04:22:02 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/program-dead-loop/m-p/4516889#M366521</guid>
      <dc:creator>Venkatesh BL</dc:creator>
      <dc:date>2009-10-20T04:22:02Z</dc:date>
    </item>
    <item>
      <title>Re: program dead loop</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/program-dead-loop/m-p/4516890#M366522</link>
      <description>As Hein said, a 64 bit process can quickly use up all of swap if maxdsiz_64bit is set too high.  A 32 bit process would have to work harder, unless it has a fork bomb.&lt;BR /&gt;&lt;BR /&gt;&amp;gt;Venkatesh: How did you confirm this? Can you show the output?&lt;BR /&gt;&lt;BR /&gt;Well, if there are messages about lack of swap space, that would be a clue.&lt;BR /&gt;Monitoring "swapinfo -tam" would indicate the problem but not the program.&lt;BR /&gt;</description>
      <pubDate>Tue, 20 Oct 2009 08:40:05 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/program-dead-loop/m-p/4516890#M366522</guid>
      <dc:creator>Dennis Handly</dc:creator>
      <dc:date>2009-10-20T08:40:05Z</dc:date>
    </item>
  </channel>
</rss>

