<?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: 10.20 server with possible memory / swap problems? in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/10-20-server-with-possible-memory-swap-problems/m-p/3727745#M254147</link>
    <description>Victor is right...In order to fully use your 4GB of RAM you must either: 1) add another 1500 MB of SWAP space, or 2) set the swapmem_on kernel parameter to 1.  &lt;BR /&gt;&lt;BR /&gt;As it stands now you will only use as much RAM as you have swap, which is 2,512 MB.</description>
    <pubDate>Tue, 14 Feb 2006 09:13:17 GMT</pubDate>
    <dc:creator>Patrick Wallek</dc:creator>
    <dc:date>2006-02-14T09:13:17Z</dc:date>
    <item>
      <title>10.20 server with possible memory / swap problems?</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/10-20-server-with-possible-memory-swap-problems/m-p/3727740#M254142</link>
      <description>Hi all,&lt;BR /&gt;&lt;BR /&gt;We have a 10.20 server that is reported to have memory problems.&lt;BR /&gt;&lt;BR /&gt;We can't run glance so I've tried a few other things:-&lt;BR /&gt;&lt;BR /&gt;swapinfo says:-&lt;BR /&gt;&lt;BR /&gt;# swapinfo -mat&lt;BR /&gt;             Mb      Mb      Mb   PCT  START/      Mb&lt;BR /&gt;TYPE      AVAIL    USED    FREE  USED   LIMIT RESERVE  PRI  NAME&lt;BR /&gt;dev         512       0     512    0%       0       -    1  /dev/vg00/lvol2&lt;BR /&gt;dev        2000       0    2000    0%       0       -    1  /dev/vg00/lvol4&lt;BR /&gt;reserve       -    2399   -2399&lt;BR /&gt;total      2512    2399     113   96%       -       0    -&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;Am I right in thinking that the "reserve" indicates that virtually all the swap space has been pre-allocated for processes and therefore there may not be any available?&lt;BR /&gt;&lt;BR /&gt;vmstat output says:-&lt;BR /&gt;&lt;BR /&gt;         procs           memory                   page                              faults       cpu&lt;BR /&gt;    r     b     w      avm    free   re   at    pi   po    fr   de    sr     in     sy    cs  us sy id&lt;BR /&gt;    0     0     0    84512  227921    2    2     0    0     0    0     0    853   1522   457   2  1 97&lt;BR /&gt;    0     0     0    84512  227891    1    0     0    0     0    0     0    734   1056   315   0  0 99&lt;BR /&gt;    0     0     0    84518  227891    0    0     0    0     0    0     0    726    942   305   0  0 100&lt;BR /&gt;    0     0     0    84518  227891    0    0     0    0     0    0     0    721    973   301   0  1 99&lt;BR /&gt;    0     0     0    83987  227891    0    0     0    0     0    0     0    717    899   307   0  1 99&lt;BR /&gt;    0     0     0    83816  227875    0    0     0    0     0    0     0    720    941   310   0  0 99&lt;BR /&gt;    0     0     0    83816  227875    0    0     0    0     0    0     0    715    997   301   0  1 99&lt;BR /&gt;    0     0     0    86152  227875    0    0     0    0     0    0     0    714    924   300   0  0 100&lt;BR /&gt;    0     0     0    86152  227875    0    0     0    0     0    0     0    713    968   298   1  1 99&lt;BR /&gt;    0     0     0    86105  227875    0    0     0    0     0    0     0    712    895   296   0  1 99&lt;BR /&gt;&lt;BR /&gt;Correct me if I'm wrong but this looks like we have approx 900mb free memory (4*227875).  &lt;BR /&gt;&lt;BR /&gt;"top" says:-&lt;BR /&gt;&lt;BR /&gt;Load averages: 0.08, 0.08, 0.08&lt;BR /&gt;525 processes: 523 sleeping, 1 running, 1 zombie&lt;BR /&gt;Cpu states:&lt;BR /&gt;CPU   LOAD   USER   NICE    SYS   IDLE  BLOCK  SWAIT   INTR   SSYS&lt;BR /&gt; 0    0.00   0.0%   0.0%   0.0% 100.0%   0.0%   0.0%   0.0%   0.0%&lt;BR /&gt; 1    0.09   0.0%   0.0%   0.0% 100.0%   0.0%   0.0%   0.0%   0.0%&lt;BR /&gt; 2    0.12   0.0%   0.0%   0.0% 100.0%   0.0%   0.0%   0.0%   0.0%&lt;BR /&gt; 3    0.10   1.0%   0.0%   0.0%  99.0%   0.0%   0.0%   0.0%   0.0%&lt;BR /&gt;---   ----  -----  -----  -----  -----  -----  -----  -----  -----&lt;BR /&gt;avg   0.08   1.0%   0.0%   0.0%  99.0%   0.0%   0.0%   0.0%   0.0%&lt;BR /&gt;&lt;BR /&gt;Memory: 869372K (787540K) real, 386204K (340016K) virtual, 911348K free  Page# 1/19&lt;BR /&gt;&lt;BR /&gt;The memory and virtual memory figures seem to tally with vmstat.&lt;BR /&gt;&lt;BR /&gt;It looks like we have enough free memory.&lt;BR /&gt;&lt;BR /&gt;So - my concern is around the output from swapinfo.  We have 4gb physical memory.  I guess the 2.5gb of swap could be a little low since (from what I can gather) we should have 2 or 2.5 times phys memory.&lt;BR /&gt;&lt;BR /&gt;If anyone has any comments / tips / feedback - that would be great.&lt;BR /&gt;&lt;BR /&gt;Cheers,&lt;BR /&gt;&lt;BR /&gt;Phil.</description>
      <pubDate>Thu, 09 Feb 2006 04:19:32 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/10-20-server-with-possible-memory-swap-problems/m-p/3727740#M254142</guid>
      <dc:creator>Phil Janes_1</dc:creator>
      <dc:date>2006-02-09T04:19:32Z</dc:date>
    </item>
    <item>
      <title>Re: 10.20 server with possible memory / swap problems?</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/10-20-server-with-possible-memory-swap-problems/m-p/3727741#M254143</link>
      <description>Hello Phil,&lt;BR /&gt;&lt;BR /&gt;Your interpretation of the values seems OK.&lt;BR /&gt;&lt;BR /&gt;using 2 to 2.5 times the physical memory as swap seems to be a bit outdated to me. This was trou as long, as you had physical memory around several dozend or few hundred MB.&lt;BR /&gt;&lt;BR /&gt;You should look at your applications and figure out, how many swap they need. may be a database requires an awfull lot of them or some application requires no swap at all. If you would really constantly swap 4 to 5 GB, your system would become pretty slow. &lt;BR /&gt;&lt;BR /&gt;I would start analycing and optimicing the applications. Parehaps you can install a glance trialversion, which may be used for 30 days.&lt;BR /&gt;&lt;BR /&gt;Hope this helps&lt;BR /&gt;Ralf</description>
      <pubDate>Tue, 14 Feb 2006 03:32:39 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/10-20-server-with-possible-memory-swap-problems/m-p/3727741#M254143</guid>
      <dc:creator>Ralf Seefeldt</dc:creator>
      <dc:date>2006-02-14T03:32:39Z</dc:date>
    </item>
    <item>
      <title>Re: 10.20 server with possible memory / swap problems?</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/10-20-server-with-possible-memory-swap-problems/m-p/3727742#M254144</link>
      <description>Shalom Phil,&lt;BR /&gt;&lt;BR /&gt;I agree that having swap at 2.5 times RAM merely slows the system down.&lt;BR /&gt;&lt;BR /&gt;Swap reservation is nice to know, but its not key. They key issue is whether or not processes are paging from disk to memory or back again.&lt;BR /&gt;&lt;BR /&gt;The vmstat command measures this.&lt;BR /&gt;&lt;BR /&gt;Page faults are not a problem, but lots of paging, high cpu times to the vhand process and such show an overloaded system that needs more memory.&lt;BR /&gt;&lt;BR /&gt;The goal in todays performance management is to never page a process to disk. What I generally do for systems that are susceptiable to stress is have two swap areas. One is small, priority 0 first, usually as little as half of physical ram.&lt;BR /&gt;&lt;BR /&gt;The second is larger and set to a higher priority number and is therefore less likely to be used.&lt;BR /&gt;&lt;BR /&gt;I learned this methodology from the posts of A. Clay Stephenson.&lt;BR /&gt;&lt;BR /&gt;SEP</description>
      <pubDate>Tue, 14 Feb 2006 03:37:19 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/10-20-server-with-possible-memory-swap-problems/m-p/3727742#M254144</guid>
      <dc:creator>Steven E. Protter</dc:creator>
      <dc:date>2006-02-14T03:37:19Z</dc:date>
    </item>
    <item>
      <title>Re: 10.20 server with possible memory / swap problems?</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/10-20-server-with-possible-memory-swap-problems/m-p/3727743#M254145</link>
      <description>Thanks for the feedback guys.</description>
      <pubDate>Tue, 14 Feb 2006 03:41:56 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/10-20-server-with-possible-memory-swap-problems/m-p/3727743#M254145</guid>
      <dc:creator>Phil Janes_1</dc:creator>
      <dc:date>2006-02-14T03:41:56Z</dc:date>
    </item>
    <item>
      <title>Re: 10.20 server with possible memory / swap problems?</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/10-20-server-with-possible-memory-swap-problems/m-p/3727744#M254146</link>
      <description>Hi Phil,&lt;BR /&gt;From what I see you may have some memory issue for HPUX is a VM system... &lt;BR /&gt;This means you can load in memory as much as the sizwe of the SWAP and since your swap in 2.5 GB you have with almost 2.4GB reserved not much left...&lt;BR /&gt;So to be able to use (for processes) all your RAM you will have to add another 1.5GB of swap...&lt;BR /&gt;Is this a 32bit OS?&lt;BR /&gt;Then you may fall on other limitations I cant remember like that but I remembered using memory windows...&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;All the best&lt;BR /&gt;Victor</description>
      <pubDate>Tue, 14 Feb 2006 06:55:37 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/10-20-server-with-possible-memory-swap-problems/m-p/3727744#M254146</guid>
      <dc:creator>Victor BERRIDGE</dc:creator>
      <dc:date>2006-02-14T06:55:37Z</dc:date>
    </item>
    <item>
      <title>Re: 10.20 server with possible memory / swap problems?</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/10-20-server-with-possible-memory-swap-problems/m-p/3727745#M254147</link>
      <description>Victor is right...In order to fully use your 4GB of RAM you must either: 1) add another 1500 MB of SWAP space, or 2) set the swapmem_on kernel parameter to 1.  &lt;BR /&gt;&lt;BR /&gt;As it stands now you will only use as much RAM as you have swap, which is 2,512 MB.</description>
      <pubDate>Tue, 14 Feb 2006 09:13:17 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/10-20-server-with-possible-memory-swap-problems/m-p/3727745#M254147</guid>
      <dc:creator>Patrick Wallek</dc:creator>
      <dc:date>2006-02-14T09:13:17Z</dc:date>
    </item>
  </channel>
</rss>

