<?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 leak in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/memory-leak/m-p/3005309#M127331</link>
    <description>Hi Xio,&lt;BR /&gt;&lt;BR /&gt;Better U apply the patch PHSS_28618. The patch can be applied on the fly and doesn't require a reboot. &lt;BR /&gt;&lt;BR /&gt;The same was the case with me, I was just fed up for last 10 days with one of the hpux11.11 machine suffering from a memory leak problem. Today morning we have applied the patch PHSS_28618 on to it and suddenly teh problem got restored.&lt;BR /&gt;&lt;BR /&gt;Suggest U to get the patch downloaded from itrc site and apply it asap.&lt;BR /&gt;</description>
    <pubDate>Tue, 24 Jun 2003 12:13:07 GMT</pubDate>
    <dc:creator>SSP_1</dc:creator>
    <dc:date>2003-06-24T12:13:07Z</dc:date>
    <item>
      <title>memory leak</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/memory-leak/m-p/3005301#M127323</link>
      <description>My server application run on HP-UX B.11.00 U 9000/800, and I overload operator new and delete to detect all memory allocate and free, and find all dynamic allocated memory is deleted. But as the server running, the memory usage of the process keep increasing fastly.&lt;BR /&gt;&lt;BR /&gt;Is there any memory allocated cannot be found out by overloading new and delete even though in our application, all memory allocation use new and delete(no malloc() and free())?&lt;BR /&gt;&lt;BR /&gt;Or is it possible that our system is not configure properly and cause memory is not released in time? &lt;BR /&gt;&lt;BR /&gt;appreciate if you have any idea or suggestion.&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Tue, 24 Jun 2003 06:58:07 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/memory-leak/m-p/3005301#M127323</guid>
      <dc:creator>xiaoqing</dc:creator>
      <dc:date>2003-06-24T06:58:07Z</dc:date>
    </item>
    <item>
      <title>Re: memory leak</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/memory-leak/m-p/3005302#M127324</link>
      <description>Hi,&lt;BR /&gt;just the first check can be the last patches, there are a few that address memory leaks.&lt;BR /&gt;&lt;BR /&gt;Second can be the compiler, which one are you using ? &lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;Third can be any application, are you using any or are you just testing these functions ?&lt;BR /&gt;&lt;BR /&gt;Fourth: have you any tool like mwa or glance ? with these you can check memory allocation and find who is guilty for the allocation.&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;There are also other posts regarding memory leak and how to find them, try with a serach and see if any can fit your needs.&lt;BR /&gt;&lt;BR /&gt;HTH,&lt;BR /&gt; Massimo&lt;BR /&gt;</description>
      <pubDate>Tue, 24 Jun 2003 07:07:05 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/memory-leak/m-p/3005302#M127324</guid>
      <dc:creator>Massimo Bianchi</dc:creator>
      <dc:date>2003-06-24T07:07:05Z</dc:date>
    </item>
    <item>
      <title>Re: memory leak</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/memory-leak/m-p/3005303#M127325</link>
      <description>Found this in search.&lt;BR /&gt;&lt;BR /&gt;1. reboot your server but do not start any apps (eg. Oracle) &lt;BR /&gt;2. use vmstat to get free memory total. &lt;BR /&gt;3. start apps. &lt;BR /&gt;4. use vmstat to get free memory total. &lt;BR /&gt;5. shutdown apps. &lt;BR /&gt;6. same as 4. Now - the free memory total should go back to what is was in 2. before the apps were started. If it doesnt you have a memory leak. &lt;BR /&gt;7. repeat for users - check free mem using vmstat, let users on, get users off, does free memory return to previous level ? if not you have memory leak.&lt;BR /&gt;&lt;BR /&gt;Apart from this there is glance adviser script in /opt/perf/examples/adviser.&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Tue, 24 Jun 2003 07:09:44 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/memory-leak/m-p/3005303#M127325</guid>
      <dc:creator>RAC_1</dc:creator>
      <dc:date>2003-06-24T07:09:44Z</dc:date>
    </item>
    <item>
      <title>Re: memory leak</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/memory-leak/m-p/3005304#M127326</link>
      <description>Weve had this problem too.&lt;BR /&gt;&lt;BR /&gt;Its caused by the vxfs dynamic inode cache - it keeps growing unless you set it to a limit. To do this set the following kernel parameters;&lt;BR /&gt;&lt;BR /&gt;ninode &lt;VALUE&gt;&lt;BR /&gt;vx_ninode &amp;lt;90% of ninode&amp;gt;&lt;BR /&gt;&lt;BR /&gt;Build kernel and reboot and immediately you will have more free memory and it wont leak!&lt;BR /&gt;We did this on an RP7400 with 8GB of RAM and it saved us between 1-2GB!&lt;BR /&gt;&lt;/VALUE&gt;</description>
      <pubDate>Tue, 24 Jun 2003 07:10:06 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/memory-leak/m-p/3005304#M127326</guid>
      <dc:creator>Stefan Farrelly</dc:creator>
      <dc:date>2003-06-24T07:10:06Z</dc:date>
    </item>
    <item>
      <title>Re: memory leak</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/memory-leak/m-p/3005305#M127327</link>
      <description>oops, my last reply was for 11.11 - not 11.0&lt;BR /&gt;Please ignore, sorry.&lt;BR /&gt;</description>
      <pubDate>Tue, 24 Jun 2003 07:11:05 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/memory-leak/m-p/3005305#M127327</guid>
      <dc:creator>Stefan Farrelly</dc:creator>
      <dc:date>2003-06-24T07:11:05Z</dc:date>
    </item>
    <item>
      <title>Re: memory leak</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/memory-leak/m-p/3005306#M127328</link>
      <description>Hi,&lt;BR /&gt;a thread that suggest how to check memory leak:&lt;BR /&gt;&lt;BR /&gt;&lt;A href="http://forums.itrc.hp.com/cm/QuestionAnswer/1,,0xdf630ea029a2d711abdc0090277a778c,00.html" target="_blank"&gt;http://forums.itrc.hp.com/cm/QuestionAnswer/1,,0xdf630ea029a2d711abdc0090277a778c,00.html&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;For Stephan: thank for the info, i will keep it the same. Who knows....it is always a pleasure to learn something new !&lt;BR /&gt;&lt;BR /&gt;HTH,&lt;BR /&gt;   Massimo&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Tue, 24 Jun 2003 07:13:58 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/memory-leak/m-p/3005306#M127328</guid>
      <dc:creator>Massimo Bianchi</dc:creator>
      <dc:date>2003-06-24T07:13:58Z</dc:date>
    </item>
    <item>
      <title>Re: memory leak</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/memory-leak/m-p/3005307#M127329</link>
      <description>Sorry Stefan, i think i must re-learn how to read names :)&lt;BR /&gt;   Massimo&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Tue, 24 Jun 2003 07:18:17 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/memory-leak/m-p/3005307#M127329</guid>
      <dc:creator>Massimo Bianchi</dc:creator>
      <dc:date>2003-06-24T07:18:17Z</dc:date>
    </item>
    <item>
      <title>Re: memory leak</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/memory-leak/m-p/3005308#M127330</link>
      <description>Hi xiaoqing,&lt;BR /&gt;Normally,memory leak is caused by the 3rd applications if you make lastest O/S patches installed. Most OS can't free the "leak memory" themselves. &lt;BR /&gt;An easy way to resolve this problem is to restart your system. For the case not permitted to be restarted, there are some tools to free "leak memory",but most is not free!&lt;BR /&gt;&lt;BR /&gt;Learning more about this topic!&lt;BR /&gt;&lt;BR /&gt;-ux</description>
      <pubDate>Tue, 24 Jun 2003 07:28:29 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/memory-leak/m-p/3005308#M127330</guid>
      <dc:creator>Fragon</dc:creator>
      <dc:date>2003-06-24T07:28:29Z</dc:date>
    </item>
    <item>
      <title>Re: memory leak</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/memory-leak/m-p/3005309#M127331</link>
      <description>Hi Xio,&lt;BR /&gt;&lt;BR /&gt;Better U apply the patch PHSS_28618. The patch can be applied on the fly and doesn't require a reboot. &lt;BR /&gt;&lt;BR /&gt;The same was the case with me, I was just fed up for last 10 days with one of the hpux11.11 machine suffering from a memory leak problem. Today morning we have applied the patch PHSS_28618 on to it and suddenly teh problem got restored.&lt;BR /&gt;&lt;BR /&gt;Suggest U to get the patch downloaded from itrc site and apply it asap.&lt;BR /&gt;</description>
      <pubDate>Tue, 24 Jun 2003 12:13:07 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/memory-leak/m-p/3005309#M127331</guid>
      <dc:creator>SSP_1</dc:creator>
      <dc:date>2003-06-24T12:13:07Z</dc:date>
    </item>
    <item>
      <title>Re: memory leak</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/memory-leak/m-p/3005310#M127332</link>
      <description>First of all, note that any memory returned by delete (or free()) is not returned to the OS but it made available to the process's heap for subsequent reuse. &lt;BR /&gt;&lt;BR /&gt;One of the most overlooked areas of memory leaks is the use of library functions (e.g. tempnam()) that dynamically allocate memory.&lt;BR /&gt;Pay careful attention to those. I would also look for and install the latest libC and compiler patches.</description>
      <pubDate>Tue, 24 Jun 2003 12:59:32 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/memory-leak/m-p/3005310#M127332</guid>
      <dc:creator>A. Clay Stephenson</dc:creator>
      <dc:date>2003-06-24T12:59:32Z</dc:date>
    </item>
    <item>
      <title>Re: memory leak</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/memory-leak/m-p/3005311#M127333</link>
      <description>First of all, note that any memory returned by delete (or free()) is not returned to the OS but it made available to the process's heap for subsequent reuse. &lt;BR /&gt;&lt;BR /&gt;One of the most overlooked areas of memory leaks is the use of library functions (e.g. tempnam()) that dynamically allocate memory.&lt;BR /&gt;Pay careful attention to those. I would also look for and install the latest libC and compiler patches.</description>
      <pubDate>Tue, 24 Jun 2003 12:59:37 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/memory-leak/m-p/3005311#M127333</guid>
      <dc:creator>A. Clay Stephenson</dc:creator>
      <dc:date>2003-06-24T12:59:37Z</dc:date>
    </item>
    <item>
      <title>Re: memory leak</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/memory-leak/m-p/3005312#M127334</link>
      <description>Hello!&lt;BR /&gt;&lt;BR /&gt;Rational have tools purify &amp;amp; quantify that&lt;BR /&gt;you compile your binary with those libs and&lt;BR /&gt;run the binary, in the end of run you have&lt;BR /&gt;monitor with all leaks that was when it run&lt;BR /&gt;and the source that you could see where the&lt;BR /&gt;problems.&lt;BR /&gt;&lt;BR /&gt;Caesar</description>
      <pubDate>Tue, 24 Jun 2003 19:28:55 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/memory-leak/m-p/3005312#M127334</guid>
      <dc:creator>Caesar_3</dc:creator>
      <dc:date>2003-06-24T19:28:55Z</dc:date>
    </item>
    <item>
      <title>Re: memory leak</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/memory-leak/m-p/3005313#M127335</link>
      <description>Before you start patching for memory leak, run Anil's test to see IF you have a memory leak.&lt;BR /&gt;&lt;BR /&gt;You might just have a bad application that takes memory and doesn't release it properly.  You might need to patch or upgrade the application.&lt;BR /&gt;&lt;BR /&gt;That being said, the latest Quality Pack for 11.00 (March 2003) is almost never a bad idea.  If you have a good connection and a software contract, you can download it and install it quickly.&lt;BR /&gt;&lt;BR /&gt;SEP</description>
      <pubDate>Tue, 24 Jun 2003 19:51:14 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/memory-leak/m-p/3005313#M127335</guid>
      <dc:creator>Steven E. Protter</dc:creator>
      <dc:date>2003-06-24T19:51:14Z</dc:date>
    </item>
  </channel>
</rss>

