Bug#153915: sasl2-bin: saslauthd leaks memory using PAM
Martín Ferrari
tincho at debian.org
Sat May 17 23:53:27 UTC 2008
Hi Fabian,
On Sat, May 17, 2008 at 7:22 AM, Fabian Fagerholm <fabbe at paniq.net> wrote:
> A long time ago, you submitted a bug against the cyrus-sasl2 Debian
> package regarding a memory leak in the saslauthd daemon.
Indeed, it was one of my first bug reports :)
> After a lot of investigation, I'm fairly confident that I've pinpointed
> the issue -- and it seems that it is a memory leak related to the
> getpwnam_r function, described in Debian bug #273051.
> There is an easy way to confirm this. Just edit /etc/nsswitch.conf and
> replace all occurrences of "compat" with "files". Doing this, and
> restarting saslauthd, should stop the memory leaks. I would be very
> happy if you could try this out on your system and tell me if the memory
> leaks stopped (or were reduced).
>
> Please try this -- it would be great if we could confirm the root cause
> of these memory leaks!
Incredibly, this machine is still running woody (is the last one), so
the problem is still present and I had set a cronjob for restarting
the daemon each day. So I'll disable the cronjob and try this, I'll
report in a few days. But I wonder if this has any relevance nowadays,
since I'm still using the woody version of the package!
Thanks!!
--
Martín Ferrari
More information about the Pkg-cyrus-sasl2-debian-devel
mailing list