Re: [Unbound-users] Is there any memory leak in unbound?

2009-09-11 Thread Tao Ma
What's more,I found that the memory occupied by unbound would not be freed when 
all requets finished,that means,unbound only consume memory but never free them.
What does unbound hold the memory for?It quite like that  a memory leak 
happens...
Anyone else has been in the same trouble?


Best Regards,
Tao Ma


--- 09年9月11日,周五, Tao Ma  写道:

发件人: Tao Ma 
主题: Re: [Unbound-users] Is there any memory leak in unbound?
收件人: "W.C.A. Wijngaards" 
抄送: unbound-users@unbound.net
日期: 2009年9月11日,周五,上午11:50

Hi Wouter,thanks very much for your reply.

I tried the method you mentioned,here is the info I got from the log:
debug: cache memory msg=16528 rrset=33040 infra=672 val=24888
This info keeps the same from the start of the unbound(I have only about 5 
records in unbound).

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.

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).

Unbound runs in a Gentoo Linux with 2.6.23 kernel,does the problem relate to 
the OS?

Thanks & Best regards,
Tao Ma



---
 09年9月10日,周四, W.C.A. Wijngaards  写道:

发件人: W.C.A. Wijngaards 
主题: Re: [Unbound-users] 回复: Re:  Is there any memory leak in unbound?
收件人: "Tao Ma" 
抄送: "Paul Wouters" , unbound-users@unbound.net
日期: 2009年9月10日,周四,下午10:25

-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

Hi Tao Ma,

The memory statistics that unbound makes can help?

It prints them into the log file (depending on verbosity
level and --enable-debug to configure) like this:
debug: cache memory msg=1620127 rrset=2964258 infra=738306 val=128832

Also the memory statistics are printed when you enable extended
statistics and do
 unbound-control stats, like this:
mem.cache.rrset=2980222
mem.cache.message=1633031
mem.mod.iterator=16460
mem.mod.validator=130126

Best regards,
   Wouter





好玩贺卡等你发,邮箱贺卡全新上线!
-下面为附件内容-

___
Unbound-users mailing list
Unbound-users@unbound.net
http://unbound.nlnetlabs.nl/mailman/listinfo/unbound-users


  ___ 
  好玩贺卡等你发,邮箱贺卡全新上线! 
http://card.mail.cn.yahoo.com/___
Unbound-users mailing list
Unbound-users@unbound.net
http://unbound.nlnetlabs.nl/mailman/listinfo/unbound-users

Re: [Unbound-users] Is there any memory leak in unbound?

2009-09-11 Thread Artis Caune
2009/9/11 Tao Ma 
>
> What's more,I found that the memory occupied by unbound would not be freed 
> when all requets finished,that means,unbound only consume memory but never 
> free them.
> What does unbound hold the memory for?It quite like that  a memory leak 
> happens...
> Anyone else has been in the same trouble?

Hi,

do you reload unbound while it's running ?




--
Artis Caune

   Everything should be made as simple as possible, but not simpler.
___
Unbound-users mailing list
Unbound-users@unbound.net
http://unbound.nlnetlabs.nl/mailman/listinfo/unbound-users

Re: [Unbound-users] Is there any memory leak in unbound?

2009-09-11 Thread Tao Ma
Hi,I didn't reload unbound while it's running,I always start it and then send 
requests to the server,then it will consume more and more memory.

--- 09年9月11日,周五, Artis Caune  写道:

发件人: Artis Caune 
主题: Re: [Unbound-users] Is there any memory leak in unbound?
收件人: "Tao Ma" 
抄送: wou...@nlnetlabs.nl, unbound-users@unbound.net
日期: 2009年9月11日,周五,下午7:02

Hi,

do you reload unbound while it's running ?




--
Artis Caune

聽 聽Everything should be made as simple as possible, but not simpler.



  ___ 
  好玩贺卡等你发,邮箱贺卡全新上线! 
http://card.mail.cn.yahoo.com/___
Unbound-users mailing list
Unbound-users@unbound.net
http://unbound.nlnetlabs.nl/mailman/listinfo/unbound-users