Operating System - HP-UX
1833758 Members
2860 Online
110063 Solutions
New Discussion

Buf Cache is eating my memory

 
SOLVED
Go to solution
Robin C. Querol
Occasional Advisor

Buf Cache is eating my memory

My server is rp8400 with 4CPU and 4GB memory. I'm running HPUX 11.11. The system is not running any load but I noticed that I have a 50% utilization on the memory. I checked in glance and found out that the Buf Cache is utilizing 50% of my physical memory. I remember there is a kernel configurable parameter for this. Can you help me refresh my kind. Thanks.
6 REPLIES 6
Jean-Louis Phelix
Honored Contributor
Solution

Re: Buf Cache is eating my memory

Hi,

Dynamical allocation parameters are dbc_minpct and dbc_maxpct. Leave min to 5 but in your case max shouldn't exceed 20.

Regards.

PS : unfortunaltly, you will have to reboot after kernel regen !
It works for me (© Bill McNAMARA ...)
Jean-Louis Phelix
Honored Contributor

Re: Buf Cache is eating my memory

hi,

Sorry for typos, it's of course dbc_min_pct and dbc_max_pct.

Regards.
It works for me (© Bill McNAMARA ...)
Robin C. Querol
Occasional Advisor

Re: Buf Cache is eating my memory

Thanks. You are right, I just found my notes.
Michael Tully
Honored Contributor

Re: Buf Cache is eating my memory

Unfortunately these setting are placed far to hight when a system is installed. The ideal values are somewhere in between 300-500mb. In your case set the db_max_pct to 10 and the db_min_pct to about 3.

To generate a new kernel.

# cd /stand/build
# /usr/lbin/sysadm/system_prep -s system
Make your changes and save the file
# mk_kernel -s system
# kmupdate
# shutdown -r -y 0

If you are not comfortable this way use 'sam'.
Anyone for a Mutiny ?
Jean-Louis Phelix
Honored Contributor

Re: Buf Cache is eating my memory

Hi,

I've seen that you had never assigned points ... It's kind to do it when someone helped you. :-) ...

Regards.
It works for me (© Bill McNAMARA ...)
Robin C. Querol
Occasional Advisor

Re: Buf Cache is eating my memory

Thanks.