Bug#153915: Problem still exists in etch

Fabian Fagerholm fabbe at paniq.net
Fri Feb 23 08:59:12 CET 2007


On Wed, 2007-02-21 at 16:52 +0100, Rene Caspari wrote:
> the problem with the growing memory consumption still exists in etch:
[...]
> I use saslauthd with pam-mysql too.

Could you try running the program under valgrind to see if we can track
this down (the hypothesis is that it's a memory leak in pam-mysql)?

You'll have to arrange for saslauthd to be started with the same
parameters as the init script, but run it with valgrind. The easiest way
is probably to stop saslauthd using the init script, and then run it
manually as root, like this:

$ valgrind --leak-check=full --show-reachable=yes --verbose
--trace-children=yes
--log-file=/tmp/saslauthd-valgrind /usr/sbin/saslauthd <options>

<options> are the options to saslauthd. You can see which options are in
use by running "ps ax | grep saslauthd" while saslauthd is running.

When you've captured enough data, stop saslauthd (by pressing Ctrl-C in
the terminal where it's running and letting it shut down peacefully).
You can then continue running normally (using the init script to start
saslauthd).

This will produce a number of files of the form saslauthd-valgrind.<pid>
in /tmp. Send them all as email attachments to this bug. Hopefully,
they'll help us get a better idea of what's going on.

Of course, you can choose another directory to place the output files
in, and you'll need to keep the thing running for a while to get a
decent sample of memory leaks. You probably know best how long to keep
it running, but I'd say an hour or two should be enough, if there is a
decent amount of logins during that time.

If you have any questions at all, don't hesitate to ask! It would be
really nice to get a better view of this issue.

Thanks for your help! :)

-- 
Fabian Fagerholm <fabbe at paniq.net>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: This is a digitally signed message part
Url : http://lists.alioth.debian.org/pipermail/pkg-cyrus-sasl2-debian-devel/attachments/20070223/263fa2b9/attachment.pgp


More information about the Pkg-cyrus-sasl2-debian-devel mailing list