<?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: Possible Memory Leak?? in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/possible-memory-leak/m-p/3419926#M861973</link>
    <description>Hi&lt;BR /&gt;&lt;BR /&gt;Thanks for the help.&lt;BR /&gt;&lt;BR /&gt;Through trial &amp;amp; error we have identified the application that appears to be causing the issue.&lt;BR /&gt;When the app is running, the memory leak occurs.  From glance we can see Total Memory utilisation increasing with a corresponding increase in User Memory utilisation. Once the application is shutdown memory utilisation stabilises. &lt;BR /&gt;&lt;BR /&gt;The strange thing is that the app's processes do not show any increase in their memory use.  The 3 processes only use about 4MB of memory.  I have used glance and the UNIX95= ps -e.... command and memory usage stays the same.&lt;BR /&gt;The app is a third party security product not a database.&lt;BR /&gt;Shared memory also stays constant.&lt;BR /&gt;&lt;BR /&gt;Any ideas on how we can see what process(es) is using this memory? &lt;BR /&gt;&lt;BR /&gt;Thanks.&lt;BR /&gt;&lt;BR /&gt;Cheers&lt;BR /&gt;Con&lt;BR /&gt;&lt;BR /&gt;</description>
    <pubDate>Thu, 11 Nov 2004 20:32:12 GMT</pubDate>
    <dc:creator>Con O'Kelly</dc:creator>
    <dc:date>2004-11-11T20:32:12Z</dc:date>
    <item>
      <title>Possible Memory Leak??</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/possible-memory-leak/m-p/3419917#M861964</link>
      <description>Hi All&lt;BR /&gt;&lt;BR /&gt;Have a problem with L-3000 11.00 server with 12GB of memory.&lt;BR /&gt;&lt;BR /&gt;After a re-boot the server starts to use increasing amounts of memory. Starts off with about 8GB free and within an hour it's all used and the system starts swapping.&lt;BR /&gt;&lt;BR /&gt;I can't identify the process(es) responsible. &lt;BR /&gt;Tried sorting processes by memory usage using Glance and also UNIX95= ps -el command but both don't show any obvious process(es) that are utilising almost 8GB of memory within an hour.&lt;BR /&gt;&lt;BR /&gt;Also process data from Measureware and nothing jumps out.  All the additional memory usage is user memory.  Buffer cahce is constant around 300-500MB.&lt;BR /&gt;&lt;BR /&gt;The only change was an install of JFS 3.3 last night. &lt;BR /&gt;&lt;BR /&gt;I have sdone multiple re-boots and every time the same thing happens.&lt;BR /&gt;&lt;BR /&gt;Any ideas what could be causing this?&lt;BR /&gt;Thanks&lt;BR /&gt;&lt;BR /&gt;Cheers&lt;BR /&gt;Con&lt;BR /&gt; &lt;BR /&gt;</description>
      <pubDate>Thu, 11 Nov 2004 00:51:15 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/possible-memory-leak/m-p/3419917#M861964</guid>
      <dc:creator>Con O'Kelly</dc:creator>
      <dc:date>2004-11-11T00:51:15Z</dc:date>
    </item>
    <item>
      <title>Re: Possible Memory Leak??</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/possible-memory-leak/m-p/3419918#M861965</link>
      <description>Usually its an application that leaks memory.&lt;BR /&gt;&lt;BR /&gt;You should be able to use glance to identify the process that has growing memory use. Maybe even it will show up on top.&lt;BR /&gt;&lt;BR /&gt;I'd take the following steps:&lt;BR /&gt;&lt;BR /&gt;1) Take a look at any oracle apps and see if there are memory patches&lt;BR /&gt;2) Make sure the system itself is up to date on patches. Maybe there is one for Online JFS.&lt;BR /&gt;&lt;BR /&gt;SEP</description>
      <pubDate>Thu, 11 Nov 2004 00:58:19 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/possible-memory-leak/m-p/3419918#M861965</guid>
      <dc:creator>Steven E. Protter</dc:creator>
      <dc:date>2004-11-11T00:58:19Z</dc:date>
    </item>
    <item>
      <title>Re: Possible Memory Leak??</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/possible-memory-leak/m-p/3419919#M861966</link>
      <description>Hi Con,&lt;BR /&gt;&lt;BR /&gt;If there is any increase in memory usage due to JFS upgrade, I would expect it to be 'system memory' due to vx-inode cache. &lt;BR /&gt;&lt;BR /&gt;Since the increase is in user memory, I would suggest you to look any other changes. Run the following commands periodically and see if you see any increase in the first column for any processes over the time. If so, then those processes may have memory leaks.&lt;BR /&gt;&lt;BR /&gt;UNIX95= ps -e -o 'vsz pid args' |sort -n&lt;BR /&gt;&lt;BR /&gt;-Sri</description>
      <pubDate>Thu, 11 Nov 2004 00:59:38 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/possible-memory-leak/m-p/3419919#M861966</guid>
      <dc:creator>Sridhar Bhaskarla</dc:creator>
      <dc:date>2004-11-11T00:59:38Z</dc:date>
    </item>
    <item>
      <title>Re: Possible Memory Leak??</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/possible-memory-leak/m-p/3419920#M861967</link>
      <description>hi,&lt;BR /&gt;&lt;BR /&gt;almost same problem was with me.&lt;BR /&gt;after i gave the sybase group the privilage of MLOCK it started working fine.&lt;BR /&gt;&lt;BR /&gt;i gave like this.&lt;BR /&gt;#setprivgrp sybase12 MLOCK&lt;BR /&gt;&lt;BR /&gt;as per our DBA for oracle also we have to do this.&lt;BR /&gt;&lt;BR /&gt;regds,&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Thu, 11 Nov 2004 01:21:06 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/possible-memory-leak/m-p/3419920#M861967</guid>
      <dc:creator>bhavin asokan</dc:creator>
      <dc:date>2004-11-11T01:21:06Z</dc:date>
    </item>
    <item>
      <title>Re: Possible Memory Leak??</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/possible-memory-leak/m-p/3419921#M861968</link>
      <description>Hi &lt;BR /&gt;&lt;BR /&gt;Thanks for the replies.&lt;BR /&gt;&lt;BR /&gt;Sri thats exactly the command I was using to try and identify the leak but it didn't show anything. No process was increasing memory usage even though user memory was increasing all the time.&lt;BR /&gt;&lt;BR /&gt;Bhavin - that sounds an interesting idea as we are running Sybase - I'll look into that as that could be the issue.&lt;BR /&gt;&lt;BR /&gt;I'll assign points tomorrow.&lt;BR /&gt;&lt;BR /&gt;Thanks&lt;BR /&gt;&lt;BR /&gt;Cheers&lt;BR /&gt;Con</description>
      <pubDate>Thu, 11 Nov 2004 01:36:50 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/possible-memory-leak/m-p/3419921#M861968</guid>
      <dc:creator>Con O'Kelly</dc:creator>
      <dc:date>2004-11-11T01:36:50Z</dc:date>
    </item>
    <item>
      <title>Re: Possible Memory Leak??</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/possible-memory-leak/m-p/3419922#M861969</link>
      <description>I have same problem. &lt;BR /&gt;Patches fix problem.&lt;BR /&gt;Apply  last patch bundle&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Thu, 11 Nov 2004 03:10:32 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/possible-memory-leak/m-p/3419922#M861969</guid>
      <dc:creator>Ivajlo Yanakiev</dc:creator>
      <dc:date>2004-11-11T03:10:32Z</dc:date>
    </item>
    <item>
      <title>Re: Possible Memory Leak??</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/possible-memory-leak/m-p/3419923#M861970</link>
      <description>Couple more things...&lt;BR /&gt;&lt;BR /&gt;1. Are you sure you have the same number of processes everytime you run that command?.&lt;BR /&gt;&lt;BR /&gt;2. How about 'ipcs -ma'. Do you see massive shared memory segments in it that were not there before?.&lt;BR /&gt;&lt;BR /&gt;3. Can you post the last lines of your glance's 'm' screen?. It shows how the memory is distributed..&lt;BR /&gt;&lt;BR /&gt;MLOCK will</description>
      <pubDate>Thu, 11 Nov 2004 03:48:40 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/possible-memory-leak/m-p/3419923#M861970</guid>
      <dc:creator>Sridhar Bhaskarla</dc:creator>
      <dc:date>2004-11-11T03:48:40Z</dc:date>
    </item>
    <item>
      <title>Re: Possible Memory Leak??</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/possible-memory-leak/m-p/3419924#M861971</link>
      <description>Excuse my impatience to work with the windows. I did something causing it to post the earlier message prematurely.&lt;BR /&gt;&lt;BR /&gt;MLOCK capability will make that particular group to 'lock' memory pages so that they won't get paged out in case of memory pressure. It may improve your application's performance but will not reduce the memory usage.&lt;BR /&gt;&lt;BR /&gt;Patching is always a good idea.&lt;BR /&gt;&lt;BR /&gt;-Sri&lt;BR /&gt;&lt;BR /&gt;PS: 0 points for this post please.</description>
      <pubDate>Thu, 11 Nov 2004 03:52:56 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/possible-memory-leak/m-p/3419924#M861971</guid>
      <dc:creator>Sridhar Bhaskarla</dc:creator>
      <dc:date>2004-11-11T03:52:56Z</dc:date>
    </item>
    <item>
      <title>Re: Possible Memory Leak??</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/possible-memory-leak/m-p/3419925#M861972</link>
      <description>Con,&lt;BR /&gt;&lt;BR /&gt;I've installed JFS 3.3 on my test system and seem to have no problem. Did you applied patch PHKL_30927 after upgrading to JFS 3.3??&lt;BR /&gt;&lt;BR /&gt;Best Regards,&lt;BR /&gt;&lt;BR /&gt;Eric Antunes</description>
      <pubDate>Thu, 11 Nov 2004 04:08:46 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/possible-memory-leak/m-p/3419925#M861972</guid>
      <dc:creator>Eric Antunes</dc:creator>
      <dc:date>2004-11-11T04:08:46Z</dc:date>
    </item>
    <item>
      <title>Re: Possible Memory Leak??</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/possible-memory-leak/m-p/3419926#M861973</link>
      <description>Hi&lt;BR /&gt;&lt;BR /&gt;Thanks for the help.&lt;BR /&gt;&lt;BR /&gt;Through trial &amp;amp; error we have identified the application that appears to be causing the issue.&lt;BR /&gt;When the app is running, the memory leak occurs.  From glance we can see Total Memory utilisation increasing with a corresponding increase in User Memory utilisation. Once the application is shutdown memory utilisation stabilises. &lt;BR /&gt;&lt;BR /&gt;The strange thing is that the app's processes do not show any increase in their memory use.  The 3 processes only use about 4MB of memory.  I have used glance and the UNIX95= ps -e.... command and memory usage stays the same.&lt;BR /&gt;The app is a third party security product not a database.&lt;BR /&gt;Shared memory also stays constant.&lt;BR /&gt;&lt;BR /&gt;Any ideas on how we can see what process(es) is using this memory? &lt;BR /&gt;&lt;BR /&gt;Thanks.&lt;BR /&gt;&lt;BR /&gt;Cheers&lt;BR /&gt;Con&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Thu, 11 Nov 2004 20:32:12 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/possible-memory-leak/m-p/3419926#M861973</guid>
      <dc:creator>Con O'Kelly</dc:creator>
      <dc:date>2004-11-11T20:32:12Z</dc:date>
    </item>
    <item>
      <title>Re: Possible Memory Leak??</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/possible-memory-leak/m-p/3419927#M861974</link>
      <description>The following KB article may be useful.&lt;BR /&gt;&lt;BR /&gt;Date: 9/9/04&lt;BR /&gt;Document description: Memory Usage - What is using all of the memory?"&lt;BR /&gt;Document id: MEMORYKBAN00000975&lt;BR /&gt;&lt;BR /&gt;I would get hold of procsize utility which can show you per-process memory usage including UAREA, TEXT, DATA, STACK, Shared  Memory (SHMEM), &amp;amp; Memory Mapped files (MMAP).&lt;BR /&gt;&lt;BR /&gt;You can sort processes by total memory usage&lt;BR /&gt;&lt;BR /&gt;# procsize -fcn |sort -rnk 11 | more&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Thu, 11 Nov 2004 21:19:46 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/possible-memory-leak/m-p/3419927#M861974</guid>
      <dc:creator>Ermin Borovac</dc:creator>
      <dc:date>2004-11-11T21:19:46Z</dc:date>
    </item>
    <item>
      <title>Re: Possible Memory Leak??</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/possible-memory-leak/m-p/3419928#M861975</link>
      <description>Glance will help you find it - using the "Global Process List" (g key) from within glance...look at the RSS field...select the process with large RSS by using the "s" key...&lt;BR /&gt;then a capital "M" to see the "Memory Regions Page" &lt;BR /&gt;&lt;BR /&gt;Check the maxdsiz kernel parameter - maybe your application requires it to be increased?&lt;BR /&gt;&lt;BR /&gt;Rgds...Geoff&lt;BR /&gt;</description>
      <pubDate>Fri, 12 Nov 2004 09:09:36 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/possible-memory-leak/m-p/3419928#M861975</guid>
      <dc:creator>Geoff Wild</dc:creator>
      <dc:date>2004-11-12T09:09:36Z</dc:date>
    </item>
    <item>
      <title>Re: Possible Memory Leak??</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/possible-memory-leak/m-p/3419929#M861976</link>
      <description>Hi again&lt;BR /&gt;&lt;BR /&gt;Thanks for the help.&lt;BR /&gt;&lt;BR /&gt;We have managed to isolate the problem to an issue with CA's eTrust product and a new kernel that is built with the JFS 3.3 Filesystem install. &lt;BR /&gt;&lt;BR /&gt;From kmeminfo I can see large amounts of kernel memory for dynamic data being allocated (about 10.5GB - 90% total memory).  &lt;BR /&gt;&lt;BR /&gt;The problem only occurs when eTrust is running.  As soon as it is shutdown memory utilisation stabilises, though the dynamic memory is not returned. (we need to reboot to do this). &lt;BR /&gt;&lt;BR /&gt;There is also no problem if we boot using the kernel prior to the JFS 3.3 install.  The problem only occured after a JFS 3.3 install.&lt;BR /&gt;The only changes to the kernel with JFS 3.3 install are the adding of the "vxportal33"  and "vxfs" driver/subsystem.  The kernel also no longer has the "vxadv" and "vxbase" drivers which I assume were replaced by the above 2 drivers with the JFS 3.3 install.&lt;BR /&gt;&lt;BR /&gt;It appears that eTrust has a problem with these drivers and as such it chews up large amounts of memory.&lt;BR /&gt;Has anybody had similar issue with eTrust and JFS 3.3?&lt;BR /&gt;&lt;BR /&gt;Cheers &lt;BR /&gt;Con</description>
      <pubDate>Mon, 15 Nov 2004 18:05:25 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/possible-memory-leak/m-p/3419929#M861976</guid>
      <dc:creator>Con O'Kelly</dc:creator>
      <dc:date>2004-11-15T18:05:25Z</dc:date>
    </item>
    <item>
      <title>Re: Possible Memory Leak??</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/possible-memory-leak/m-p/3419930#M861977</link>
      <description>Hi&lt;BR /&gt;&lt;BR /&gt;The issue has been fixed.  &lt;BR /&gt;&lt;BR /&gt;I should have read the replies as Eric provided the answer!&lt;BR /&gt;I did look at the patch (PHKL_30927) Eric mentioned but it didn't seem to address my issue.  I forgot about the patches that it superseeded!  Indeed patch PHKL_21077 addressed the memory leak issue with JFS 3.3 and certain system calls.&lt;BR /&gt;&lt;BR /&gt;Still unsure why this problem only occured with eTrust running and not when Oracle or other app's were running.&lt;BR /&gt;&lt;BR /&gt;Thanks Eric, sorry not to give you the rabbit, I'd already assigned points when I got the fix. &lt;BR /&gt;BTW where did you find the references to this patch. It is not mentioned in Release Notes nor is it included in the JFS 3.3 foundation patch bundle.&lt;BR /&gt;&lt;BR /&gt;Thanks.&lt;BR /&gt;&lt;BR /&gt;Cheers&lt;BR /&gt;Con&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Tue, 16 Nov 2004 01:00:55 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/possible-memory-leak/m-p/3419930#M861977</guid>
      <dc:creator>Con O'Kelly</dc:creator>
      <dc:date>2004-11-16T01:00:55Z</dc:date>
    </item>
  </channel>
</rss>

