<?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 full on hux 11.11 in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/memory-full-on-hux-11-11/m-p/3424414#M204643</link>
    <description>Most probablly there is no room to start the a process. Can you post&lt;BR /&gt;&lt;BR /&gt;glance -m&lt;BR /&gt;&lt;BR /&gt;Also when do you get this error?? Look at this -- &lt;BR /&gt;&lt;BR /&gt;grep -i 12 /usr/include/sys/errno.h&lt;BR /&gt;#define ENOMEM          12      /* Not enough core              */&lt;BR /&gt;&lt;BR /&gt;Anil</description>
    <pubDate>Wed, 17 Nov 2004 14:57:08 GMT</pubDate>
    <dc:creator>RAC_1</dc:creator>
    <dc:date>2004-11-17T14:57:08Z</dc:date>
    <item>
      <title>Memory full on hux 11.11</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/memory-full-on-hux-11-11/m-p/3424413#M204642</link>
      <description>I am getting "out of memory HP-UX Error: 12: Not enough space " error , memory utilisation is almost 96%.&lt;BR /&gt;the swapinfo o/p is like&lt;BR /&gt;swapinfo -tm&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       16384    2748   13636   17%       0       -    1  /dev/vg00/lvol2&lt;BR /&gt;dev       16000    2507   13493   16%       0       -    1  /dev/vg00/swap&lt;BR /&gt;reserve       -   24748  -24748&lt;BR /&gt;memory    25299   24384     915   96%&lt;BR /&gt;total     57683   54387    3296   94%       -       0    -&lt;BR /&gt;Pl suggest.</description>
      <pubDate>Wed, 17 Nov 2004 14:53:37 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/memory-full-on-hux-11-11/m-p/3424413#M204642</guid>
      <dc:creator>vaman</dc:creator>
      <dc:date>2004-11-17T14:53:37Z</dc:date>
    </item>
    <item>
      <title>Re: Memory full on hux 11.11</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/memory-full-on-hux-11-11/m-p/3424414#M204643</link>
      <description>Most probablly there is no room to start the a process. Can you post&lt;BR /&gt;&lt;BR /&gt;glance -m&lt;BR /&gt;&lt;BR /&gt;Also when do you get this error?? Look at this -- &lt;BR /&gt;&lt;BR /&gt;grep -i 12 /usr/include/sys/errno.h&lt;BR /&gt;#define ENOMEM          12      /* Not enough core              */&lt;BR /&gt;&lt;BR /&gt;Anil</description>
      <pubDate>Wed, 17 Nov 2004 14:57:08 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/memory-full-on-hux-11-11/m-p/3424414#M204643</guid>
      <dc:creator>RAC_1</dc:creator>
      <dc:date>2004-11-17T14:57:08Z</dc:date>
    </item>
    <item>
      <title>Re: Memory full on hux 11.11</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/memory-full-on-hux-11-11/m-p/3424415#M204644</link>
      <description>Either add more memory or add more swap space.  Swap space is the easier/cheaper of the two but your performance is going to be horrible while all that swapping is going on.  Check dbc_max kernel parameter to see if you're using a lot of buffer cache.  Ideally you want to hold it down to 300-400 Mb - something like 5 to 10 percent.&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;Pete</description>
      <pubDate>Wed, 17 Nov 2004 14:57:47 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/memory-full-on-hux-11-11/m-p/3424415#M204644</guid>
      <dc:creator>Pete Randall</dc:creator>
      <dc:date>2004-11-17T14:57:47Z</dc:date>
    </item>
    <item>
      <title>Re: Memory full on hux 11.11</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/memory-full-on-hux-11-11/m-p/3424416#M204645</link>
      <description>As well as the posts above, find out what is using all that ram:&lt;BR /&gt;&lt;BR /&gt;# cat memtop&lt;BR /&gt;#!/bin/sh&lt;BR /&gt;# memtop - show top memory users and pid&lt;BR /&gt;# VSZ is in KB&lt;BR /&gt;# &lt;BR /&gt;echo "VSZ(KB)   PID RUSER    COMMAND"&lt;BR /&gt;UNIX95= ps -e -o 'vsz pid ruser args' |sort -nr|head -30&lt;BR /&gt;&lt;BR /&gt;Rgds...Geoff</description>
      <pubDate>Wed, 17 Nov 2004 15:09:41 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/memory-full-on-hux-11-11/m-p/3424416#M204645</guid>
      <dc:creator>Geoff Wild</dc:creator>
      <dc:date>2004-11-17T15:09:41Z</dc:date>
    </item>
    <item>
      <title>Re: Memory full on hux 11.11</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/memory-full-on-hux-11-11/m-p/3424417#M204646</link>
      <description>Hi Vaman,&lt;BR /&gt;&lt;BR /&gt;The 'memory' line in 'swapinfo' tells  you how much memory *is not available* for reservation anymore. It may be closely associated with utilization but not utilizatin itself.&lt;BR /&gt;&lt;BR /&gt;Not enough space means, you don't have enough 'swap space'. You could add some more swap to facilitate to bring more processes up. However, the system may degrade in performance as the system seems to be already paging. See "MB Used" Column. Run 'vmstat' and observe 'po' column. If you see it non-zero, then it's better to add more memory if there are no memory leaks.&lt;BR /&gt;&lt;BR /&gt;Look at your dbc_max_pct value. "kmtune -l -q dbc_max_pct". If it is left at it's default which is 50%, it can be a waste of memory. Reduce it to get around 500-700MB.&lt;BR /&gt;&lt;BR /&gt;-Sri</description>
      <pubDate>Wed, 17 Nov 2004 15:15:54 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/memory-full-on-hux-11-11/m-p/3424417#M204646</guid>
      <dc:creator>Sridhar Bhaskarla</dc:creator>
      <dc:date>2004-11-17T15:15:54Z</dc:date>
    </item>
    <item>
      <title>Re: Memory full on hux 11.11</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/memory-full-on-hux-11-11/m-p/3424418#M204647</link>
      <description>Follow on to Sri&lt;BR /&gt;&lt;BR /&gt;dbc_max_pct we set that to 7&lt;BR /&gt;dbc_min_pct we set that to 5. Changing this figure is expensive in cpu terms, so we tune it tight to avoid this.&lt;BR /&gt;&lt;BR /&gt;Overall you don't have enough memory. Extending swap will probably allow your system to work, though it will be very slow.&lt;BR /&gt;&lt;BR /&gt;A memory upgrade on the otherhand might slow down or stop paging which will make the system much more usable.&lt;BR /&gt;&lt;BR /&gt;Its not cheap, but nowadays if you are paging, you should almost always be planning a memory buy.&lt;BR /&gt;&lt;BR /&gt;SEP&lt;BR /&gt;</description>
      <pubDate>Wed, 17 Nov 2004 15:21:07 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/memory-full-on-hux-11-11/m-p/3424418#M204647</guid>
      <dc:creator>Steven E. Protter</dc:creator>
      <dc:date>2004-11-17T15:21:07Z</dc:date>
    </item>
    <item>
      <title>Re: Memory full on hux 11.11</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/memory-full-on-hux-11-11/m-p/3424419#M204648</link>
      <description>You have lots of memory (24 Gb) and lots of swap space (32Gb) although a lot is actually used (16Gb). Your problem may be due to maxdsiz in your kernel. The kernel limits the maximum size that a program can grow with this parameter. It is used to keep a runaway program from using all of memory. &lt;BR /&gt; &lt;BR /&gt;If maxdsiz is 64megs, (a long time default), then programs can't grow any larger. If this value is more than 1Gb, then the program that is out of memory needs to be chatr'ed to take advantage of quadrant 1 and 2, assuming that this is a 32bit program and the program does not need more than 1700megs of data space. Now if the program wants gigabytes of space, it must be recompiled as a 64bit program since a 32bit program is severely constrained on maximum memory addresses. If this is actually a 64bit program, then the parameter maxdsiz_64 will have to be bumbed up.</description>
      <pubDate>Wed, 17 Nov 2004 15:21:55 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/memory-full-on-hux-11-11/m-p/3424419#M204648</guid>
      <dc:creator>Bill Hassell</dc:creator>
      <dc:date>2004-11-17T15:21:55Z</dc:date>
    </item>
    <item>
      <title>Re: Memory full on hux 11.11</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/memory-full-on-hux-11-11/m-p/3424420#M204649</link>
      <description>You have swap space greater than physical memory size, so you can turn off pseudo swap. You can set the kernel parameter swapmem_on to 0. This will allow to better use of memory.&lt;BR /&gt;&lt;BR /&gt;Regards,&lt;BR /&gt;Zygmunt&lt;BR /&gt;</description>
      <pubDate>Wed, 17 Nov 2004 16:39:11 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/memory-full-on-hux-11-11/m-p/3424420#M204649</guid>
      <dc:creator>Zygmunt Krawczyk</dc:creator>
      <dc:date>2004-11-17T16:39:11Z</dc:date>
    </item>
    <item>
      <title>Re: Memory full on hux 11.11</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/memory-full-on-hux-11-11/m-p/3424421#M204650</link>
      <description>Hi Vaman&lt;BR /&gt;&lt;BR /&gt;I think you are making an assumption about the 'memory' line in swapinfo that is not correct.  This refers to pseudo-swap and is not indicative of actual memory use. The amount of pseudo memory is roughly equal to 75% of phys memory so you have about 30GB of phys memory.&lt;BR /&gt;&lt;BR /&gt;You need to check the amout of free memory on the system.  Use glance (option 'm') or:&lt;BR /&gt;# vmstat 1 2 | egrep -v 'procs|free' | tail -1 | awk '{ print $5*4/1024 }'.&lt;BR /&gt;(This gives free memory in MB)&lt;BR /&gt;&lt;BR /&gt;If you have plenty of free memory and pageout (po) rate is low, then your problem is very likely related to a kernel parameter setting as Bill has pointed out.&lt;BR /&gt;&lt;BR /&gt;Cheers&lt;BR /&gt;Con&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Wed, 17 Nov 2004 18:09:16 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/memory-full-on-hux-11-11/m-p/3424421#M204650</guid>
      <dc:creator>Con O'Kelly</dc:creator>
      <dc:date>2004-11-17T18:09:16Z</dc:date>
    </item>
    <item>
      <title>Re: Memory full on hux 11.11</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/memory-full-on-hux-11-11/m-p/3424422#M204651</link>
      <description>here is o/p ..&lt;BR /&gt;kmtune -l -q dbc_max_pct | more&lt;BR /&gt;Parameter:      dbc_max_pct&lt;BR /&gt;Current:        10&lt;BR /&gt;Planned:        10&lt;BR /&gt;Default:        50&lt;BR /&gt;Minimum:        -&lt;BR /&gt;Module:         -&lt;BR /&gt;Version:        -&lt;BR /&gt;Dynamic:        No&lt;BR /&gt; kmtune -l -q maxdsiz&lt;BR /&gt;Parameter:      maxdsiz&lt;BR /&gt;Current:        4294963200&lt;BR /&gt;Planned:        4294963200&lt;BR /&gt;Default:        0x10000000&lt;BR /&gt;Minimum:        -&lt;BR /&gt;Module:         -&lt;BR /&gt;Version:        -&lt;BR /&gt;Dynamic:        No&lt;BR /&gt;&lt;BR /&gt;&amp;amp; glance -m (pl pase it in notepad to view)&lt;BR /&gt;&lt;BR /&gt;CPU  Util   S      SAR     RU                     U            | 76%   71%   90%&lt;BR /&gt;Disk Util   F FVV                                              |  8%   13%   33%&lt;BR /&gt;Mem  Util   S         SU                              UB  B    | 93%   93%   93%&lt;BR /&gt;Swap Util   U                        UR                    R   | 95%   95%   95%&lt;BR /&gt;                          MEMORY REPORT                      Users=   17&lt;BR /&gt;Event         Current   Cumulative   Current Rate   Cum Rate   High Rate&lt;BR /&gt;--------------------------------------------------------------------------------&lt;BR /&gt;Page Faults      2185       625006       364.1     2037.8     10144.6&lt;BR /&gt;Page In          1763       375918       293.8     1225.6      3540.3&lt;BR /&gt;Page Out            0            0         0.0        0.0         0.0&lt;BR /&gt;KB Paged In      92kb       19.7mb        15.3       65.6       304.4&lt;BR /&gt;KB Paged Out      0kb          0kb         0.0        0.0         0.0&lt;BR /&gt;Reactivations       0            0         0.0        0.0         0.0&lt;BR /&gt;Deactivations       0            0         0.0        0.0         0.0&lt;BR /&gt;KB Deactivated    0kb          0kb         0.0        0.0         0.0&lt;BR /&gt;VM Reads           26         3542         4.3       11.5        74.8&lt;BR /&gt;VM Writes          12          744         2.0        2.4        10.4&lt;BR /&gt;&lt;BR /&gt;Total VM :  39.1gb   Sys Mem  :  6.68gb   User Mem:  20.4gb   Phys Mem:  32.0gb&lt;BR /&gt;&lt;BR /&gt;In swapinfo What I think is there are 2 dev swaps but only 17% &amp;amp; 18% been used. but in memory line I get 95% used.</description>
      <pubDate>Thu, 18 Nov 2004 08:35:48 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/memory-full-on-hux-11-11/m-p/3424422#M204651</guid>
      <dc:creator>vaman</dc:creator>
      <dc:date>2004-11-18T08:35:48Z</dc:date>
    </item>
    <item>
      <title>Re: Memory full on hux 11.11</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/memory-full-on-hux-11-11/m-p/3424423#M204652</link>
      <description>&lt;A href="http://forums1.itrc.hp.com/service/forums/questionanswer.do?threadId=605128" target="_blank"&gt;http://forums1.itrc.hp.com/service/forums/questionanswer.do?threadId=605128&lt;/A&gt;</description>
      <pubDate>Thu, 18 Nov 2004 09:14:00 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/memory-full-on-hux-11-11/m-p/3424423#M204652</guid>
      <dc:creator>Jairo Campana</dc:creator>
      <dc:date>2004-11-18T09:14:00Z</dc:date>
    </item>
    <item>
      <title>Re: Memory full on hux 11.11</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/memory-full-on-hux-11-11/m-p/3424424#M204653</link>
      <description>hello Anil (RAC)&lt;BR /&gt;&lt;BR /&gt;here is the o/p&lt;BR /&gt;grep -i 12 /usr/include/sys/errno.h&lt;BR /&gt;#define ENOMEM          12      /* Not enough core              */&lt;BR /&gt; so is it indicate the process does not have any physical memory to start?</description>
      <pubDate>Thu, 18 Nov 2004 11:08:23 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/memory-full-on-hux-11-11/m-p/3424424#M204653</guid>
      <dc:creator>vaman</dc:creator>
      <dc:date>2004-11-18T11:08:23Z</dc:date>
    </item>
    <item>
      <title>Re: Memory full on hux 11.11</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/memory-full-on-hux-11-11/m-p/3424425#M204654</link>
      <description>Hi Vaman,&lt;BR /&gt;&lt;BR /&gt;Not having memory doesn't stop you from running any commands. It will just slow things down.. may be terribly if it too bad..&lt;BR /&gt;&lt;BR /&gt;But not having 'enough swap' will stop the system from bringing more processes. Everytime a process starts, system will allot some space for it in the swap area and if there is not enough swap space, then the process will fail to come up.&lt;BR /&gt;&lt;BR /&gt;Swap areas are *physically* used only when there is memory pressure. Otherwise they are used just for reservations. &lt;BR /&gt;&lt;BR /&gt;Because HP-UX works in virtual memory realm you can always bring up processes than your actual physical memory can allow. Looks like some processes were started for which system tried to reserve swap space making it to reach 100%. You would need to find those processes. If this is reoccuring again and again, then I suggest you put a cronjob that runs every 5 mins or so that will capture the processes and the memory used by them.&lt;BR /&gt;&lt;BR /&gt;UNIX95= ps -e -o 'vsz pid args'|sort -n &amp;gt; /tmp/memory/$(date +%Y%m%d%H%M)&lt;BR /&gt;&lt;BR /&gt;Keep looking at these files to determine the rogue processes. You may find some with huge vsz values when this occurs.&lt;BR /&gt;&lt;BR /&gt;To temporarily get out of this situation, add more swap space. But adding more memory will improve performance. However, you will need to work with your developers/appadmins to see if they can fix anything to reduce the memory usage.&lt;BR /&gt;&lt;BR /&gt;-Sri</description>
      <pubDate>Thu, 18 Nov 2004 13:32:41 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/memory-full-on-hux-11-11/m-p/3424425#M204654</guid>
      <dc:creator>Sridhar Bhaskarla</dc:creator>
      <dc:date>2004-11-18T13:32:41Z</dc:date>
    </item>
    <item>
      <title>Re: Memory full on hux 11.11</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/memory-full-on-hux-11-11/m-p/3424426#M204655</link>
      <description>Thanks Sri,&lt;BR /&gt;Just to clarify doubt&lt;BR /&gt;the swapinfo -tm command shows two device swaps with utilisation with only 16% &amp;amp; 17%, but the memory line in swapinfo shows 90% used how? (is it mixed with phy. memory)&lt;BR /&gt;In glance -m, swap utilisation is also shown above 90% with memory also above 90% utilisation.&lt;BR /&gt;Also last row of this command gives the memory divisions. In that my phy mem is 32gb,sys mem is 6.68, user mem =19.9, buf cache is 3.20gb, free mem is 2.15gb.&lt;BR /&gt;But my doubt is the total vm is showing 38.4gb &amp;amp; active vm is 27.1 gb so this vm figures are comming.&lt;BR /&gt;I am observing couple of oracle processes with aroud 1.2 gb each. (highest utilisation)&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Thu, 18 Nov 2004 13:52:10 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/memory-full-on-hux-11-11/m-p/3424426#M204655</guid>
      <dc:creator>vaman</dc:creator>
      <dc:date>2004-11-18T13:52:10Z</dc:date>
    </item>
    <item>
      <title>Re: Memory full on hux 11.11</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/memory-full-on-hux-11-11/m-p/3424427#M204656</link>
      <description>Hi Vaman,&lt;BR /&gt;&lt;BR /&gt;//the swapinfo -tm command shows two device swaps with utilisation with only 16% &amp;amp; 17%, but the memory line in swapinfo shows 90% used how? (is it mixed with phy. memory)&lt;BR /&gt;//&lt;BR /&gt;&lt;BR /&gt;There is a subtle difference between 'swap used' for the device areas and memory . "MB used" from the swap 'devices' is really the pages sitting on the swap that got paged out either due to memory pressure or memory mapped files.&lt;BR /&gt;&lt;BR /&gt;"MB Used" from the memory line is different from the above. It is to be understood as 'memory not available' for swap reservations anymore. Dynamically alloted memory by the kernel, the memory locked by user processes etc., will appear in this figure. So, the device swap has to offset for that calculations. &lt;BR /&gt;&lt;BR /&gt;I suggest you go to docs.hp.com and read 'memory management white papers' to get a better picture.&lt;BR /&gt;&lt;BR /&gt;-Sri</description>
      <pubDate>Thu, 18 Nov 2004 14:07:04 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/memory-full-on-hux-11-11/m-p/3424427#M204656</guid>
      <dc:creator>Sridhar Bhaskarla</dc:creator>
      <dc:date>2004-11-18T14:07:04Z</dc:date>
    </item>
  </channel>
</rss>

