Help - Bind 9.3.2 use a lot of memory

Alex Tang alextang at cms.hkcable.com
Wed Mar 8 08:55:09 UTC 2006


u means the named will release memory to system later after i flush it by rndc ?

os is SunOS 5.8 sparc SUNW,Sun-Fire-V210
running multi-thread with 2CPU

8751 named     129M  128M sleep   22    0   0:09.09  27% named/7

-----Original Message-----
From: Mark_Andrews at isc.org [mailto:Mark_Andrews at isc.org]
Sent: Wednesday, March 08, 2006 4:48 PM
To: Alex Tang
Cc: bind-users at isc.org; bind9-bugs at isc.org
Subject: Re: Help - Bind 9.3.2 use a lot of memory 



> Hi All
> 
> I upgrade the cache only dns server  to bind 9.3.2. All of them is normal but
>  it use a lot of memory, the named use 1.2G memory, is it normal ?
> 
> load averages:  0.41,  0.42,  0.43                                           
>      dns3                                                16:27:54
> 38 processes:  36 sleeping, 1 stopped, 1 on cpu
> CPU states: 80.2% idle, 14.3% user,  5.5% kernel,  0.0% iowait,  0.0% swap
> Memory: 2.0G real, 281M free, 1.3G swap in use, 4.3G swap free
> 
>    PID USERNAME THR PR NCE  SIZE   RES STATE   TIME FLTS    CPU COMMAND
>   7839 named      7 43   0  1.2G  1.2G sleep  26.4H    0 21.60% named
> 
> the  cleaning-interval is 3 days. 

	The default cleaning interval is 1 hour.  You really don't want to
	wait 3 days to clear expired records from the cache.
 
> i change it to default , reload the config by rndc and flush the database by 
> rndc but the database size cannot decrease.
> 
> Is it normal ? Please help

	Yes.  Once memory is allocated to named it stays allocated.  It
	will be reused however.
 
> thx very much
--
Mark Andrews, ISC
1 Seymour St., Dundas Valley, NSW 2117, Australia
PHONE: +61 2 9871 4742                 INTERNET: Mark_Andrews at isc.org



More information about the bind-users mailing list