<?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: swap question: memory 100% versus device 50% (and op.sys. NOT FORKING) in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/swap-question-memory-100-versus-device-50-and-op-sys-not-forking/m-p/5181941#M460076</link>
    <description>Thanks everybody...</description>
    <pubDate>Wed, 17 Jun 2009 13:38:35 GMT</pubDate>
    <dc:creator>llagos</dc:creator>
    <dc:date>2009-06-17T13:38:35Z</dc:date>
    <item>
      <title>swap question: memory 100% versus device 50% (and op.sys. NOT FORKING)</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/swap-question-memory-100-versus-device-50-and-op-sys-not-forking/m-p/5181933#M460068</link>
      <description>&lt;!--!*#--&gt;Hi All...&lt;BR /&gt;&lt;BR /&gt;I've got the following situation with swap space.&lt;BR /&gt;&lt;BR /&gt;My system has 2 swap areas. The memory (I understand it's the real RAM installed) and 1 device with enough space. Problem is that the memory goes to 100% and the op.sys. stops forking. No more commands, no more logins.&lt;BR /&gt;&lt;BR /&gt;BUT... the device is NOT 100%... See below... memory went 100% but the device is 58% and STILL has unused space..&lt;BR /&gt;&lt;BR /&gt;So, question here: why is this?&lt;BR /&gt;&lt;BR /&gt;And how to fix this? I mean by fixing, telling the op.sys. to use that device space, and of course, keep forking and swaping new processes...&lt;BR /&gt;&lt;BR /&gt;ttemip01::/tmp-&amp;gt; swapinfo&lt;BR /&gt;             Kb      Kb      Kb   PCT  START/      Kb&lt;BR /&gt;TYPE      AVAIL    USED    FREE  USED   LIMIT RESERVE  PRI  NAME&lt;BR /&gt;dev     6291456 3627984 2663472   58%       0       -    1  /dev/vg00/lvol2&lt;BR /&gt;reserve       - 2663472 -2663472&lt;BR /&gt;memory  2076144 2072732    3412  100%&lt;BR /&gt;ttemip01::/tmp-&amp;gt;&lt;BR /&gt;&lt;BR /&gt;Thanks a lot for your help...&lt;BR /&gt;&lt;BR /&gt;Leo</description>
      <pubDate>Tue, 16 Jun 2009 19:58:56 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/swap-question-memory-100-versus-device-50-and-op-sys-not-forking/m-p/5181933#M460068</guid>
      <dc:creator>llagos</dc:creator>
      <dc:date>2009-06-16T19:58:56Z</dc:date>
    </item>
    <item>
      <title>Re: swap question: memory 100% versus device 50% (and op.sys. NOT FORKING)</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/swap-question-memory-100-versus-device-50-and-op-sys-not-forking/m-p/5181934#M460069</link>
      <description>Hi Leo:&lt;BR /&gt;&lt;BR /&gt;Swap space is required to be reserved at the time a process starts up.  You have insufficient swapspace and/or memory.&lt;BR /&gt;&lt;BR /&gt;You can add additional device swap but you should look toward adding memory and/or adjusting your workload.  You say that you have two swap areas but I see only the primary swapspace reported.  Verify that any secondary device swap has been activated in your '/etc/fstab' if you believe that it should be.&lt;BR /&gt;&lt;BR /&gt;Regards!&lt;BR /&gt;&lt;BR /&gt;...JRF...</description>
      <pubDate>Tue, 16 Jun 2009 20:07:32 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/swap-question-memory-100-versus-device-50-and-op-sys-not-forking/m-p/5181934#M460069</guid>
      <dc:creator>James R. Ferguson</dc:creator>
      <dc:date>2009-06-16T20:07:32Z</dc:date>
    </item>
    <item>
      <title>Re: swap question: memory 100% versus device 50% (and op.sys. NOT FORKING)</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/swap-question-memory-100-versus-device-50-and-op-sys-not-forking/m-p/5181935#M460070</link>
      <description>Thanks James...&lt;BR /&gt;&lt;BR /&gt;I'm new to HP-UX so, maybe a few newbie questions...&lt;BR /&gt;&lt;BR /&gt;for instance:&lt;BR /&gt;&lt;BR /&gt;ttemip01::/-&amp;gt; dmesg | grep -i physic&lt;BR /&gt;    physical page size = 4096 bytes, logical page size = 4096 bytes&lt;BR /&gt;    Physical: 2076144 Kbytes, lockable: 1245664 Kbytes, available: 1465620 Kbytes&lt;BR /&gt;ttemip01::/-&amp;gt; &lt;BR /&gt;&lt;BR /&gt;This means I have 2 Giga of physical RAM...&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;Now...&lt;BR /&gt;&lt;BR /&gt;ttemip01::/-&amp;gt; swapinfo&lt;BR /&gt;             Kb      Kb      Kb   PCT  START/      Kb&lt;BR /&gt;TYPE      AVAIL    USED    FREE  USED   LIMIT RESERVE  PRI  NAME&lt;BR /&gt;dev     6291456 2931016 3360440   47%       0       -    1  /dev/vg00/lvol2&lt;BR /&gt;reserve       - 3323452 -3323452&lt;BR /&gt;memory  2076144 1330728  745416   64%&lt;BR /&gt;ttemip01::/-&amp;gt; &lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;The "memory" line means 64% of those 2G are used. What is the "reserve"..??? Avail=0 so, Free is actually a negative number...&lt;BR /&gt;&lt;BR /&gt;Now, when "memory" goes to 100%, why does it stop forking processes, if it still has 40% available in the "device"?? That's my real question...&lt;BR /&gt;&lt;BR /&gt;Regards,&lt;BR /&gt;&lt;BR /&gt;Leo</description>
      <pubDate>Tue, 16 Jun 2009 22:04:03 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/swap-question-memory-100-versus-device-50-and-op-sys-not-forking/m-p/5181935#M460070</guid>
      <dc:creator>llagos</dc:creator>
      <dc:date>2009-06-16T22:04:03Z</dc:date>
    </item>
    <item>
      <title>Re: swap question: memory 100% versus device 50% (and op.sys. NOT FORKING)</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/swap-question-memory-100-versus-device-50-and-op-sys-not-forking/m-p/5181936#M460071</link>
      <description>Hi:&lt;BR /&gt;&lt;BR /&gt;Here's a link about the same problem.  I hope it helps you.&lt;BR /&gt;&lt;BR /&gt;&lt;A href="http://forums11.itrc.hp.com/service/forums/questionanswer.do?threadId=1215537" target="_blank"&gt;http://forums11.itrc.hp.com/service/forums/questionanswer.do?threadId=1215537&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;From Dennis Handly in this link:&lt;BR /&gt;&lt;BR /&gt;"...You could also be in a recursive fork loop where it just eats all of your swap space..."</description>
      <pubDate>Tue, 16 Jun 2009 23:32:24 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/swap-question-memory-100-versus-device-50-and-op-sys-not-forking/m-p/5181936#M460071</guid>
      <dc:creator>Michael Steele_2</dc:creator>
      <dc:date>2009-06-16T23:32:24Z</dc:date>
    </item>
    <item>
      <title>Re: swap question: memory 100% versus device 50% (and op.sys. NOT FORKING)</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/swap-question-memory-100-versus-device-50-and-op-sys-not-forking/m-p/5181937#M460072</link>
      <description>&amp;gt; Now, when "memory" goes to 100%, why does it stop forking processes, if it still has 40% available in the "device"?? That's my real question...&lt;BR /&gt;&lt;BR /&gt;The fundamental principle is - when a process starts to run, the kernel will 'reserve' swap space for all its private space (private data) to ensure that it does not fail later due to lack of swap space. This is just a counter decrementing thing.&lt;BR /&gt;&lt;BR /&gt;Now, when the reservation on the device is no more possible, it will start using RAM as a place for the new swap reservation requests. This means that the pages that are bought in now, will not be paged out. There physical and swap space and one and the same.&lt;BR /&gt;&lt;BR /&gt;In your case, 58% of device space is 'used' means that actually so much of pages from the RAM were moved to that device through the 'page out' process.&lt;BR /&gt;&lt;BR /&gt;You getting 'no swap' error in this case simply means that the remaining 42% of the device swap is 'reserved' for the running processes, to accomodate their future needs.&lt;BR /&gt;&lt;BR /&gt;You need to add another swap device to overcome this problem.</description>
      <pubDate>Wed, 17 Jun 2009 03:23:35 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/swap-question-memory-100-versus-device-50-and-op-sys-not-forking/m-p/5181937#M460072</guid>
      <dc:creator>Venkatesh BL</dc:creator>
      <dc:date>2009-06-17T03:23:35Z</dc:date>
    </item>
    <item>
      <title>Re: swap question: memory 100% versus device 50% (and op.sys. NOT FORKING)</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/swap-question-memory-100-versus-device-50-and-op-sys-not-forking/m-p/5181938#M460073</link>
      <description>Well, actually I think you need more RAM.&lt;BR /&gt;&lt;BR /&gt;Swapping is slowing down your system, so you should avoid it!&lt;BR /&gt;&lt;BR /&gt;You also can test:&lt;BR /&gt;'vmstat -n'&lt;BR /&gt;swapping is unter po - it should be as small as possible, &amp;gt;99 is VERY bad.&lt;BR /&gt;&lt;BR /&gt;HTH&lt;BR /&gt;Volkmar&lt;BR /&gt;</description>
      <pubDate>Wed, 17 Jun 2009 08:20:58 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/swap-question-memory-100-versus-device-50-and-op-sys-not-forking/m-p/5181938#M460073</guid>
      <dc:creator>V. Nyga</dc:creator>
      <dc:date>2009-06-17T08:20:58Z</dc:date>
    </item>
    <item>
      <title>Re: swap question: memory 100% versus device 50% (and op.sys. NOT FORKING)</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/swap-question-memory-100-versus-device-50-and-op-sys-not-forking/m-p/5181939#M460074</link>
      <description>Dear Leo&lt;BR /&gt;&lt;BR /&gt;To fully utilize all of the RAM on a system there must be a sufficient amount&lt;BR /&gt;of virtual memory to accomodate all processes . The virtual memory be at least eaqual to physical memory plus application&lt;BR /&gt;size.&lt;BR /&gt;For a process&lt;BR /&gt;to spawn it needs a sufficient amount of virtual memory to be placed in&lt;BR /&gt;reserve. There should be a sufficient amount of free device swap to open any&lt;BR /&gt;processes that may be spawned during the course of operations. By subtracting&lt;BR /&gt;thereserve from the device total you can determine this value.&lt;BR /&gt;If there is an insufficient amount available ( typically from device swap)&lt;BR /&gt;you will receive an error : cannot fork : not enough virtual memory. If&lt;BR /&gt;this error is received , you will need to allocate more device swap. This&lt;BR /&gt;should be configured on a disk with no other swap partitions, and ideally of&lt;BR /&gt;the same size and priority of existing swap logical volumes to enable&lt;BR /&gt;interleaving.&lt;BR /&gt;&lt;BR /&gt;thanks and regards&lt;BR /&gt;&lt;BR /&gt;Sajjad Sahir</description>
      <pubDate>Wed, 17 Jun 2009 08:55:57 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/swap-question-memory-100-versus-device-50-and-op-sys-not-forking/m-p/5181939#M460074</guid>
      <dc:creator>Sajjad Sahir</dc:creator>
      <dc:date>2009-06-17T08:55:57Z</dc:date>
    </item>
    <item>
      <title>Re: swap question: memory 100% versus device 50% (and op.sys. NOT FORKING)</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/swap-question-memory-100-versus-device-50-and-op-sys-not-forking/m-p/5181940#M460075</link>
      <description>Thanks everybody for your shared knowledge.&lt;BR /&gt;&lt;BR /&gt;Very much clear now...&lt;BR /&gt;&lt;BR /&gt;Regards,&lt;BR /&gt;&lt;BR /&gt;Leo</description>
      <pubDate>Wed, 17 Jun 2009 13:37:28 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/swap-question-memory-100-versus-device-50-and-op-sys-not-forking/m-p/5181940#M460075</guid>
      <dc:creator>llagos</dc:creator>
      <dc:date>2009-06-17T13:37:28Z</dc:date>
    </item>
    <item>
      <title>Re: swap question: memory 100% versus device 50% (and op.sys. NOT FORKING)</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/swap-question-memory-100-versus-device-50-and-op-sys-not-forking/m-p/5181941#M460076</link>
      <description>Thanks everybody...</description>
      <pubDate>Wed, 17 Jun 2009 13:38:35 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/swap-question-memory-100-versus-device-50-and-op-sys-not-forking/m-p/5181941#M460076</guid>
      <dc:creator>llagos</dc:creator>
      <dc:date>2009-06-17T13:38:35Z</dc:date>
    </item>
    <item>
      <title>Re: swap question: memory 100% versus device 50% (and op.sys. NOT FORKING)</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/swap-question-memory-100-versus-device-50-and-op-sys-not-forking/m-p/5181942#M460077</link>
      <description>It would be more helpful for you to provide "swapinfo -tam" output.  It gives a nice total and in Mb, that is easier to understand.</description>
      <pubDate>Wed, 17 Jun 2009 15:35:09 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/swap-question-memory-100-versus-device-50-and-op-sys-not-forking/m-p/5181942#M460077</guid>
      <dc:creator>Dennis Handly</dc:creator>
      <dc:date>2009-06-17T15:35:09Z</dc:date>
    </item>
  </channel>
</rss>

