<?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: Memory consumption in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/memory-consumption/m-p/5253200#M471189</link>
    <description>I am also seeking for a solution for a same issue. &lt;BR /&gt;I tried to list the process using the command which I got from one forum link,&lt;BR /&gt;UNIX95= ps -eafo user,time,pid,vsz,args | sort -rk 4  and it gves me an output like shown below.&lt;BR /&gt;root     10:54:02  1861  298512 /opt/OV/lbin/perf/coda&lt;BR /&gt;orauat      09:09  9953  123200 ora_dbw0_UAT&lt;BR /&gt;oradev      00:36 26409  123200 ora_dbw0_TMFMSDEV&lt;BR /&gt;orauat      11:34 12162  119872 oracleUAT (LOCAL=NO)&lt;BR /&gt;orauat      07:11   687  119872 oracleUAT (LOCAL=NO)&lt;BR /&gt;orauat      05:27 12038  119872 oracleUAT (LOCAL=NO)&lt;BR /&gt;orauat      05:27 11981  119872 oracleUAT (LOCAL=NO)&lt;BR /&gt;orauat      05:26 12035  119872 oracleUAT (LOCAL=NO)&lt;BR /&gt;orauat      05:25 11997  119872 oracleUAT (LOCAL=NO)&lt;BR /&gt;orauat      05:20 12032  119872 oracleUAT (LOCAL=NO)&lt;BR /&gt;&lt;BR /&gt;I believes the forth column is showing the memory usage. But is in Kb ? Is it the virtual memory usage?&lt;BR /&gt;Also I can see that dbc_min_pct and dbc_max_pct value are 5. Is it causing any issues?&lt;BR /&gt;&lt;BR /&gt;Thanks.. &lt;BR /&gt;Pramod</description>
    <pubDate>Thu, 26 Aug 2010 13:17:00 GMT</pubDate>
    <dc:creator>Pramod M</dc:creator>
    <dc:date>2010-08-26T13:17:00Z</dc:date>
    <item>
      <title>Memory consumption</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/memory-consumption/m-p/5253194#M471183</link>
      <description>Hi All,&lt;BR /&gt;&lt;BR /&gt;I am working on an 11.23 server with 10G of ram. Oracle application is running in this.Almost 100% memory is being used by application now and the application team is asking to give them a break up of each process that is utilizing the memory so that either it could be tuned or will go for a memory upgradation. Is there any tool or option to find the same. glance and gpm is there in the system.&lt;BR /&gt;&lt;BR /&gt;Thanks</description>
      <pubDate>Thu, 26 Aug 2010 07:10:28 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/memory-consumption/m-p/5253194#M471183</guid>
      <dc:creator>AVV</dc:creator>
      <dc:date>2010-08-26T07:10:28Z</dc:date>
    </item>
    <item>
      <title>Re: Memory consumption</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/memory-consumption/m-p/5253195#M471184</link>
      <description>hi,&lt;BR /&gt;&lt;BR /&gt;if you are using oracle on your box, and see the memmory usage almost 100%, them you have some choices :&lt;BR /&gt;&lt;BR /&gt;1, find out, what the oracle DB and the OS ( check the kernel parameter s ) is doing, ( we are using the "Spotlight" ), and try to tune your DB.&lt;BR /&gt;&lt;BR /&gt;&lt;A href="http://www.toadworld.com/ORACLE/SpotlightonOracle/tabid/301/Default.aspx" target="_blank"&gt;http://www.toadworld.com/ORACLE/SpotlightonOracle/tabid/301/Default.aspx&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;2, ugrade the memmosty into your server.&lt;BR /&gt;&lt;BR /&gt;mikap&lt;BR /&gt;</description>
      <pubDate>Thu, 26 Aug 2010 07:30:11 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/memory-consumption/m-p/5253195#M471184</guid>
      <dc:creator>Michal Kapalka (mikap)</dc:creator>
      <dc:date>2010-08-26T07:30:11Z</dc:date>
    </item>
    <item>
      <title>Re: Memory consumption</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/memory-consumption/m-p/5253196#M471185</link>
      <description>Hi AW,&lt;BR /&gt;&lt;BR /&gt;Glance will allow you list process in order of memory usage. If you navigate to the Process List window, you can then configure to sort on memory usage.&lt;BR /&gt;&lt;BR /&gt;HTH&lt;BR /&gt;&lt;BR /&gt;Berd</description>
      <pubDate>Thu, 26 Aug 2010 08:00:49 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/memory-consumption/m-p/5253196#M471185</guid>
      <dc:creator>Berd</dc:creator>
      <dc:date>2010-08-26T08:00:49Z</dc:date>
    </item>
    <item>
      <title>Re: Memory consumption</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/memory-consumption/m-p/5253197#M471186</link>
      <description>The "top" command shows the virtual memory size of the running processes.&lt;BR /&gt;&lt;BR /&gt;The "SZ" column in the "ps -ale" output is the size in pages of a process, and if you do this:&lt;BR /&gt;&lt;BR /&gt;ps -ale | tr -s ' ' | sort -n -k10 &lt;BR /&gt;&lt;BR /&gt;Then the processes found on the bottom of the list will have the largest memory footprint. Bear in mind, though, that this will be counting shared memory multiple times - for instance I have a list of processes which all show a size of 9152 pages, but most of that is the shared executable image. It should be enough to get you in the ballpark.&lt;BR /&gt;&lt;BR /&gt;You may also want to check your kernel settings - is your dbc_max_pct set to the default of 50, for example, allowing the system to use up to half of your 10G memory for disk buffer cache? Considering that Oracle does a lot of wizardry with the disk subsystem, as I recall, the OS buffer cache may be redundant at best or detrimental to performance. An Oracle expert would have to speak to that.&lt;BR /&gt;&lt;BR /&gt;How much swap space do you have configured? Any process which allocates memory in HP-UX 11 must be able to reserve an equal amount of either device or pseudo swap space. Pseudo swap allows up to 7/8 of the system memory to be counted towards the swap reservation, so that's up to 8.75GB of memory. If you don't have at least 1.25GB of disk swap space configured, processes won't be able to allocate all of the physical memory on the box.&lt;BR /&gt;&lt;BR /&gt;If your users are serious about tuning things, they should consider splashing out the cash for a copy of Glance, too. The system tools are okay for dilettante tuning, but Glance is professional-grade, and unfortunately it's priced that way. A 32-CPU license list price is $58,000.&lt;BR /&gt;&lt;BR /&gt;HP should probably realign its per-cpu pricing in an era of thousand-core computer systems... PRM for a 32-processor, 256-core Integrity Superdome 2 would be $232,000 - yikes. Though I suppose once you get done writing a check for the Superdome, what's another quarter-mil, really?</description>
      <pubDate>Thu, 26 Aug 2010 12:30:15 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/memory-consumption/m-p/5253197#M471186</guid>
      <dc:creator>mvpel</dc:creator>
      <dc:date>2010-08-26T12:30:15Z</dc:date>
    </item>
    <item>
      <title>Re: Memory consumption</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/memory-consumption/m-p/5253198#M471187</link>
      <description>Hi,&lt;BR /&gt;&lt;BR /&gt;recommendations are good; glance is good choice to monitor memory usage, and also you can use ps -ale good size monitoring, &lt;BR /&gt;in addition maybe, you can use lsof tool to monitor memory utility in a specific appliciation bny putting address like this:&lt;BR /&gt;&lt;BR /&gt;# lsof /opt/path_to_oracle_applications&lt;BR /&gt;&lt;BR /&gt;and also kmeminfo will be used to memory utility but you need to ask an assistance of local HP since this tool is restricted now.</description>
      <pubDate>Thu, 26 Aug 2010 13:00:41 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/memory-consumption/m-p/5253198#M471187</guid>
      <dc:creator>Hakki Aydin Ucar</dc:creator>
      <dc:date>2010-08-26T13:00:41Z</dc:date>
    </item>
    <item>
      <title>Re: Memory consumption</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/memory-consumption/m-p/5253199#M471188</link>
      <description>My suggestion,&lt;BR /&gt;&lt;BR /&gt;Is the memory utilization is 100% always? if yes, First try to find why the memory utilization is 100% instead of thinking to upgrade. &lt;BR /&gt;&lt;BR /&gt;Secondly check the oracle database and application logs, OS system logs to troubleshoot this. &lt;BR /&gt;</description>
      <pubDate>Thu, 26 Aug 2010 13:07:07 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/memory-consumption/m-p/5253199#M471188</guid>
      <dc:creator>djoshi</dc:creator>
      <dc:date>2010-08-26T13:07:07Z</dc:date>
    </item>
    <item>
      <title>Re: Memory consumption</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/memory-consumption/m-p/5253200#M471189</link>
      <description>I am also seeking for a solution for a same issue. &lt;BR /&gt;I tried to list the process using the command which I got from one forum link,&lt;BR /&gt;UNIX95= ps -eafo user,time,pid,vsz,args | sort -rk 4  and it gves me an output like shown below.&lt;BR /&gt;root     10:54:02  1861  298512 /opt/OV/lbin/perf/coda&lt;BR /&gt;orauat      09:09  9953  123200 ora_dbw0_UAT&lt;BR /&gt;oradev      00:36 26409  123200 ora_dbw0_TMFMSDEV&lt;BR /&gt;orauat      11:34 12162  119872 oracleUAT (LOCAL=NO)&lt;BR /&gt;orauat      07:11   687  119872 oracleUAT (LOCAL=NO)&lt;BR /&gt;orauat      05:27 12038  119872 oracleUAT (LOCAL=NO)&lt;BR /&gt;orauat      05:27 11981  119872 oracleUAT (LOCAL=NO)&lt;BR /&gt;orauat      05:26 12035  119872 oracleUAT (LOCAL=NO)&lt;BR /&gt;orauat      05:25 11997  119872 oracleUAT (LOCAL=NO)&lt;BR /&gt;orauat      05:20 12032  119872 oracleUAT (LOCAL=NO)&lt;BR /&gt;&lt;BR /&gt;I believes the forth column is showing the memory usage. But is in Kb ? Is it the virtual memory usage?&lt;BR /&gt;Also I can see that dbc_min_pct and dbc_max_pct value are 5. Is it causing any issues?&lt;BR /&gt;&lt;BR /&gt;Thanks.. &lt;BR /&gt;Pramod</description>
      <pubDate>Thu, 26 Aug 2010 13:17:00 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/memory-consumption/m-p/5253200#M471189</guid>
      <dc:creator>Pramod M</dc:creator>
      <dc:date>2010-08-26T13:17:00Z</dc:date>
    </item>
    <item>
      <title>Re: Memory consumption</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/memory-consumption/m-p/5253201#M471190</link>
      <description>Hi,&lt;BR /&gt;&lt;BR /&gt;kmeminfo is still the best tool to check for memory consumption.&lt;BR /&gt;&lt;BR /&gt;f.e.&lt;BR /&gt;&lt;BR /&gt;# kmeminfo&lt;BR /&gt;tool: kmeminfo 9.03 - libp4 9.344 - libhpux 1.234 - HP CONFIDENTIAL&lt;BR /&gt;core: /dev/kmem live&lt;BR /&gt;link: Fri May 16 16:22:55 MET 2008&lt;BR /&gt;boot: Tue Dec 23 08:18:49 2008&lt;BR /&gt;time: Tue Feb 10 11:58:46 2009&lt;BR /&gt;[..]&lt;BR /&gt;Physical memory       =  4186529   16.0g 100%&lt;BR /&gt;Free memory           =    15729   61.4m   0%&lt;BR /&gt;User processes        =  1949827    7.4g  47%  details with -user&lt;BR /&gt;System                =  1471684    5.6g  35%&lt;BR /&gt;  Kernel              =  1471246    5.6g  35%  kernel text and data&lt;BR /&gt;[..]&lt;BR /&gt;UFC file mrg        =   689107    2.6g  16%&lt;BR /&gt;&lt;BR /&gt;# kmeminfo -user&lt;BR /&gt;List sorted by physical size, in pages/bytes:&lt;BR /&gt;&lt;BR /&gt;                              virtual        physical            swap&lt;BR /&gt;       pid       ppid   pages / bytes   pages / bytes   pages / bytes  command&lt;BR /&gt;     13921      13919 2002936    7.6g  134311  524.7m  216367  845.2m  oracle&lt;BR /&gt;     14402      14401 1912792    7.3g   85918  335.6m  125840  491.6m  oracle&lt;BR /&gt;     10367          1 2146286    8.2g   85648  334.6m  106451  415.8m  oracle&lt;BR /&gt;      2029          1  369703    1.4g   37577  146.8m   87162  340.5m  java&lt;BR /&gt;     12910          1 2101214    8.0g   35168  137.4m   61205  239.1m  oracle&lt;BR /&gt;      6534       6531  753788    2.9g   30117  117.6m   99594  389.0m  java&lt;BR /&gt;      2031          1  366302    1.4g   25568   99.9m   88706  346.5m  java&lt;BR /&gt;     13364          1 2088925    8.0g   22730   88.8m   48800  190.6m  oracle&lt;BR /&gt;     12109      12053 1814472    6.9g   17576   68.7m   26930  105.2m  oracle&lt;BR /&gt;     16448      16011 1810376    6.9g   16127   63.0m   22813   89.1m  oracle&lt;BR /&gt;     25034      24976 1810376    6.9g   15009   58.6m   22817   89.1m  oracle&lt;BR /&gt;      6624          1 2064350    7.9g   14354   56.1m   24104   94.2m  oracle&lt;BR /&gt;     13021      12932 1814472    6.9g   14159   55.3m   26998  105.5m  oracle&lt;BR /&gt;      6758          1 2064350    7.9g   14005   54.7m   24105   94.2m  oracle&lt;BR /&gt;      9534       9473 1810376    6.9g   13094   51.1m   22797   89.1m  oracle&lt;BR /&gt;     12928          1 2068446    7.9g   10963   42.8m   28278  110.5m  oracle&lt;BR /&gt;      9657          1 2060254    7.9g   10796   42.2m   20348   79.5m  oracle&lt;BR /&gt;[..]&lt;BR /&gt;     20107      14393      18   72.0k      16   64.0k      19   76.0k  ftp&lt;BR /&gt;                                             physical            swap&lt;BR /&gt;                                        pages / bytes   pages / bytes&lt;BR /&gt;                               Total: 1828790    7.0g 4143441   15.8g&lt;BR /&gt;&lt;BR /&gt;The "html" "formatting" of the above "kmeminfo -user" output does unjustice to the above output. &lt;BR /&gt;&lt;BR /&gt;But "kmeminfo" output shows that user processes "consume" in the above example 7.4g of physical ram. And the kmeminfo -user output, will show exactly how this 7g, there was a small difference in time between the taking of the kmeminfo and kmeminfo -user output I suppose, of physical ram is "spread" over all user processes. (in this case, the top 3 oracle processes take resp. 524.7m, 335.6m and 334.6m of physical ram)&lt;BR /&gt;&lt;BR /&gt;However thats in this case not the problem, as the kernel takes 5.6gig of the 16g of total physical ram and buffercache, ufc file mrg, it is a 11.31 example, another 2.6g. In this case a gigabyte of ram was saved for the userprocesses, by decreasing buffercache to take max 10% of physical ram.&lt;BR /&gt;&lt;BR /&gt;So, if you allready not have kmeminfo, open a hp support call and get it send to you.&lt;BR /&gt;&lt;BR /&gt;Greetz,&lt;BR /&gt;Chris</description>
      <pubDate>Sun, 29 Aug 2010 20:54:47 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/memory-consumption/m-p/5253201#M471190</guid>
      <dc:creator>chris huys_4</dc:creator>
      <dc:date>2010-08-29T20:54:47Z</dc:date>
    </item>
    <item>
      <title>Re: Memory consumption</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/memory-consumption/m-p/5253202#M471191</link>
      <description>Thnaks</description>
      <pubDate>Wed, 05 Jan 2011 06:43:59 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/memory-consumption/m-p/5253202#M471191</guid>
      <dc:creator>AVV</dc:creator>
      <dc:date>2011-01-05T06:43:59Z</dc:date>
    </item>
  </channel>
</rss>

