<?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 used = 100% in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/swap-used-100/m-p/2464536#M15364</link>
    <description>Hi Asad,&lt;BR /&gt;&lt;BR /&gt;Try and increase the swap space to 2Gb, if swapmem_on=1, then set nbuf and bufpages to zero and increase your swap upto 2Gb.&lt;BR /&gt;&lt;BR /&gt;</description>
    <pubDate>Tue, 14 Nov 2000 16:01:39 GMT</pubDate>
    <dc:creator>CHRIS_ANORUO</dc:creator>
    <dc:date>2000-11-14T16:01:39Z</dc:date>
    <item>
      <title>swap used = 100%</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/swap-used-100/m-p/2464535#M15363</link>
      <description>Hi&lt;BR /&gt;We have a L class (1000) server with 1G of physical memory and 1G of device swap space.  Occasionally the system hangs and the output of swapinfo -tam shows 100% used total swap space.  We have two physical volumes and 1 VG with LVs mirrored on those two PVs.  How we can resolve this memory bottleneck.  &lt;BR /&gt;May be we can add another LV on one of the PVs and use as a secondary swap device.  &lt;BR /&gt;Is there any kernel parameter that has to be looked at.&lt;BR /&gt;swapmem_on = 1 &lt;BR /&gt;We are running Ariba application on this server.  &lt;BR /&gt;Any advice /suggestion will be helpful&lt;BR /&gt;Thanks&lt;BR /&gt;</description>
      <pubDate>Tue, 14 Nov 2000 15:20:51 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/swap-used-100/m-p/2464535#M15363</guid>
      <dc:creator>Asad Malik</dc:creator>
      <dc:date>2000-11-14T15:20:51Z</dc:date>
    </item>
    <item>
      <title>Re: swap used = 100%</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/swap-used-100/m-p/2464536#M15364</link>
      <description>Hi Asad,&lt;BR /&gt;&lt;BR /&gt;Try and increase the swap space to 2Gb, if swapmem_on=1, then set nbuf and bufpages to zero and increase your swap upto 2Gb.&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Tue, 14 Nov 2000 16:01:39 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/swap-used-100/m-p/2464536#M15364</guid>
      <dc:creator>CHRIS_ANORUO</dc:creator>
      <dc:date>2000-11-14T16:01:39Z</dc:date>
    </item>
    <item>
      <title>Re: swap used = 100%</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/swap-used-100/m-p/2464537#M15365</link>
      <description>Hi:&lt;BR /&gt;&lt;BR /&gt;Yes, you should definitely configure additional swap space.&lt;BR /&gt;&lt;BR /&gt;Enable the kernel parameter 'swapmem_on' by setting it to one (1).  This is called "pseudo swap" and allows for the use of system memory as additional swap space.&lt;BR /&gt;&lt;BR /&gt;You may need to increase the kernel &lt;MAXSWAPCHUNKS&gt; too, in order to create additional swap environments.&lt;BR /&gt;&lt;BR /&gt;You can setup a new logical volume as an additional swap space.  For best performance, make the size of this secondary swap the same as your primary, and set the swap priority to be the same too.&lt;BR /&gt;&lt;BR /&gt;For additional procedural guidelines for managing swap space, see the System Administration Tasks manual:&lt;BR /&gt;&lt;BR /&gt;&lt;A href="http://docs.hp.com/hpux/onlinedocs/B2355-90672/B2355-90672.html" target="_blank"&gt;http://docs.hp.com/hpux/onlinedocs/B2355-90672/B2355-90672.html&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;...JRF...&lt;/MAXSWAPCHUNKS&gt;</description>
      <pubDate>Tue, 14 Nov 2000 16:08:15 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/swap-used-100/m-p/2464537#M15365</guid>
      <dc:creator>James R. Ferguson</dc:creator>
      <dc:date>2000-11-14T16:08:15Z</dc:date>
    </item>
    <item>
      <title>Re: swap used = 100%</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/swap-used-100/m-p/2464538#M15366</link>
      <description>Hi Asad,&lt;BR /&gt;&lt;BR /&gt;The generally admitted rule regarding the swap space size is 2 to 3 times the physical memory (RAM) size. In some exceptional cases it could even be necessary to use more than that.&lt;BR /&gt;&lt;BR /&gt;Your system should have at least 2GB swap, as Chris and James already told you.&lt;BR /&gt;&lt;BR /&gt;Best regards,&lt;BR /&gt;&lt;BR /&gt;Dan&lt;BR /&gt;</description>
      <pubDate>Wed, 15 Nov 2000 07:29:32 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/swap-used-100/m-p/2464538#M15366</guid>
      <dc:creator>Dan Hetzel</dc:creator>
      <dc:date>2000-11-15T07:29:32Z</dc:date>
    </item>
    <item>
      <title>Re: swap used = 100%</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/swap-used-100/m-p/2464539#M15367</link>
      <description>So I should go ahead and do the following steps&lt;BR /&gt;1. Create a logical volume on the same VG where primary swap is, as we have only 1 VG.&lt;BR /&gt;2. Create a swap device on this LV.  Do I need to mirror this LV on other disk in VG as all other LVs are mirrored?&lt;BR /&gt;3. Enable swap device and add entry in /etc/fstab file with priority 1.&lt;BR /&gt;4. There is no reboot of system is involved.&lt;BR /&gt;&lt;BR /&gt;Do you think these step are ok.  Any more suggestion/comments will be appreciated&lt;BR /&gt;Thanks&lt;BR /&gt;</description>
      <pubDate>Wed, 15 Nov 2000 13:51:57 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/swap-used-100/m-p/2464539#M15367</guid>
      <dc:creator>Asad Malik</dc:creator>
      <dc:date>2000-11-15T13:51:57Z</dc:date>
    </item>
    <item>
      <title>Re: swap used = 100%</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/swap-used-100/m-p/2464540#M15368</link>
      <description>That procedure sounds safe to me.&lt;BR /&gt;&lt;BR /&gt;And YES I would go ahead and mirror your second swap LV.  You want to have both swap areas available in case you have a disk go bad.</description>
      <pubDate>Wed, 15 Nov 2000 19:57:21 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/swap-used-100/m-p/2464540#M15368</guid>
      <dc:creator>Patrick Wallek</dc:creator>
      <dc:date>2000-11-15T19:57:21Z</dc:date>
    </item>
    <item>
      <title>Re: swap used = 100%</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/swap-used-100/m-p/2464541#M15369</link>
      <description>You can use SAM comfortably to create another swap space. Search in this forum for steps in creating a mirror disk. Then assign your points to help us know we solved the problems.</description>
      <pubDate>Thu, 16 Nov 2000 15:39:33 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/swap-used-100/m-p/2464541#M15369</guid>
      <dc:creator>CHRIS_ANORUO</dc:creator>
      <dc:date>2000-11-16T15:39:33Z</dc:date>
    </item>
  </channel>
</rss>

