[Pdns-users] pdns-recursor -- max memory limit

Matt Patterson mpatterson at lightedge.com
Mon Jan 8 16:18:16 UTC 2007


Thanks for the info.  I was hoping someone had stats on the number of
entries and memory usage.  

-Matt



-----Original Message-----
From: Sergey Alexanov [mailto:freak at volia.net] 
Sent: Monday, January 08, 2007 10:09 AM
To: Matt Patterson
Cc: pdns-users at mailman.powerdns.com
Subject: Re: [Pdns-users] pdns-recursor -- max memory limit

Hi Matt,

You may simply use empirical dependence from cache entries to memory
usage.
I set max-cache-entries=2000000
and have approximately 500 ( +- 15 Mb, less than 1 percent )Mb of memory

usage on my recursor boxes.


> Is there a way to set the max amount of memory used by pdns-recursor?
I
> know that there is a setting for max-cache-entries, but I want to set
> this value based on memory used, not by a count of entries.   For
> example, I have a server with 2 GB dedicated to this and I want to
> allocate 1.5 GB of that available ram to the cache. 
> 
>  
> 
> -Matt 
> 
> 
> 
> 
>
------------------------------------------------------------------------
> 
> _______________________________________________
> Pdns-users mailing list
> Pdns-users at mailman.powerdns.com
> http://mailman.powerdns.com/mailman/listinfo/pdns-users


-- 
Sergey Alexanov
SA1215-RIPE
freak at volia.net



More information about the Pdns-users mailing list