[Unbound-users] out of memory caching validator results
Slingerland, Michael van
Michael.van.Slingerland at t-mobile.nl
Sat May 29 11:41:54 UTC 2010
Hi,
I am currently running an unbound instance on openbsd 4.5
The compile options I used are:
./configure --prefix=/opt/unbound-1.4.4 \
--with-ssl=/usr \
--with-libevent=/usr \
--without-pthreads \
--with-chroot-dir=/var/unbound \
--with-pidfile=/var/run/unbound.pid \
--with-conf-file=/var/unbound/etc/unbound.conf \
--with-username=named
Mofified parameters in Unbound.conf
verbosity: 1
extended-statistics: yes
num-threads: 1
outgoing-range: 1024
msg-cache-size: 300m
num-queries-per-thread: 1024
rrset-cache-size: 600m
do-ip6: no
access-control: 0.0.0.0/0 allow
prefetch: yes
prefetch-key: yes
module-config: "validator iterator"
After running a day and memory usage going up to 1.5 GB the daemon exits with the following message.
error: tcp send r: Broken pipe
error: out of memory caching validator results
Memory usage limit on my machine is set to 2GB per process the machine has 3GB of RAM. At the point of the crash there was enough free memory.
Does this error mean I need to increase the key-cache size? Currently it is set to default size of 4MB.
I would assume if the cache limit is reached it would flush older entries to clear up memory....
Cheers,
Mike
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.nlnetlabs.nl/pipermail/unbound-users/attachments/20100529/dcf14264/attachment.htm>
More information about the Unbound-users
mailing list