When I was debugging my LDAP code for DBMail, I compiled with ccmalloc:
http://www.inf.ethz.ch/personal/biere/projects/ccmalloc/
and found it to be an excellent tool to help track down leaks.

Perhaps this should be a main goal of the 1.2 release...

Aaron


On 24 Feb 2003, Mark S Burgunder wrote:

> Hi
>
> I have been using dbmail for a while now and have noticed that the
> dbmail-imapd daemon seems to cause ever increasing memory usage.
> This seems to happen when an IMAP client (in my case Evolution) is
> connected to dbmail.
>
> To illustrate my point I have included the output of the free command
> below:
> Following ">>" are commands used to see this behavior.
>
> >>free -tm
>              total       used       free     shared    buffers cached
> Mem:           501        492          9          0         30     48
> -/+ buffers/cache:        413         88
> Swap:          415         57        358
> Total:         917        549        367
>
> >> killall dbmail-imapd
> >> sleep 10
> >> free -tm
>              total       used       free     shared    buffers cached
> Mem:           501        220        281          0         30     48
> -/+ buffers/cache:        140        361
> Swap:          415         54        361
> Total:         917        274        643
>
> >>dbmail-imapd
> >>free -tm
>              total       used       free     shared    buffers cached
> Mem:           501        220        281          0         30     48
> -/+ buffers/cache:        140        361
> Swap:          415         54        361
> Total:         917        274        643
>
> Now I am not sure what is using all that memory or if it is even
> dbmail-imapd or maybe mysql, but since killing dbmail-imapd recovers the
> memory I thought I raise it here.
>
> I am currently using dbmail 1.1, with mysql 3.23.54 on a redhat 8.0
> machine with 512 MB memory.
>
> Cheers
> Mark S Burgunder
>
> _______________________________________________
> Dbmail mailing list
> Dbmail@dbmail.org
> https://mailman.fastxs.nl/mailman/listinfo/dbmail
>

Reply via email to