<?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: vmstat : Page allocate failures (including 4K) means memory/swap shortage? in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/vmstat-page-allocate-failures-including-4k-means-memory-swap/m-p/3327469#M188535</link>
    <description>It appears that this box has run out of virtual memory at least a few times which would mean that you need more memory and/or swapspace. However, adding more memory/swap may only delay the problems if you are dealing with memory leaks -- and I suspect that is the real problem. I would not be a very happy camper if someone sold me (or told me to buy) several tens of thousands of dollars worth of memory and/or disk and the only effect was that instead of crashing every day, I now crash every other day. &lt;BR /&gt;&lt;BR /&gt;You need to do more digging and determine if you have processes growing significantly in size over time.&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;</description>
    <pubDate>Fri, 09 Jul 2004 09:56:40 GMT</pubDate>
    <dc:creator>A. Clay Stephenson</dc:creator>
    <dc:date>2004-07-09T09:56:40Z</dc:date>
    <item>
      <title>vmstat : Page allocate failures (including 4K) means memory/swap shortage?</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/vmstat-page-allocate-failures-including-4k-means-memory-swap/m-p/3327468#M188534</link>
      <description>I have following statistics from "vmstat -s" output from client's site that is experiencing some problems running their business apps. &lt;BR /&gt;&lt;BR /&gt;Output contains quite a few "page allocation" failures for all page sizes (including 4K) and 300K page outs.&lt;BR /&gt;&lt;BR /&gt;Can I conclude from this result that they have(or have had since the last "vmstat -z") memory (and possibly also swap) shortage on their server?&lt;BR /&gt;&lt;BR /&gt;"vmstat -s" output is attached&lt;BR /&gt;&lt;BR /&gt;Thank you.&lt;BR /&gt;</description>
      <pubDate>Fri, 09 Jul 2004 09:44:00 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/vmstat-page-allocate-failures-including-4k-means-memory-swap/m-p/3327468#M188534</guid>
      <dc:creator>Roman Guoussev-Donskoi</dc:creator>
      <dc:date>2004-07-09T09:44:00Z</dc:date>
    </item>
    <item>
      <title>Re: vmstat : Page allocate failures (including 4K) means memory/swap shortage?</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/vmstat-page-allocate-failures-including-4k-means-memory-swap/m-p/3327469#M188535</link>
      <description>It appears that this box has run out of virtual memory at least a few times which would mean that you need more memory and/or swapspace. However, adding more memory/swap may only delay the problems if you are dealing with memory leaks -- and I suspect that is the real problem. I would not be a very happy camper if someone sold me (or told me to buy) several tens of thousands of dollars worth of memory and/or disk and the only effect was that instead of crashing every day, I now crash every other day. &lt;BR /&gt;&lt;BR /&gt;You need to do more digging and determine if you have processes growing significantly in size over time.&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Fri, 09 Jul 2004 09:56:40 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/vmstat-page-allocate-failures-including-4k-means-memory-swap/m-p/3327469#M188535</guid>
      <dc:creator>A. Clay Stephenson</dc:creator>
      <dc:date>2004-07-09T09:56:40Z</dc:date>
    </item>
    <item>
      <title>Re: vmstat : Page allocate failures (including 4K) means memory/swap shortage?</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/vmstat-page-allocate-failures-including-4k-means-memory-swap/m-p/3327470#M188536</link>
      <description>Hi,&lt;BR /&gt;&lt;BR /&gt;Better tools are 'swapinfo -t' and 'vmstat 2 20' over the time. If the system is running short of memory and is paging out, you should see a non-zero number in KB Used or PCT Used in 'swapinfo -dft' output and the po column in 'vmstat' output is constantly a double digit number. &lt;BR /&gt;&lt;BR /&gt;To find out the leaks, you can run the command&lt;BR /&gt;&lt;BR /&gt;UNIX95= ps -e -o 'vsz pid args' |sort -n&lt;BR /&gt;&lt;BR /&gt;in frequent intervals and note the processes that have vsz (first column) growing constantly.&lt;BR /&gt;&lt;BR /&gt;May be the system's buffer cache is left at default which is 50%. Check with kmtune -l -q dbc_max_pct, You can lower it to get around 400MB. It's supposed to be dynamically changed with the utilization but I found it doing it better only with 11i.&lt;BR /&gt;&lt;BR /&gt;Glance\gpm can be an excellent tool to have a look the resources.&lt;BR /&gt;&lt;BR /&gt;-Sri</description>
      <pubDate>Fri, 09 Jul 2004 10:16:58 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/vmstat-page-allocate-failures-including-4k-means-memory-swap/m-p/3327470#M188536</guid>
      <dc:creator>Sridhar Bhaskarla</dc:creator>
      <dc:date>2004-07-09T10:16:58Z</dc:date>
    </item>
    <item>
      <title>Re: vmstat : Page allocate failures (including 4K) means memory/swap shortage?</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/vmstat-page-allocate-failures-including-4k-means-memory-swap/m-p/3327471#M188537</link>
      <description>Thank you for both replies!&lt;BR /&gt;For political/administrative reasons before we proceed with further investigation on customer site I had to submit preliminary report based only on very limited info.&lt;BR /&gt;Usually I go with tools you both mentioned  (like glance advisor, vmstat with interval or pstat interface to check processes memory) to verify what/how much is using memory.&lt;BR /&gt;Never really needed "vmstat -s" before.&lt;BR /&gt;But this practically is the only output I have on memory usage at this point.&lt;BR /&gt;Therefore needed second opinion on this.&lt;BR /&gt;And you responses have been most helpful.&lt;BR /&gt;Thanks again!&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Fri, 09 Jul 2004 11:19:43 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/vmstat-page-allocate-failures-including-4k-means-memory-swap/m-p/3327471#M188537</guid>
      <dc:creator>Roman Guoussev-Donskoi</dc:creator>
      <dc:date>2004-07-09T11:19:43Z</dc:date>
    </item>
    <item>
      <title>Re: vmstat : Page allocate failures (including 4K) means memory/swap shortage?</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/vmstat-page-allocate-failures-including-4k-means-memory-swap/m-p/3327472#M188538</link>
      <description>Page outs are all you need right now. However, vmstat -s can be misleading if you don't know when vmstat -z was last run. These stats (page out) would be terrible if the measurement period was 1 day, but may be normal if the period is one month. Assuming that the measurement period is just a few days, the page out value indicates a severe shortage of RAM. You can keep things plodding along with more swap space but page outs can degrade application performance as much as 50 to 100 times slower. In a modern server, trying to run with small RAM just doesn't make sense. It usually cripples otherwise high-performance programs.&lt;BR /&gt; &lt;BR /&gt;Verify the running page out rate with vmstat or Glance. If the rates are single digits for a 5 second measurement period, you're probably OK. 2 digits is a warning and 3 or more digits indicates severe RAM shortage.</description>
      <pubDate>Sat, 10 Jul 2004 20:37:12 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/vmstat-page-allocate-failures-including-4k-means-memory-swap/m-p/3327472#M188538</guid>
      <dc:creator>Bill Hassell</dc:creator>
      <dc:date>2004-07-10T20:37:12Z</dc:date>
    </item>
  </channel>
</rss>

