<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=us-ascii">
<meta name="Generator" content="Microsoft Exchange Server">
<!-- converted from rtf -->
<style><!-- .EmailQuote { margin-left: 1pt; padding-left: 4pt; border-left: #800000 2px solid; } --></style>
</head>
<body>
<font face="Arial, sans-serif" size="2">
<div>Hi,</div>
<div> </div>
<div>I am currently running an unbound instance on openbsd 4.5</div>
<div> </div>
<div>The compile options I used are:</div>
<div>./configure --prefix=/opt/unbound-1.4.4 \</div>
<div>--with-ssl=/usr \</div>
<div>--with-libevent=/usr \</div>
<div>--without-pthreads \</div>
<div>--with-chroot-dir=/var/unbound \</div>
<div>--with-pidfile=/var/run/unbound.pid \</div>
<div>--with-conf-file=/var/unbound/etc/unbound.conf \</div>
<div>--with-username=named</div>
<div> </div>
<div>Mofified parameters in Unbound.conf</div>
<div>verbosity: 1</div>
<div>extended-statistics: yes</div>
<div>num-threads: 1</div>
<div>outgoing-range: 1024</div>
<div>msg-cache-size: 300m</div>
<div>num-queries-per-thread: 1024</div>
<div>rrset-cache-size: 600m</div>
<div>do-ip6: no</div>
<div>access-control: 0.0.0.0/0 allow</div>
<div>prefetch: yes</div>
<div>prefetch-key: yes</div>
<div>module-config: "validator iterator"</div>
<div> </div>
<div>After running a day and memory usage going up to 1.5 GB the daemon exits with the following message.</div>
<div> </div>
<div>error: tcp send r: Broken pipe</div>
<div>error: out of memory caching validator results</div>
<div> </div>
<div> </div>
<div>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.</div>
<div> </div>
<div>Does this error mean I need to increase the key-cache size? Currently it is set to default size of 4MB.</div>
<div> </div>
<div>I would assume if the cache limit is reached it would flush older entries to clear up memory….</div>
<div> </div>
<div>Cheers,</div>
<div>Mike</div>
<div> </div>
<div> </div>
</font>
</body>
</html>