<?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: &amp;quot;Not enough memory&amp;quot; errors in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/quot-not-enough-memory-quot-errors/m-p/2522879#M890071</link>
    <description>Do I have to worry about memory windows with 64-bit HPUX and 64-bit Oracle?  It was my understanding that I did not!</description>
    <pubDate>Mon, 30 Apr 2001 13:55:45 GMT</pubDate>
    <dc:creator>Brian Bientz</dc:creator>
    <dc:date>2001-04-30T13:55:45Z</dc:date>
    <item>
      <title>"Not enough memory" errors</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/quot-not-enough-memory-quot-errors/m-p/2522876#M890068</link>
      <description>We have an N-Class HP with 2 GB of memory.  In an attempt to support a large concurrent user base using Oracle's MTS, we have an SGA of about 1.25 GB.  &lt;BR /&gt;&lt;BR /&gt;Just recently, we have begun to have problems with our nightly database backup (disk to disk hot backup).  Part way through we begin seeing memory errors.  Oracle reports ORA-04030 - out of process momory when trying to allocate x bytes.  In addition, I was getting errors while logged into the HP system doing simple commands like ls (sh: fork function failed.  There is not enough memory.).&lt;BR /&gt;&lt;BR /&gt;However, all the while my top command is showing anywhere from 20 - 50 MB free.  Any ideas?&lt;BR /&gt;&lt;BR /&gt;Is there kernal parameters that need to be adjusted or do we just need more physical memory?</description>
      <pubDate>Mon, 30 Apr 2001 13:11:42 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/quot-not-enough-memory-quot-errors/m-p/2522876#M890068</guid>
      <dc:creator>Brian Bientz</dc:creator>
      <dc:date>2001-04-30T13:11:42Z</dc:date>
    </item>
    <item>
      <title>Re: "Not enough memory" errors</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/quot-not-enough-memory-quot-errors/m-p/2522877#M890069</link>
      <description>Hi Brian,&lt;BR /&gt;&lt;BR /&gt;Check your kernel shared memory parameters, I have attached my sample kernel configuration file. I hope your swap space is up to 2Gb.&lt;BR /&gt;Check also Documentations on "Using Memory Windows with 11.0". Document Id  KBAN00000306 &lt;BR /&gt;And "Understanding Shared Memory on PA-RISC Systems" &lt;BR /&gt;Document Id  RCMEMKBAN00000027 &lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Mon, 30 Apr 2001 13:26:02 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/quot-not-enough-memory-quot-errors/m-p/2522877#M890069</guid>
      <dc:creator>CHRIS_ANORUO</dc:creator>
      <dc:date>2001-04-30T13:26:02Z</dc:date>
    </item>
    <item>
      <title>Re: "Not enough memory" errors</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/quot-not-enough-memory-quot-errors/m-p/2522878#M890070</link>
      <description>is your swap configured correctly?&lt;BR /&gt;&lt;BR /&gt;See: &lt;BR /&gt;&lt;A href="http://forums.itrc.hp.com/cm/QuestionAnswer/1,1150,0x9fa20cb17a32d5118fef0090279cd0f9,00.html" target="_blank"&gt;http://forums.itrc.hp.com/cm/QuestionAnswer/1,1150,0x9fa20cb17a32d5118fef0090279cd0f9,00.html&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;max_dsize parameter in kernel  must be configured too.</description>
      <pubDate>Mon, 30 Apr 2001 13:30:05 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/quot-not-enough-memory-quot-errors/m-p/2522878#M890070</guid>
      <dc:creator>Carlos Fernandez Riera</dc:creator>
      <dc:date>2001-04-30T13:30:05Z</dc:date>
    </item>
    <item>
      <title>Re: "Not enough memory" errors</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/quot-not-enough-memory-quot-errors/m-p/2522879#M890071</link>
      <description>Do I have to worry about memory windows with 64-bit HPUX and 64-bit Oracle?  It was my understanding that I did not!</description>
      <pubDate>Mon, 30 Apr 2001 13:55:45 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/quot-not-enough-memory-quot-errors/m-p/2522879#M890071</guid>
      <dc:creator>Brian Bientz</dc:creator>
      <dc:date>2001-04-30T13:55:45Z</dc:date>
    </item>
    <item>
      <title>Re: "Not enough memory" errors</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/quot-not-enough-memory-quot-errors/m-p/2522880#M890072</link>
      <description>Step by step:&lt;BR /&gt;&lt;BR /&gt;Please run swapinfo. Your swap sapce ( adding all swap spaces) must be at least the size of your memory. If this it not true you will not use all the memory.&lt;BR /&gt;&lt;BR /&gt;By the messages you show it seems to be this kind of misconfiguration ( IMMO).&lt;BR /&gt;&lt;BR /&gt;Regards.</description>
      <pubDate>Mon, 30 Apr 2001 14:05:32 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/quot-not-enough-memory-quot-errors/m-p/2522880#M890072</guid>
      <dc:creator>Carlos Fernandez Riera</dc:creator>
      <dc:date>2001-04-30T14:05:32Z</dc:date>
    </item>
    <item>
      <title>Re: "Not enough memory" errors</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/quot-not-enough-memory-quot-errors/m-p/2522881#M890073</link>
      <description>Here is the result of swapinfo -tm&lt;BR /&gt;&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        1024       0    1024    0%       0       -    1  /dev/vg00/lvol2&lt;BR /&gt;reserve       -     869    -869&lt;BR /&gt;memory     1539    1539       0  100%&lt;BR /&gt;total      2563    2408     155   94%       -       0    -&lt;BR /&gt;&lt;BR /&gt;This machine is supposed to have 2GB of physical memory.  Do we need to configure 4GB of swap?</description>
      <pubDate>Mon, 30 Apr 2001 17:24:29 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/quot-not-enough-memory-quot-errors/m-p/2522881#M890073</guid>
      <dc:creator>Brian Bientz</dc:creator>
      <dc:date>2001-04-30T17:24:29Z</dc:date>
    </item>
    <item>
      <title>Re: "Not enough memory" errors</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/quot-not-enough-memory-quot-errors/m-p/2522882#M890074</link>
      <description>Hi Brian,&lt;BR /&gt;"theoretically" your swap needs to be the double of your physical memory.&lt;BR /&gt;I can give you on a platter that your optimal setting will be somewhere between 2 and 5 GB ;)&lt;BR /&gt;good luck,&lt;BR /&gt;Thierry.</description>
      <pubDate>Mon, 30 Apr 2001 19:24:36 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/quot-not-enough-memory-quot-errors/m-p/2522882#M890074</guid>
      <dc:creator>Thierry Poels_1</dc:creator>
      <dc:date>2001-04-30T19:24:36Z</dc:date>
    </item>
    <item>
      <title>Re: "Not enough memory" errors</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/quot-not-enough-memory-quot-errors/m-p/2522883#M890075</link>
      <description>And if you can have 4-5GB for swap, turn off the swapmem_on kernel parameter, it will help you for performance as well.</description>
      <pubDate>Tue, 01 May 2001 07:31:13 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/quot-not-enough-memory-quot-errors/m-p/2522883#M890075</guid>
      <dc:creator>Servio Cabrera</dc:creator>
      <dc:date>2001-05-01T07:31:13Z</dc:date>
    </item>
    <item>
      <title>Re: "Not enough memory" errors</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/quot-not-enough-memory-quot-errors/m-p/2522884#M890076</link>
      <description>Brian,&lt;BR /&gt;&lt;BR /&gt;The "memory" line in your "swapinfo -tm" output indicates that your pseudo-swap reservations are&lt;BR /&gt;at the maximum.  I think this is why you are getting the&lt;BR /&gt;memory errors.&lt;BR /&gt;&lt;BR /&gt;If you add another gigabyte of device swap and then&lt;BR /&gt;reboot your system, your problem should be solved.&lt;BR /&gt;&lt;BR /&gt;You could also add more device swap and turn off&lt;BR /&gt;the pseudo-swap (set swapmem_on=0).  This is&lt;BR /&gt;recommended for performance reasons, particularly&lt;BR /&gt;if your applications use a lot of locked memory&lt;BR /&gt;(e.g., a database server).  In any case, if you have&lt;BR /&gt;enough disk, I would recommend at least 3Gb of &lt;BR /&gt;swap space for your system.  &lt;BR /&gt;&lt;BR /&gt;Choose a different disk, if possible, for each additional 1-gig swap device that you create.  For example, if /dev/dsk/c0t1d0 and /dev/dsk/c1t1d0 are two disks in vg01 that can be used, then do something like:&lt;BR /&gt;&lt;BR /&gt;lvcreate -n swaplv1 -C y -r n vg01&lt;BR /&gt;lvcreate -n swaplv2 -C y -r n vg01&lt;BR /&gt;&lt;BR /&gt;and then&lt;BR /&gt;&lt;BR /&gt;lvextend -L 1000 /dev/vg01/swaplv1 /dev/dsk/c0t1d0&lt;BR /&gt;lvextend -L 1000 /dev/vg01/swaplv2 /dev/dsk/c1t1d0&lt;BR /&gt;&lt;BR /&gt;Since the priority of your primary swap is at the default value 1, you can then append the following lines to /etc/fstab :&lt;BR /&gt;&lt;BR /&gt;/dev/vg01/swaplv1  .   swap defaults 0 0&lt;BR /&gt;/dev/vg01/swaplv2  .   swap defaults 0 0&lt;BR /&gt;&lt;BR /&gt;Set swapmem_on=0 in SAM (if you choose to do so) and then reboot.&lt;BR /&gt;&lt;BR /&gt;HTH&lt;BR /&gt;&lt;BR /&gt;Mladen&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Tue, 01 May 2001 14:34:03 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/quot-not-enough-memory-quot-errors/m-p/2522884#M890076</guid>
      <dc:creator>Mladen Despic</dc:creator>
      <dc:date>2001-05-01T14:34:03Z</dc:date>
    </item>
    <item>
      <title>Re: "Not enough memory" errors</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/quot-not-enough-memory-quot-errors/m-p/2522885#M890077</link>
      <description>Hi Brian,&lt;BR /&gt;&lt;BR /&gt;Although the users provided excellent feedback as to how to correct this problem, you still have a tuning issue.&lt;BR /&gt;&lt;BR /&gt;1. determine what your hit ratio is, and see if you can lower your SGA. Sometimes a smaller SGA in a huge environment is more beneficial than a large one. Don't forget about the DB Buffers!&lt;BR /&gt;&lt;BR /&gt;2. Keep in mind the UGA and PGA with memory management.&lt;BR /&gt;&lt;BR /&gt;3. Avoid paging and swapping at all cost.&lt;BR /&gt;&lt;BR /&gt;Regards,&lt;BR /&gt;Satar Naghshineh&lt;BR /&gt;Oracle DBA/UNIX sys admin</description>
      <pubDate>Thu, 10 May 2001 00:56:33 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/quot-not-enough-memory-quot-errors/m-p/2522885#M890077</guid>
      <dc:creator>Satar Naghshineh</dc:creator>
      <dc:date>2001-05-10T00:56:33Z</dc:date>
    </item>
    <item>
      <title>Re: "Not enough memory" errors</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/quot-not-enough-memory-quot-errors/m-p/2522886#M890078</link>
      <description>Could you elaborate?  When would it be advantagous to decrease the size of the SGA and why?&lt;BR /&gt;&lt;BR /&gt;What should I not forget about DB Block Buffers?</description>
      <pubDate>Fri, 11 May 2001 18:42:18 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/quot-not-enough-memory-quot-errors/m-p/2522886#M890078</guid>
      <dc:creator>Brian Bientz</dc:creator>
      <dc:date>2001-05-11T18:42:18Z</dc:date>
    </item>
    <item>
      <title>Re: "Not enough memory" errors</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/quot-not-enough-memory-quot-errors/m-p/2522887#M890079</link>
      <description>Hi,&lt;BR /&gt;&lt;BR /&gt;In regards to Database buffers, I meant that you should test the results of adding or decreasing the number of buffers. I believe the parameter was DB_BLOCK_LRU (I forget the utility/parameter needed to test DB Block Buffers).&lt;BR /&gt;&lt;BR /&gt;In regards to having a large SGA, I asked the same question. Below is a partial response I received from Thomas Kyte (a top leader in the Oracle Database world):&lt;BR /&gt;&lt;BR /&gt;I could speculate that the queries didn't ever re-use the data (the data was&lt;BR /&gt;never read twice, lots of reading going on but not lots of re-reading of data).&lt;BR /&gt;In this case, having lots of data in the cache and managing that would slow&lt;BR /&gt;things down (lots to manage and more to look through to discover that it isn't&lt;BR /&gt;already cached and you have to go to disk anyway).&lt;BR /&gt;&lt;BR /&gt;I could speculate that the machine was swapping like crazy and need the ram&lt;BR /&gt;back.&lt;BR /&gt;&lt;BR /&gt;Its not necessarily a good thing to cache entire databases.  We are expecting,&lt;BR /&gt;and are optimized for, to have to go to disk sometimes.  We have a feature&lt;BR /&gt;called the VLM (very large memory) for caching more (showing the the bigger the&lt;BR /&gt;cache, you need different algorithms to manage).  &lt;BR /&gt;&lt;BR /&gt;Regards,&lt;BR /&gt;Satar Naghshineh</description>
      <pubDate>Mon, 14 May 2001 20:56:39 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/quot-not-enough-memory-quot-errors/m-p/2522887#M890079</guid>
      <dc:creator>Satar Naghshineh</dc:creator>
      <dc:date>2001-05-14T20:56:39Z</dc:date>
    </item>
  </channel>
</rss>

