<?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 or not? in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/memory-leak-or-not/m-p/3936606#M288221</link>
    <description>Shalom,&lt;BR /&gt;&lt;BR /&gt;There are patches for OS related memory leaks and you could choose to pre-emptively install them.&lt;BR /&gt;&lt;BR /&gt;Memory leaks show up on glance and even to as processes that continue to increase memory use and do not give back.&lt;BR /&gt;&lt;BR /&gt;Commonly they are caused by poor programming techniques. Large vendors like Oracle provide patches for dealing with the issue in their applications and database server software.&lt;BR /&gt;&lt;BR /&gt;Try to identify the process and then you may have a course of action.&lt;BR /&gt;&lt;BR /&gt;SEP</description>
    <pubDate>Thu, 01 Feb 2007 10:24:55 GMT</pubDate>
    <dc:creator>Steven E. Protter</dc:creator>
    <dc:date>2007-02-01T10:24:55Z</dc:date>
    <item>
      <title>memory leak or not?</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/memory-leak-or-not/m-p/3936605#M288220</link>
      <description>&lt;!--!*#--&gt;Hello,&lt;BR /&gt;&lt;BR /&gt;on a B.11.11 server with 47Gb of memory installed, the kernel takes around 10Gb of memory ;(&lt;BR /&gt;&lt;BR /&gt;# kmeminfo&lt;BR /&gt;tool: kmeminfo 5.19&lt;BR /&gt;unix: /stand/vmunix 11.11 64bit PA2.0 on "nr0u0151"&lt;BR /&gt;core: /dev/kmem live&lt;BR /&gt;link: Thu Sep 14 14:31:37 METDST 2006&lt;BR /&gt;boot: Sat Dec  2 11:46:33 2006&lt;BR /&gt;time: Thu Feb  1 16:10:21 2007&lt;BR /&gt;nbpg: 4096 bytes&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;----------------------------------------------------------------------&lt;BR /&gt;Physical memory usage summary (in page/byte/percent):&lt;BR /&gt;&lt;BR /&gt;Physical memory       = 12573952   48.0g 100%  &lt;BR /&gt;Free memory           =  1027749    3.9g   8%  &lt;BR /&gt;User processes        =  7601841   29.0g  60%  details with -user&lt;BR /&gt;System                =  3917143   14.9g  31%  &lt;BR /&gt;  Kernel              =  2659748   10.1g  21%  kernel text and data&lt;BR /&gt;    Dynamic Arenas    =  1335977    5.1g  11%  details with -arena&lt;BR /&gt;      ALLOCB_MBLK_LM  =   712882    2.7g   6%  &lt;BR /&gt;      M_TEMP          =   220944  863.1m   2%  &lt;BR /&gt;      ALLOCB_MBLK_SM  =   186043  726.7m   1%  &lt;BR /&gt;      ALLOCB_MBLK_MH  =    88792  346.8m   1%  &lt;BR /&gt;      M_SPINLOCK      =    25170   98.3m   0%  &lt;BR /&gt;      Other arenas    =   102146  399.0m   1%  details with -arena&lt;BR /&gt;    Super page pool   =   559881    2.1g   4%  details with -kas&lt;BR /&gt;    Static Tables     =   636171    2.4g   5%  details with -static&lt;BR /&gt;      pfdat           =   287757    1.1g   2%  &lt;BR /&gt;      htbl2_0         =   131072  512.0m   1%  &lt;BR /&gt;      nbuf            =   106992  417.9m   1%  bufcache headers&lt;BR /&gt;      pfn_to_virt     =    47959  187.3m   0%  &lt;BR /&gt;      bufhash         =    40960  160.0m   0%  bufcache hash headers&lt;BR /&gt;      Other tables    =    21430   83.7m   0%  details with -static&lt;BR /&gt;  Buffer cache        =  1257395    4.8g  10%  details with -bufcache&lt;BR /&gt;&lt;BR /&gt;i've already looked for tunables parameters, the only who seems to be far too hight is dbc_max_pct (10%) but i believe it's not part of the kernel memory utilisation.&lt;BR /&gt;here are the last tunables modified:&lt;BR /&gt;STRMSGSZ        65535&lt;BR /&gt;dbc_max_pct     10&lt;BR /&gt;dnlc_hash_locks 512&lt;BR /&gt;max_thread_proc 1024&lt;BR /&gt;maxdsiz         0XFFFFF000&lt;BR /&gt;maxdsiz_64bit   21474836480&lt;BR /&gt;maxfiles        4096&lt;BR /&gt;maxfiles_lim    5120&lt;BR /&gt;maxssiz         0X17F00000&lt;BR /&gt;maxssiz_64bit   0X40000000&lt;BR /&gt;maxswapchunks   16384&lt;BR /&gt;maxtsiz                 0x4000000&lt;BR /&gt;maxtsiz_64bit           0x40000000&lt;BR /&gt;maxuprc         2662&lt;BR /&gt;maxusers        1024&lt;BR /&gt;maxvgs          80&lt;BR /&gt;nfile           (60*(NPROC+16+MAXUSERS)/10+32+2*(NPTY+NSTRPTY+NSTRTEL))&lt;BR /&gt;nflocks         3500&lt;BR /&gt;ninode          (((NPROC+16+MAXUSERS)+32+(2*NPTY))*3)&lt;BR /&gt;nstrpty         60&lt;BR /&gt;semaem          32000&lt;BR /&gt;semmni          6656&lt;BR /&gt;semmns          25000&lt;BR /&gt;semmnu          3324&lt;BR /&gt;semume          64&lt;BR /&gt;shmmax          4294967295&lt;BR /&gt;shmmni          512&lt;BR /&gt;shmseg          128&lt;BR /&gt;&lt;BR /&gt;have an idea?&lt;BR /&gt;&lt;BR /&gt;thanks in advance.&lt;BR /&gt;Regards,&lt;BR /&gt;Cedrick Gaillard</description>
      <pubDate>Thu, 01 Feb 2007 10:15:39 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/memory-leak-or-not/m-p/3936605#M288220</guid>
      <dc:creator>mobidyc</dc:creator>
      <dc:date>2007-02-01T10:15:39Z</dc:date>
    </item>
    <item>
      <title>Re: memory leak or not?</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/memory-leak-or-not/m-p/3936606#M288221</link>
      <description>Shalom,&lt;BR /&gt;&lt;BR /&gt;There are patches for OS related memory leaks and you could choose to pre-emptively install them.&lt;BR /&gt;&lt;BR /&gt;Memory leaks show up on glance and even to as processes that continue to increase memory use and do not give back.&lt;BR /&gt;&lt;BR /&gt;Commonly they are caused by poor programming techniques. Large vendors like Oracle provide patches for dealing with the issue in their applications and database server software.&lt;BR /&gt;&lt;BR /&gt;Try to identify the process and then you may have a course of action.&lt;BR /&gt;&lt;BR /&gt;SEP</description>
      <pubDate>Thu, 01 Feb 2007 10:24:55 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/memory-leak-or-not/m-p/3936606#M288221</guid>
      <dc:creator>Steven E. Protter</dc:creator>
      <dc:date>2007-02-01T10:24:55Z</dc:date>
    </item>
    <item>
      <title>Re: memory leak or not?</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/memory-leak-or-not/m-p/3936607#M288222</link>
      <description>Your biggest chunk is the buffer cache and on 11.11 with 47GiB of memory, 10% is still way too high. 11.23 scales the buffer cache back down much faster and the buffer cache search routines are more efficient than with 11.11 or lower and thus 11.23 is better able to use very large buffer caches. 11.11, in almost all cases, tends to hit the "sweet spot" at something like 1600MiB. While you can't do this in 11.23 because it has been eliminated, if I were you in 11.11, I would go to a static buffer cache of 1600MiB by setting bufpages=409600. You could also do much the same thing by setting your dbc_max_pct and dbc_min_pct to about 3 or 4 but I prefer the static caches.</description>
      <pubDate>Thu, 01 Feb 2007 10:30:09 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/memory-leak-or-not/m-p/3936607#M288222</guid>
      <dc:creator>A. Clay Stephenson</dc:creator>
      <dc:date>2007-02-01T10:30:09Z</dc:date>
    </item>
    <item>
      <title>Re: memory leak or not?</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/memory-leak-or-not/m-p/3936608#M288223</link>
      <description>Hi,&lt;BR /&gt;have you applied the latest patchsets ?&lt;BR /&gt;&lt;BR /&gt;Your machine has only been running 2 months, I assume there were no earlier problems ?&lt;BR /&gt;Have applications been upgraded ?&lt;BR /&gt;&lt;BR /&gt;As this is not the 11.23 of your earlier thread you may want to read:&lt;BR /&gt;&lt;A href="http://forums1.itrc.hp.com/service/forums/questionanswer.do?threadId=104309" target="_blank"&gt;http://forums1.itrc.hp.com/service/forums/questionanswer.do?threadId=104309&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;Using glance to highlight problem processes may also help.&lt;BR /&gt;</description>
      <pubDate>Thu, 01 Feb 2007 10:31:46 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/memory-leak-or-not/m-p/3936608#M288223</guid>
      <dc:creator>Peter Godron</dc:creator>
      <dc:date>2007-02-01T10:31:46Z</dc:date>
    </item>
    <item>
      <title>Re: memory leak or not?</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/memory-leak-or-not/m-p/3936609#M288224</link>
      <description>Hi all,&lt;BR /&gt;&lt;BR /&gt;the only known story of this server is than a colleague have tried to Goldapps it one year ago wich result in softare incompatibility, an ignite recovery have been useful.&lt;BR /&gt;&lt;BR /&gt;so, effectively, this server is not fully patched and we try to not reboot this system.&lt;BR /&gt;&lt;BR /&gt;i'm going to open a call at HP's support.&lt;BR /&gt;&lt;BR /&gt;if you have ideas between this time... ;)&lt;BR /&gt;&lt;BR /&gt;PS: the buffer cache is not part of the dynamic arena of the kernel so, this parameter (to high i know) is not considered for the moment.&lt;BR /&gt;&lt;BR /&gt;Regards,&lt;BR /&gt;Cedrick Gaillard</description>
      <pubDate>Thu, 01 Feb 2007 11:05:56 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/memory-leak-or-not/m-p/3936609#M288224</guid>
      <dc:creator>mobidyc</dc:creator>
      <dc:date>2007-02-01T11:05:56Z</dc:date>
    </item>
    <item>
      <title>Re: memory leak or not?</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/memory-leak-or-not/m-p/3936610#M288225</link>
      <description>Hi Cedrick&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;for that type of question, it looks reasonable to open a call to hp support. The answer is not so direct. &lt;BR /&gt;6% ALLOCB_MBLK_LM arena means that network stack  is owning 6% of the memory. There are cases where it is due to a leak, or this can be a peak usage, or this can be also the normal activity if it is a system with a lot of cpu and a lot of NIC.&lt;BR /&gt;&lt;BR /&gt;Regards,&lt;BR /&gt;Laurent Menase</description>
      <pubDate>Thu, 01 Feb 2007 13:00:37 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/memory-leak-or-not/m-p/3936610#M288225</guid>
      <dc:creator>Laurent Menase</dc:creator>
      <dc:date>2007-02-01T13:00:37Z</dc:date>
    </item>
    <item>
      <title>Re: memory leak or not?</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/memory-leak-or-not/m-p/3936611#M288226</link>
      <description>thanks Laurent,&lt;BR /&gt;&lt;BR /&gt;a call have been open to the HP call center, i'm waiting for their diagnostics.&lt;BR /&gt;&lt;BR /&gt;if you have other explanations for the other areas please share it ;)&lt;BR /&gt;&lt;BR /&gt;Cheers,&lt;BR /&gt;Cedrick Gaillard</description>
      <pubDate>Fri, 02 Feb 2007 03:11:29 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/memory-leak-or-not/m-p/3936611#M288226</guid>
      <dc:creator>mobidyc</dc:creator>
      <dc:date>2007-02-02T03:11:29Z</dc:date>
    </item>
    <item>
      <title>Re: memory leak or not?</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/memory-leak-or-not/m-p/3936612#M288227</link>
      <description>What other explanations are you looking for?&lt;BR /&gt;&lt;BR /&gt;+ The system is not under memory pressure (3.9Gb free), so the kernel memory policies favor caching for performance over releasing memory. Hence, memory used at peak is likely still around.&lt;BR /&gt;&lt;BR /&gt;+ The super page pool is a kernel memory cache -- and only releases memory back to the system when all parts of a given super page are returned to it from the Arena layer. [And since you have a reasonable amount of memory in the Arena layer, the fact that there are uncoalesced super pages and hence memory hanging around in that cache isn't surprising.] On the plus side, new kernel allocations try this cache first (with some exceptions... there's always exceptions), so the kernel should stay out of your 3.9Gb until that's gone or it needs a larger page size than what's cached.&lt;BR /&gt;&lt;BR /&gt;pfdats and translation entries are completely and utterly out of your control. This is the metadata the kernel needs to represent physical memory, its consumption scales directly with memory (more RAM, more metadata to represent it in the kernel/translate it in the kernel/etc.)&lt;BR /&gt;&lt;BR /&gt;Buffer cache is at the max.. yes, but you told it it could go there (dbc_max_pct 10) and there isn't pressure forcing it down...&lt;BR /&gt;&lt;BR /&gt;Frankly -- on first look, I don't see anything odd or wrong here... It looks to me like your typical NFS server style load (Streams clients tend to be networking... but there are others, so NFS is just my first guess). You're doing a lot of I/O that gets buffered in the Buffer Cache [so that grows up to the max], and then sending that across I/O adapters... so kernel metadata for the I/O itself gets created (streams arenas grow based on peak usage).. and your system is happy enough with the pressure that the garbage collection isn't particularly aggressive.&lt;BR /&gt;&lt;BR /&gt;That's just first look, mind you -- so I have no problem with you having support check that the streams arenas aren't leaking instead of just reflecting a peak/current usage. Better safe than sorry... but I wouldn't be too worried about any of this until you hear back from them.</description>
      <pubDate>Fri, 02 Feb 2007 10:13:27 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/memory-leak-or-not/m-p/3936612#M288227</guid>
      <dc:creator>Don Morris_1</dc:creator>
      <dc:date>2007-02-02T10:13:27Z</dc:date>
    </item>
    <item>
      <title>Re: memory leak or not?</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/memory-leak-or-not/m-p/3936613#M288228</link>
      <description>Thanks Don Morris,&lt;BR /&gt;&lt;BR /&gt;these informations was what i've searched. &lt;BR /&gt;&lt;BR /&gt;Regards,&lt;BR /&gt;Cedrick Gaillard</description>
      <pubDate>Mon, 05 Feb 2007 03:38:58 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/memory-leak-or-not/m-p/3936613#M288228</guid>
      <dc:creator>mobidyc</dc:creator>
      <dc:date>2007-02-05T03:38:58Z</dc:date>
    </item>
  </channel>
</rss>

