<?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 error on HP-UX 11 in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/memory-error-on-hp-ux-11/m-p/2430663#M767770</link>
    <description>Well, two ways come to mind.  If your system can use the XPG4 ps environment then you can specify the resident size and virtual set size with:&lt;BR /&gt;  ps -e -o "user,pid,ppid,sz,vsz"&lt;BR /&gt;(does anyone else miss the ability to use things like "ps gv"?)&lt;BR /&gt;&lt;BR /&gt;If not, then you can use glance/gpm.  Loathe as I am to admit it, the GUI is actually better in this case.  In gpm, go to&lt;BR /&gt;  reports-&amp;gt;process list-&amp;gt; configure-&amp;gt;sort fields&lt;BR /&gt;Then select the fields Resident Memory and Virtual memory to sort by resident set size or virtual memory size as desired.</description>
    <pubDate>Thu, 13 Jul 2000 19:21:59 GMT</pubDate>
    <dc:creator>Alan Riggs</dc:creator>
    <dc:date>2000-07-13T19:21:59Z</dc:date>
    <item>
      <title>Memory error on HP-UX 11</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/memory-error-on-hp-ux-11/m-p/2430656#M767763</link>
      <description>Hi all,&lt;BR /&gt;&lt;BR /&gt;One of my K460, 11.00 box gave some problems this morning. It was sort of hung for users. I tried logging in , even from console and it cam eback saying:&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;  &lt;BR /&gt;GenericSysName [HP Release B.11.00] (see /etc/issue) &lt;BR /&gt;Console Login: root &lt;BR /&gt;/usr/lib/dld.sl: Call to mmap() failed - BSS /usr/lib/libnsl.1 &lt;BR /&gt;/usr/lib/dld.sl: Not enough space &lt;BR /&gt;&lt;BR /&gt;GenericSysName [HP Release B.11.00] (see /etc/issue) &lt;BR /&gt;Console Login: &lt;BR /&gt;  &lt;BR /&gt;&lt;BR /&gt;To me it looked a memory problem . so after asking a few users to logout, I was able to get in. In glance it showed me memory and swap 100 % full. It stopped working glance also after some time for memory problem. In top I couldnt find any process using lot of memory or cpu.&lt;BR /&gt;&lt;BR /&gt;My question is why this could have happened and how do you pinpoint to a process as culprit? &lt;BR /&gt;&lt;BR /&gt;I ended up rebooting the box by the way.&lt;BR /&gt;&lt;BR /&gt;Thanks for you imputs.&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Thu, 13 Jul 2000 14:39:36 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/memory-error-on-hp-ux-11/m-p/2430656#M767763</guid>
      <dc:creator>Commadore Peaster</dc:creator>
      <dc:date>2000-07-13T14:39:36Z</dc:date>
    </item>
    <item>
      <title>Re: Memory error on HP-UX 11</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/memory-error-on-hp-ux-11/m-p/2430657#M767764</link>
      <description>This is not a hardwareproblem with your memory!&lt;BR /&gt;&lt;BR /&gt;The error message you found  indicates that the system is running out of process space trying to map shared library data into the BSS area. The most common solution to this error is to increase the swap.</description>
      <pubDate>Thu, 13 Jul 2000 14:43:12 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/memory-error-on-hp-ux-11/m-p/2430657#M767764</guid>
      <dc:creator>Patrick Wessel</dc:creator>
      <dc:date>2000-07-13T14:43:12Z</dc:date>
    </item>
    <item>
      <title>Re: Memory error on HP-UX 11</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/memory-error-on-hp-ux-11/m-p/2430658#M767765</link>
      <description>Thanks. But my swapinfo output is showing that there is ample space yet free on the swap device. Instead it is using memory fully as swap . &lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;root@pcsdew:/:&amp;gt;swapinfo&lt;BR /&gt;             Kb      Kb      Kb   PCT  START/      Kb&lt;BR /&gt;TYPE      AVAIL    USED    FREE  USED   LIMIT RESERVE  PRI  NAME&lt;BR /&gt;dev     1048576  142476  906100   14%       0       -    1  /dev/vg00/lvol2&lt;BR /&gt;reserve       -  906100 -906100&lt;BR /&gt;memory  1565952 1526980   38972   98%&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;thanks again.</description>
      <pubDate>Thu, 13 Jul 2000 14:54:49 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/memory-error-on-hp-ux-11/m-p/2430658#M767765</guid>
      <dc:creator>Commadore Peaster</dc:creator>
      <dc:date>2000-07-13T14:54:49Z</dc:date>
    </item>
    <item>
      <title>Re: Memory error on HP-UX 11</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/memory-error-on-hp-ux-11/m-p/2430659#M767766</link>
      <description>call to mmap() failed - BSS /usr/lib/libnsl.1 ==&amp;gt; Patch&lt;BR /&gt;&lt;BR /&gt;See document no.: KBRC00003021&lt;BR /&gt;&lt;A href="http://us-support.external.hp.com/cki/bin/doc.pl/" target="_blank"&gt;http://us-support.external.hp.com/cki/bin/doc.pl/&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;It seems patch PHSS_21046 solves this specific issue.&lt;BR /&gt;&lt;BR /&gt;Brian&lt;BR /&gt;&amp;lt;*(((&amp;gt;&amp;lt; er&lt;BR /&gt;</description>
      <pubDate>Thu, 13 Jul 2000 14:55:20 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/memory-error-on-hp-ux-11/m-p/2430659#M767766</guid>
      <dc:creator>Brian M. Fisher</dc:creator>
      <dc:date>2000-07-13T14:55:20Z</dc:date>
    </item>
    <item>
      <title>Re: Memory error on HP-UX 11</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/memory-error-on-hp-ux-11/m-p/2430660#M767767</link>
      <description>Use swapinfo -ta or -tm, so as to see the total. The memory type can get to 100%, this does not mean that you can't usee your system. Patch it as Brian has suggested, and lets see the change.&lt;BR /&gt;&lt;BR /&gt;Regards&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Thu, 13 Jul 2000 16:53:32 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/memory-error-on-hp-ux-11/m-p/2430660#M767767</guid>
      <dc:creator>CHRIS_ANORUO</dc:creator>
      <dc:date>2000-07-13T16:53:32Z</dc:date>
    </item>
    <item>
      <title>Re: Memory error on HP-UX 11</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/memory-error-on-hp-ux-11/m-p/2430661#M767768</link>
      <description>Just to clarify:&lt;BR /&gt;&lt;BR /&gt;root@pcsdew:/:&amp;gt;swapinfo &lt;BR /&gt;Kb Kb Kb PCT START/ Kb &lt;BR /&gt;TYPE AVAIL USED FREE USED LIMIT RESERVE PRI NAME &lt;BR /&gt;dev 1048576 142476 906100 14% 0 - 1 /dev/vg00/lvol2 &lt;BR /&gt;reserve - 906100 -906100 &lt;BR /&gt;memory 1565952 1526980 38972 98% &lt;BR /&gt;&lt;BR /&gt;This display shows that swap is fully allocated.  You have (roughly) 1GB of disk swap available.  140MB is being actively used for paging.  The remaining 900MB is in reserve -- that means the kernel has set the space aside to page processes already running if necessary.  The memory line indicates that 98% of available memory swap (which is generally about 75% of physical memory) is in use.&lt;BR /&gt;&lt;BR /&gt;If the patch does not solve your problem (I presume by correcting for improper allocation of swap space), then I would try adding more disk swap.  Actually, even if the patch does solve your immediate problem you might want to investigate more disk swap if those swapinfo numbers do not drop sharply.</description>
      <pubDate>Thu, 13 Jul 2000 17:40:11 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/memory-error-on-hp-ux-11/m-p/2430661#M767768</guid>
      <dc:creator>Alan Riggs</dc:creator>
      <dc:date>2000-07-13T17:40:11Z</dc:date>
    </item>
    <item>
      <title>Re: Memory error on HP-UX 11</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/memory-error-on-hp-ux-11/m-p/2430662#M767769</link>
      <description>Thank you all of you. I will try and see with this patch.&lt;BR /&gt;&lt;BR /&gt;However , I still have one unanswered question. How do I find out which process is the memory hog. I could not find it in top or glance.&lt;BR /&gt;&lt;BR /&gt;Thanks</description>
      <pubDate>Thu, 13 Jul 2000 18:32:30 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/memory-error-on-hp-ux-11/m-p/2430662#M767769</guid>
      <dc:creator>Commadore Peaster</dc:creator>
      <dc:date>2000-07-13T18:32:30Z</dc:date>
    </item>
    <item>
      <title>Re: Memory error on HP-UX 11</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/memory-error-on-hp-ux-11/m-p/2430663#M767770</link>
      <description>Well, two ways come to mind.  If your system can use the XPG4 ps environment then you can specify the resident size and virtual set size with:&lt;BR /&gt;  ps -e -o "user,pid,ppid,sz,vsz"&lt;BR /&gt;(does anyone else miss the ability to use things like "ps gv"?)&lt;BR /&gt;&lt;BR /&gt;If not, then you can use glance/gpm.  Loathe as I am to admit it, the GUI is actually better in this case.  In gpm, go to&lt;BR /&gt;  reports-&amp;gt;process list-&amp;gt; configure-&amp;gt;sort fields&lt;BR /&gt;Then select the fields Resident Memory and Virtual memory to sort by resident set size or virtual memory size as desired.</description>
      <pubDate>Thu, 13 Jul 2000 19:21:59 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/memory-error-on-hp-ux-11/m-p/2430663#M767770</guid>
      <dc:creator>Alan Riggs</dc:creator>
      <dc:date>2000-07-13T19:21:59Z</dc:date>
    </item>
    <item>
      <title>Re: Memory error on HP-UX 11</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/memory-error-on-hp-ux-11/m-p/2430664#M767771</link>
      <description>Forgot to mention, if you aren't famiar with the XPG4 behavior of ps, you invoke it be setting the UNIX95 environmental variable to 1.  I also forgot to include "comm" in the list of columns; you probably want it.  man ps has a full list and also explains where the XPG4 behavior differs from standard HP-UX ps.  &lt;BR /&gt;&lt;BR /&gt;ex:&lt;BR /&gt;export UNIX95=1;ps -e -o "user,pid,ppid,sz,vsz,comm" | sort -rn +4|more</description>
      <pubDate>Thu, 13 Jul 2000 20:04:59 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/memory-error-on-hp-ux-11/m-p/2430664#M767771</guid>
      <dc:creator>Alan Riggs</dc:creator>
      <dc:date>2000-07-13T20:04:59Z</dc:date>
    </item>
  </channel>
</rss>

