Sam,

Attached is the logfile. I hope it is useful.

Tom Albers
KovoKs B.V.
KvK: 11033334


Quoting Sam Varshavchik <[email protected]>:

Sam Varshavchik writes:

Tom Albers writes:

Hi,

Since we upgraded to Debian Lenny (auth daemon 0.61), we are
experiencing a memory leak in the Courier Authdaemon. Since then we
upgraded to testing (auth daemon 0.63), to see if the problem was
already solved. But it is not. Debian sarge did not have this problem.

Because a graph tells a lot more than words, please see the attached
image. You can see the memory slowly leaking away, the os gives up the
cache more and more until no memory is left. At that moment the auth
daemon states that it can not fork anymore (and an input/ouput error) and gives up. At ~9:15, I’ve done a restart on the authdaemon only (not on any other process) and you see instantly the memory is released back to the operating
system.

And of course this repeats itself. After 1,5 days we again have the
same problem.

This machine only runs courier. The authentication is happening
against PAM which auths against an LDAP directory. The OS is Debian testing, and the following
courier versions are installed:
ii  courier-authdaemon              0.63.0-2
ii  courier-authlib                 0.63.0-2
ii  courier-base                    0.65.0-1
ii  courier-imap                    4.8.0-1
ii  courier-imap-ssl                4.8.0-1
ii  courier-pop                     0.65.0-1
ii  courier-pop-ssl                 0.65.0-1
ii  courier-ssl                     0.65.0-1

If you need any more information let me know. If there is a special

The only way to track this down is to use valgrind.

Try temporary changing init.d/courier-authlib, replacing

$sbindir/authdaemond start

with

valgrind --tool=memcheck --leak-check=yes --log-file=/tmp/authdaemon.log $sbindir/authdaemond start

You may need to append & to run this in the background.


After a couple of authentication requests, stop the service, and see what the log file says.




-------------------------------------------------
Dit mailtje is verstuurd vanaf de server van KovoKs.
http://www.kovoks.nl

Attachment: authdaemon.log.gz
Description: application/gzip

------------------------------------------------------------------------------
This SF.net email is sponsored by 

Make an app they can't live without
Enter the BlackBerry Developer Challenge
http://p.sf.net/sfu/RIM-dev2dev 
_______________________________________________
courier-users mailing list
[email protected]
Unsubscribe: https://lists.sourceforge.net/lists/listinfo/courier-users

Reply via email to