<table cellspacing="0" cellpadding="0" border="0" ><tr><td valign="top" style="font: inherit;">Hi Wouter,thanks very much for your reply.<br><br>I tried the method you mentioned,here is the info I got from the log:<br>debug: cache memory msg=16528 rrset=33040 infra=672 val=24888<br>This info keeps the same from the start of the unbound(I have only about 5 records in unbound).<br><br>I also found the value of mem.total.sbrk printed by "unbound-control stats" keeps growing.The item "mem.total.sbrk" is an estimate of the heap size of unbound in bytes,it is close to the memory used by unbound.<br><br>I have a script keeps recording mem.total.sbrk in a file,and found when mem.total.sbrk grew to 2017873920,unbound was killed by system(My server has a 2G memory).<br><br>Unbound runs in a Gentoo Linux with 2.6.23 kernel,does the problem relate to the OS?<br><br>Thanks & Best regards,<br>Tao Ma<span style="font-family: monospace;"><br><br><br><br></span>---
 <b>09年9月10日,周四, W.C.A. Wijngaards <i><wouter@NLnetLabs.nl></i></b> 写道:<br><blockquote style="border-left: 2px solid rgb(16, 16, 255); margin-left: 5px; padding-left: 5px;"><br>发件人: W.C.A. Wijngaards <wouter@NLnetLabs.nl><br>主题: Re: [Unbound-users] 回复: Re:  Is there any memory leak in unbound?<br>收件人: "Tao Ma" <matao_reg@yahoo.com.cn><br>抄送: "Paul Wouters" <paul@xelerance.com>, unbound-users@unbound.net<br>日期: 2009年9月10日,周四,下午10:25<br><br><div class="plainMail">-----BEGIN PGP SIGNED MESSAGE-----<br>Hash: SHA1<br><br>Hi Tao Ma,<br><br>The memory statistics that unbound makes can help?<br><br>It prints them into the log file (depending on verbosity<br>level and --enable-debug to configure) like this:<br>debug: cache memory msg=1620127 rrset=2964258 infra=738306 val=128832<br><br>Also the memory statistics are printed when you enable extended<br>statistics and do
 unbound-control stats, like this:<br>mem.cache.rrset=2980222<br>mem.cache.message=1633031<br>mem.mod.iterator=16460<br>mem.mod.validator=130126<br><br>Best regards,<br>   Wouter<br><br></div></blockquote></td></tr></table><br>


      <hr size=1><a href="http://cn.rd.yahoo.com/mail_cn/tagline/card/*http://card.mail.cn.yahoo.com/">  好玩贺卡等你发,邮箱贺卡全新上线!</a>