Operating System - HP-UX
1830936 Members
2007 Online
110017 Solutions
New Discussion

Extra high memory consumption when _M_CACHE_OPTS is on

 
SOLVED
Go to solution

Extra high memory consumption when _M_CACHE_OPTS is on

Hi everyone! Can you help me with the following issue: an ia64 system running under hp-ux 11.23 experiences a constantly increasing memory consumption when using a thread local cache with every legal setting (starting from _M_CACHE_OPTS = 1:8:0 and higher). Server has 12Gb of RAM and the size of the multi-threaded process increases by 1-3Mb/sec until it reaches the bound set by maxdsiz_64. These memory "leaks" disappear when I turn off (or unset) the _M_CACHE_OPTS parameter. Unforunately, the usage of this parameter increases the productivity by 200-300%, so I'd like to keep it on if possible ;-)
5 REPLIES 5
Dennis Handly
Acclaimed Contributor

Re: Extra high memory consumption when _M_CACHE_OPTS is on

It is still occurring? Have you looked into patches?
whiteknight
Honored Contributor
Solution

Re: Extra high memory consumption when _M_CACHE_OPTS is on

Alex,

PHCO_36673 11.23 libc cumulative patch has addressed this issue.


WK
please assign points
Problem never ends, you must know how to fix it
Steven E. Protter
Exalted Contributor

Re: Extra high memory consumption when _M_CACHE_OPTS is on

Shalom,

You might want to look for a memory leak.

http://www.hpuxconsulting.com/mem.mon

I just got a bug report on the HP-UX with filter version, but without the -f parameter it should track your top memory users over time and identify processes that are gaining memory and not playing nice and giving it back.

SEP
Steven E Protter
Owner of ISN Corporation
http://isnamerica.com
http://hpuxconsulting.com
Sponsor: http://hpux.ws
Twitter: http://twitter.com/hpuxlinux
Founder http://newdatacloud.com

Re: Extra high memory consumption when _M_CACHE_OPTS is on

whiteknight is absolutely right, PHCO_35744: ABORT HANG MEMORY_LEAK addresses this issue and is included in cumulative patch PHCO_36673;

Thank you for your help, I'll close the thread now.

Re: Extra high memory consumption when _M_CACHE_OPTS is on

up