<?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: problem troubleshooting an application in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/problem-troubleshooting-an-application/m-p/5105152#M689307</link>
    <description>I am downloading the suggested patch and will test.</description>
    <pubDate>Thu, 24 Apr 2008 12:37:40 GMT</pubDate>
    <dc:creator>Troy Nightingale</dc:creator>
    <dc:date>2008-04-24T12:37:40Z</dc:date>
    <item>
      <title>problem troubleshooting an application</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/problem-troubleshooting-an-application/m-p/5105148#M689303</link>
      <description>We have an application with a particular job that fails every evening with the following error:&lt;BR /&gt;Service Process [IntgrService_ahphp211] output error [/usr/lib/hpux64/dld.so: Mmap failed for the library : Not enough space. ].&lt;BR /&gt;I can't reproduce the error on my Development server....only in Production. Both servers are Itanium, 64 bit, Montecito, 11iv2.&lt;BR /&gt;It appears that this job fails most often when the machine is nearly idle.&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;Any ideas?</description>
      <pubDate>Wed, 23 Apr 2008 18:52:22 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/problem-troubleshooting-an-application/m-p/5105148#M689303</guid>
      <dc:creator>Troy Nightingale</dc:creator>
      <dc:date>2008-04-23T18:52:22Z</dc:date>
    </item>
    <item>
      <title>Re: problem troubleshooting an application</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/problem-troubleshooting-an-application/m-p/5105149#M689304</link>
      <description>Shalom,&lt;BR /&gt;&lt;BR /&gt;It appears that a file write or an attempt to swap a process from memory to disk is failing.&lt;BR /&gt;&lt;BR /&gt;swapinfo -tam&lt;BR /&gt;&lt;BR /&gt;I'd like to see if you are pushing limits.&lt;BR /&gt;&lt;BR /&gt;SEP</description>
      <pubDate>Wed, 23 Apr 2008 19:55:10 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/problem-troubleshooting-an-application/m-p/5105149#M689304</guid>
      <dc:creator>Steven E. Protter</dc:creator>
      <dc:date>2008-04-23T19:55:10Z</dc:date>
    </item>
    <item>
      <title>Re: problem troubleshooting an application</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/problem-troubleshooting-an-application/m-p/5105150#M689305</link>
      <description>Here is the swapinfo;&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       0    8192    0%       0       -    1  /dev/vg00/lvol2&lt;BR /&gt;reserve       -    6706   -6706&lt;BR /&gt;memory    48895   11790   37105   24%&lt;BR /&gt;total     57087   18496   38591   32%       -       0    -&lt;BR /&gt;</description>
      <pubDate>Wed, 23 Apr 2008 20:17:02 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/problem-troubleshooting-an-application/m-p/5105150#M689305</guid>
      <dc:creator>Troy Nightingale</dc:creator>
      <dc:date>2008-04-23T20:17:02Z</dc:date>
    </item>
    <item>
      <title>Re: problem troubleshooting an application</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/problem-troubleshooting-an-application/m-p/5105151#M689306</link>
      <description>&amp;gt;It appears that this job fails most often when the machine is nearly idle.&lt;BR /&gt;&lt;BR /&gt;This is hard to believe.  You get that error when you are out of swap space.  If you are idle, you shouldn't be using much.  In fact your swapinfo says you have 38 Gb free.&lt;BR /&gt;&lt;BR /&gt;Of course you could have a bug in dld, you would try the latest dld patch: PHSS_37947&lt;BR /&gt;&lt;BR /&gt;Do you more more in the message where it mentions the name of the shlib in question?</description>
      <pubDate>Thu, 24 Apr 2008 10:27:07 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/problem-troubleshooting-an-application/m-p/5105151#M689306</guid>
      <dc:creator>Dennis Handly</dc:creator>
      <dc:date>2008-04-24T10:27:07Z</dc:date>
    </item>
    <item>
      <title>Re: problem troubleshooting an application</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/problem-troubleshooting-an-application/m-p/5105152#M689307</link>
      <description>I am downloading the suggested patch and will test.</description>
      <pubDate>Thu, 24 Apr 2008 12:37:40 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/problem-troubleshooting-an-application/m-p/5105152#M689307</guid>
      <dc:creator>Troy Nightingale</dc:creator>
      <dc:date>2008-04-24T12:37:40Z</dc:date>
    </item>
    <item>
      <title>Re: problem troubleshooting an application</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/problem-troubleshooting-an-application/m-p/5105153#M689308</link>
      <description>Well, I have applied the patches as suggested. We have a new message when it fails now.  &lt;BR /&gt;Service Process [IntgrService_ahphp211] output error [/usr/lib/hpux64/dld.so: Cannot map data for library: mmap(0x0, 0xb2f0, 0x3, 0x42, 4, 0x0) returns Not enough space. ].&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Thu, 24 Apr 2008 13:39:05 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/problem-troubleshooting-an-application/m-p/5105153#M689308</guid>
      <dc:creator>Troy Nightingale</dc:creator>
      <dc:date>2008-04-24T13:39:05Z</dc:date>
    </item>
    <item>
      <title>Re: problem troubleshooting an application</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/problem-troubleshooting-an-application/m-p/5105154#M689309</link>
      <description>Ok, so dld is mapping the shared library using MAP_PRIVATE (good piece of data compared to the prior output). It isn't using MAP_FIXED, so the problem shouldn't be that another virtual object is in the way.&lt;BR /&gt;&lt;BR /&gt;ENOMEM on a MAP_PRIVATE|MAP_SHLIB request stems from:&lt;BR /&gt;&lt;BR /&gt;1) length being too large to architecturally fit in the process space. Length here is 0xb2f0, so not the problem.&lt;BR /&gt;&lt;BR /&gt;2) Process hitting the rlimit (man setrlimit) for the total Address Space. Unlikely, since this defaults to Infinity and only if you change it [which would propagate to children] would it be lower.&lt;BR /&gt;&lt;BR /&gt;3) Swap reservation failed [since this is MAP_PRIVATE] as noted. Already been discussed.&lt;BR /&gt;&lt;BR /&gt;4) Process used mlockall(MCL_FUTURE) and insufficient lockable memory is available. Process would need to be privileged to have this occur, so you should have some idea if the process uses lockable or not. Even if the system is idle - since most folks are running Oracle and Oracle is a big lockable consumer for the SGA, this is a possibility. The swapinfo output doesn't lean that way, though -- since the memory swap gets stolen from as part of memory locking and you have plenty of memory swap.&lt;BR /&gt;&lt;BR /&gt;5) Error when requesting the file be mapped from the Filesystem to VM. (Unlikely, especially for a shared library unless you've seen other filesystem errors and haven't run a fsck).&lt;BR /&gt;&lt;BR /&gt;6) Insufficient kernel memory for metadata to describe the object. If the system is truly idle, I doubt this is the case.&lt;BR /&gt;&lt;BR /&gt;7) Insufficient free private virtual address space. Since I think hpux64/dld.so [Dennis, feel free to correct me if I'm wrong here] implies this is a 64-bit process, I'd be more than a little surprised if this occurred... you'd have to eat an extremely large amount of private virtual address space to hit this on IPF (in the Pb range).&lt;BR /&gt;&lt;BR /&gt;None of these seem terribly likely... so scanning patches -- do you have PHKL_37653 already? And if not, do you have PHKL_35448 and PHKL_35230? It doesn't look quite the same (since there's no use of MAP_FIXED on this particular call) but this could be a variant of QXCR1000581962 where a prior unmapping of the file isn't being recognized as reusable for this new private mapping. That's about the only thing that leaps to mind.&lt;BR /&gt;&lt;BR /&gt;If you already have the PHKL_37653 patch (or are before the other two patches), I think we'd probably need tusc output and perhaps output via pstat_vminfo to get an idea of the process virtual layout. Attaching a program you could run to target the process in question (assuming it isn't dying just trying to start up -- in which case, just the tusc output is likely to be the best we'll get) before the dld / mmap. (Compile as cc +DD64 -o object_dump object_dump.c and run with -v -v -pid &lt;TARGET&gt; option... you'll need high verbosity to get the Virtual ranges for each object).&lt;/TARGET&gt;</description>
      <pubDate>Thu, 24 Apr 2008 15:03:59 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/problem-troubleshooting-an-application/m-p/5105154#M689309</guid>
      <dc:creator>Don Morris_1</dc:creator>
      <dc:date>2008-04-24T15:03:59Z</dc:date>
    </item>
    <item>
      <title>Re: problem troubleshooting an application</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/problem-troubleshooting-an-application/m-p/5105155#M689310</link>
      <description>Thanks for all your help. I have updated patches, checked numerous kernel parameters, etc. I have now moved this into  the vendors application support area since the only thing that changed from when things worked to when they didn't, was an application upgrade. They have now duplicated the issue and will hopefully implement a solution soon.</description>
      <pubDate>Mon, 28 Apr 2008 17:26:00 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/problem-troubleshooting-an-application/m-p/5105155#M689310</guid>
      <dc:creator>Troy Nightingale</dc:creator>
      <dc:date>2008-04-28T17:26:00Z</dc:date>
    </item>
  </channel>
</rss>

