<?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: Out of Memory Error in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/out-of-memory-error/m-p/4216801#M326897</link>
    <description>Hello Kavita,&lt;BR /&gt;As of now what i can suggest is ask SAP team to shutdown the application and  see if you have some free memory.&lt;BR /&gt;If this does not help , reboot seems to be the only option.&lt;BR /&gt;&lt;BR /&gt;ALl the error your pasted is just because there is no memory for anything.&lt;BR /&gt;BR,&lt;BR /&gt;Kapil</description>
    <pubDate>Sun, 15 Jun 2008 21:39:29 GMT</pubDate>
    <dc:creator>Kapil Jha</dc:creator>
    <dc:date>2008-06-15T21:39:29Z</dc:date>
    <item>
      <title>Out of Memory Error</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/out-of-memory-error/m-p/4216800#M326896</link>
      <description>Hello there,&lt;BR /&gt;&lt;BR /&gt;On one of our HP-UX server, we have got following alerts :&lt;BR /&gt;&lt;BR /&gt;Critical 07:51:22 06/15/08 cntrepa1.na.jnj.com HP VantagePoint Operations OpC  Scheduled action NCS_OS_HPUX_CUS_Service_Outage(service_outage_check.sh) for user root failed. &lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;Critical 11:36:12 06/15/08 cntrepa1.na.jnj.com HP OpenView Operations OpC opcle     (Logfile Encapsulator) Can't run command /sbin/dmesg - &amp;gt; /var/opt/OV/log/OpC/dmesg.out. (OpC30-127) fork(2) failed; no more memory Not enough space (OpC20-411) &lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;On checking server, I have found that both memory and swap utilization are 100%. There are lots of SAP processes running on the server.&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;ProcList CPU Rpt  Mem Rpt  Disk Rpt                                                                       NextKeys SlctProc   Help     Exit&lt;BR /&gt;B3692A GlancePlus C.03.86.00    15:52:29 cntrepa1 9000/800                                                                  Current  Avg  High&lt;BR /&gt;----------------------------------------------------------------------------------------------------------------------------------------------&lt;BR /&gt;CPU  Util   SU                         U                                                                                     | 25%   26%   29%&lt;BR /&gt;Disk Util   FVV                                                                                                              |  3%    5%   12%&lt;BR /&gt;Mem  Util   S                        SU                                                                               UB   B |100%  100%  100%&lt;BR /&gt;Swap Util   U                                                                                                      UR      R |100%  100%  100%&lt;BR /&gt;----------------------------------------------------------------------------------------------------------------------------------------------&lt;BR /&gt;                                                                 PROCESS LIST                                                     Users=    2&lt;BR /&gt;                              User      CPU Util   Cum     Disk             Thd&lt;BR /&gt;Process Name  PID   PPID  Pri Name    ( 400% max)  CPU    IO Rate    RSS    Cnt&lt;BR /&gt;--------------------------------------------------------------------------------&lt;BR /&gt;dw.sapRP1_D   7184  21507 154 rp1adm   95.3/77.0 41451.5  3.9/ 1.9  1.18gb    1&lt;BR /&gt;dw.sapRP1_D  22651  21507 155 rp1adm    0.7/ 2.6 52499.0  0.1/ 0.7 140.4mb    1&lt;BR /&gt;krsd          3267      1 168 root      0.3/ 0.4 57515.0  3.3/ 4.0   120kb    1&lt;BR /&gt;vxfsd           40      0 138 root      0.2/ 0.1 19848.2  2.9/ 8.4   1.8mb   23&lt;BR /&gt;midaemon      3241      1 -16 root      0.2/ 0.3 39558.2  0.0/ 0.0  22.0mb    3&lt;BR /&gt;sh           11735  21741 179 root      0.0/ 0.0     0.0  1.1/ 1.1   212kb    1&lt;BR /&gt;dw.sapRP1_D   1847  21507 155 rp1adm    0.0/ 2.0 22876.9  0.0/ 0.5  71.4mb    1&lt;BR /&gt;sh           11766  21741 179 root      0.0/ 0.0     0.0  1.1/ 1.1   212kb    1&lt;BR /&gt;dw.sapRP1_D  21507  21488 154 rp1adm    0.0/ 0.1  6423.5  0.0/ 0.0  24.8mb    1&lt;BR /&gt;dw.sapRP1_D  21685  21507 155 rp1adm    0.0/ 0.1  3377.5  0.0/ 0.0  38.5mb    1&lt;BR /&gt;dw.sapRP1_D  21661  21507 155 rp1adm    0.0/ 0.0   141.8  0.0/ 0.0  31.8mb    1&lt;BR /&gt;dw.sapRP1_D  21660  21507 155 rp1adm    0.0/ 0.0   325.5  0.0/ 0.0  31.8mb    1&lt;BR /&gt;dw.sapRP1_D  15997  21507 155 rp1adm    0.0/ 0.1   303.1  0.0/ 0.0  45.5mb    1&lt;BR /&gt;dw.sapRP1_D   8455  21507 155 rp1adm    0.0/ 0.2  2406.5  0.0/ 0.0  65.6mb    1&lt;BR /&gt;dw.sapRP1_D  21679  21507 155 rp1adm    0.0/ 0.0   199.5  0.0/ 0.0  34.7mb    1&lt;BR /&gt;dw.sapRP1_D   7020  21507 155 rp1adm    0.0/ 0.1   258.1  0.0/ 0.0  63.0mb    1&lt;BR /&gt;dw.sapRP1_D  21675  21507 155 rp1adm    0.0/ 0.0     2.1  0.0/ 0.0  31.8mb    1&lt;BR /&gt;dw.sapRP1_D   4865  21507 155 rp1adm    0.0/ 0.5  1846.9  0.0/ 0.1  74.8mb    1&lt;BR /&gt;dw.sapRP1_D  15161  21507 155 rp1adm    0.0/ 1.0  3612.5  0.0/ 0.1 103.7mb    1&lt;BR /&gt;dw.sapRP1_D  21680  21507 155 rp1adm    0.0/ 0.0     9.6  0.0/ 0.0  31.8mb    1&lt;BR /&gt;dw.sapRP1_D  21655  21507 155 rp1adm    0.0/ 0.1  6329.9  0.0/ 0.0  31.8mb    1&lt;BR /&gt;dw.sapRP1_D  21653  21507 155 rp1adm    0.0/ 0.4 22546.0  0.0/ 0.1  31.9mb    1&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;Because of this I am not able to execute some of the commands as out of memory error is coming.&lt;BR /&gt;&lt;BR /&gt;Please suggest what need to be done in this case.&lt;BR /&gt;&lt;BR /&gt;Thanks a lot for your help !</description>
      <pubDate>Sun, 15 Jun 2008 19:25:16 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/out-of-memory-error/m-p/4216800#M326896</guid>
      <dc:creator>Kavita Poonia</dc:creator>
      <dc:date>2008-06-15T19:25:16Z</dc:date>
    </item>
    <item>
      <title>Re: Out of Memory Error</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/out-of-memory-error/m-p/4216801#M326897</link>
      <description>Hello Kavita,&lt;BR /&gt;As of now what i can suggest is ask SAP team to shutdown the application and  see if you have some free memory.&lt;BR /&gt;If this does not help , reboot seems to be the only option.&lt;BR /&gt;&lt;BR /&gt;ALl the error your pasted is just because there is no memory for anything.&lt;BR /&gt;BR,&lt;BR /&gt;Kapil</description>
      <pubDate>Sun, 15 Jun 2008 21:39:29 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/out-of-memory-error/m-p/4216801#M326897</guid>
      <dc:creator>Kapil Jha</dc:creator>
      <dc:date>2008-06-15T21:39:29Z</dc:date>
    </item>
    <item>
      <title>Re: Out of Memory Error</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/out-of-memory-error/m-p/4216802#M326898</link>
      <description>Yes when the memory and swap are 100% utilized the system wont let you fork any new process and this usually happens if there is some memory leak in applications or application not properly configured which might have resulted in too many process eating up all the memory.&lt;BR /&gt;Best as suggested it to shutdown the SAP application and see if the system is stable.&lt;BR /&gt;&lt;BR /&gt;Cheers&lt;BR /&gt;Rajeev</description>
      <pubDate>Sun, 15 Jun 2008 22:11:58 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/out-of-memory-error/m-p/4216802#M326898</guid>
      <dc:creator>Rajeev  Shukla</dc:creator>
      <dc:date>2008-06-15T22:11:58Z</dc:date>
    </item>
    <item>
      <title>Re: Out of Memory Error</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/out-of-memory-error/m-p/4216803#M326899</link>
      <description>What does "swapinfo -tam" show?&lt;BR /&gt;You may have to add more device swap.</description>
      <pubDate>Mon, 16 Jun 2008 02:58:18 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/out-of-memory-error/m-p/4216803#M326899</guid>
      <dc:creator>Dennis Handly</dc:creator>
      <dc:date>2008-06-16T02:58:18Z</dc:date>
    </item>
    <item>
      <title>Re: Out of Memory Error</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/out-of-memory-error/m-p/4216804#M326900</link>
      <description>first determine which processes consume much memory&lt;BR /&gt;If it is normal for the processes/system consider adding more memory to the system&lt;BR /&gt;also add additional swap space, there should be swap space requirements for SAP, SAP should give such recommendations.&lt;BR /&gt;As already mentioned no more processes can be created because there is a lack of memory and at the process creation the reservation of memory/swap fails.&lt;BR /&gt;Try first with adding more swap space.&lt;BR /&gt;Check the buffer cache, may be the kernel tunable is with a high value and it can be lowered in order to free some spaceWhat is the OS version?</description>
      <pubDate>Mon, 16 Jun 2008 05:07:21 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/out-of-memory-error/m-p/4216804#M326900</guid>
      <dc:creator>Anka</dc:creator>
      <dc:date>2008-06-16T05:07:21Z</dc:date>
    </item>
    <item>
      <title>Re: Out of Memory Error</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/out-of-memory-error/m-p/4216805#M326901</link>
      <description>Hello Kavitha,&lt;BR /&gt;&lt;BR /&gt;&amp;gt;dw.sapRP1_D 7184 21507 154 rp1adm 95.3/77.0 41451.5 3.9/ 1.9 1.18gb 1&lt;BR /&gt;&lt;BR /&gt;What is this process 7184 doing. It is consumong 1.18gb - looks not normal comparing to your other SAP processes. If you can identify the process and if it is a normal user process, perhaps you can ask that user to stop the process. Continues the same method with your other big processes, if you still have problems. In that way, you can save a shutdown of the application. &lt;BR /&gt;&lt;BR /&gt;Adding a device swap might help to solve the issue temporarily but then you will get more pageouts because your mem and swap usage is 100%.&lt;BR /&gt;&lt;BR /&gt;As told just give the output of the swapinfo -tam&lt;BR /&gt;&lt;BR /&gt;Regards.</description>
      <pubDate>Mon, 16 Jun 2008 08:47:55 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/out-of-memory-error/m-p/4216805#M326901</guid>
      <dc:creator>Rasheed Tamton</dc:creator>
      <dc:date>2008-06-16T08:47:55Z</dc:date>
    </item>
    <item>
      <title>Re: Out of Memory Error</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/out-of-memory-error/m-p/4216806#M326902</link>
      <description>Thanks a lot Kapil, Rajeev, Dennis, Anka and Rasheed.&lt;BR /&gt;&lt;BR /&gt;I have contacted SAP team and they recycled the process which was using 1.8 Gb. Now the memory is still 100 % utilized ans swap is 83%.&lt;BR /&gt;&lt;BR /&gt;B3692A GlancePlus C.03.86.00    16:15:51 cntrepa1 9000/800                                                                  Current  Avg  High&lt;BR /&gt;----------------------------------------------------------------------------------------------------------------------------------------------&lt;BR /&gt;CPU  Util   SU                                                                                                               |  3%    3%    3%&lt;BR /&gt;Disk Util   F   FV                                                                                                           |  5%    5%    5%&lt;BR /&gt;Mem  Util   S                       SU                                                                               UB    B |100%  100%  100%&lt;BR /&gt;Swap Util   U                                                                      UR                   R                    | 83%   83%   83%&lt;BR /&gt;----------------------------------------------------------------------------------------------------------------------------------------------&lt;BR /&gt;                         GlancePlus Commands Menu&lt;BR /&gt;&lt;BR /&gt;Output of swapinfo -tam is:&lt;BR /&gt;&lt;BR /&gt;# swapinfo -tam&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        8192    6035    2157   74%       0       -    1  /dev/vg00/lvol2&lt;BR /&gt;reserve       -    2121   -2121&lt;BR /&gt;memory     2962    1066    1896   36%&lt;BR /&gt;total     11154    9222    1932   83%       -       0    -&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;Please suggest what needs to be done now as memory is still 100% utilized.&lt;BR /&gt;</description>
      <pubDate>Mon, 16 Jun 2008 19:25:51 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/out-of-memory-error/m-p/4216806#M326902</guid>
      <dc:creator>Kavita Poonia</dc:creator>
      <dc:date>2008-06-16T19:25:51Z</dc:date>
    </item>
    <item>
      <title>Re: Out of Memory Error</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/out-of-memory-error/m-p/4216807#M326903</link>
      <description>It appears that you need more memory.&lt;BR /&gt;&lt;BR /&gt;Run vmstat and check the 'po' column. If the value is double digits or greater then you have a fairly serious memory shortage.&lt;BR /&gt;&lt;BR /&gt;# vmstat 5 15&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Mon, 16 Jun 2008 19:29:35 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/out-of-memory-error/m-p/4216807#M326903</guid>
      <dc:creator>Patrick Wallek</dc:creator>
      <dc:date>2008-06-16T19:29:35Z</dc:date>
    </item>
    <item>
      <title>Re: Out of Memory Error</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/out-of-memory-error/m-p/4216808#M326904</link>
      <description>Hi Patrick,&lt;BR /&gt;&lt;BR /&gt;Thanks  alot for this. Here is the output of vmstat command :&lt;BR /&gt;&lt;BR /&gt;# vmstat 5 15&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;    1     1     0   447584    7083   98   43    14    8     3    0    44   1212   3981   241   4  1 94&lt;BR /&gt;    1     1     0   447584    6656  804  432    20    0     0    0     0   1136  28552   346   5  7 88&lt;BR /&gt;    1     0     0   447737    7048  599  241     6    0     0    0     0   1065  23262   246   4  5 92&lt;BR /&gt;    1     0     0   447737    7048  206   86     2    0     0    0     0   1057   9674   147   0  1 99&lt;BR /&gt;    1     0     0   209908    7032   67   27     2    0     0    0     0   1046   3372   122   0  0 100&lt;BR /&gt;    1     0     0   209908    7032   33   15     1    0     0    0     0   1076   3200   123   0  0 99&lt;BR /&gt;    1     0     0   401410    7032   11    4     0    0     0    0     0   1049   1213   105   0  0 100&lt;BR /&gt;    1     0     0   401410    6869   21    8    11    0     0    0     0   1064   2886   145   1  2 97&lt;BR /&gt;    1     0     0   401009    7032   90   12     6    0     0    0     0   1058   2434   142   0  0 100&lt;BR /&gt;    1     0     0   401009    7032   29    3     2    0     0    0     0   1052    941   105   0  0 99&lt;BR /&gt;    1     0     0   304623    7032   13    3     1    0     0    0     0   1060   1470   110   0  0 100&lt;BR /&gt;    1     0     0   304623    7032    4    0     0    0     0    0     0   1036    749    98   1  0 99&lt;BR /&gt;    1     0     0   492770    7032    5    2     0    0     0    0     0   1042   1169    94   0  0 100&lt;BR /&gt;    1     0     0   492770    7032    1    0     0    0     0    0     0   1072    836   108   2  0 98&lt;BR /&gt;    2     0     0   493447    7026    5    2     1    0     0    0     0   1158   1506   145   2  0 98&lt;BR /&gt;</description>
      <pubDate>Mon, 16 Jun 2008 19:49:51 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/out-of-memory-error/m-p/4216808#M326904</guid>
      <dc:creator>Kavita Poonia</dc:creator>
      <dc:date>2008-06-16T19:49:51Z</dc:date>
    </item>
    <item>
      <title>Re: Out of Memory Error</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/out-of-memory-error/m-p/4216809#M326905</link>
      <description>vmstat does not show a lot of page outs (po). However, running your swap space between 80-100% means you will have more problems. Start by doubling your swap space. Now you should not get an out-of-memory error.&lt;BR /&gt; &lt;BR /&gt;BUT:&lt;BR /&gt; &lt;BR /&gt;As you add more processes and/or SAP or Oracle are configured to use more RAM and they get busy, performance will be awful as pages have to be moved out to the swap area. If you are not concerned about performance, more swap will be fine. Otherwise, double or triple your RAM size and performance will significantly improve.</description>
      <pubDate>Mon, 16 Jun 2008 23:32:28 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/out-of-memory-error/m-p/4216809#M326905</guid>
      <dc:creator>Bill Hassell</dc:creator>
      <dc:date>2008-06-16T23:32:28Z</dc:date>
    </item>
    <item>
      <title>Re: Out of Memory Error</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/out-of-memory-error/m-p/4216810#M326906</link>
      <description>Hi Kavita,&lt;BR /&gt;&lt;BR /&gt;If memory is utilized 100% and there aren't any swaping of process happening then its the best use of memory. But from capacity planning/management point of view and so that you dont run down into the same problem its suggested you increase the memory on the system and for atleast for now till more memory is installed increase the swap space by adding a new swap device.&lt;BR /&gt;&lt;BR /&gt;Cheers&lt;BR /&gt;Rajeev</description>
      <pubDate>Tue, 17 Jun 2008 01:10:58 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/out-of-memory-error/m-p/4216810#M326906</guid>
      <dc:creator>Rajeev  Shukla</dc:creator>
      <dc:date>2008-06-17T01:10:58Z</dc:date>
    </item>
    <item>
      <title>Re: Out of Memory Error</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/out-of-memory-error/m-p/4216811#M326907</link>
      <description>If SAP is really FINE TUNED WELL ENOUGH and your system is patched to latest, then adding more device swap is your immediate solution. &lt;BR /&gt;&lt;BR /&gt;But as Bill and Rajeev already said above, it will really effect your system performance as SAP needs more resources. In that case, adding more physical memory is the only solution on the long run for you to avoid future performance issues on the system. &lt;BR /&gt;&lt;BR /&gt;rgds.</description>
      <pubDate>Tue, 17 Jun 2008 07:43:47 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/out-of-memory-error/m-p/4216811#M326907</guid>
      <dc:creator>Rasheed Tamton</dc:creator>
      <dc:date>2008-06-17T07:43:47Z</dc:date>
    </item>
  </channel>
</rss>

