Red Hat Bugzilla – Bug 161317
saslauthd memory leak
Last modified: 2007-04-18 13:28:26 EDT
From Bugzilla Helper:
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; de-DE; rv:1.7.5) Gecko/20041108 Firefox/1.0
Description of problem:
I am running a mail server with postfix, cyrus-imapd, cyrus-sasl and mysql as backend.
Saslauthd uses with the time more and more memory until there is no swap space available and i run into huge troubles. Random daemons like ssh will exit because of not sufficient memory. I have to restart saslauthd on a regular basis to avoid this problem.
Version-Release number of selected component (if applicable):
Steps to Reproduce:
Actual Results: saslauthd use all available memory
I have set "pwcheck_method: saslauthd" in smtpd.conf
There a several posting on the cyrus mailing lists which concerns this bug. I don't know if it has been already been fixed.
I did a mistake with the release number which is cyrus-sasl-2.1.18-2.2 and not
Adding FLAGS="-c -n 0" to /etc/sysconfig/saslauthd avoids the problem for me,
but the memory leak is still there.
I found the same problem with Red Hat Enterprise Linux ES 3 with package
I'd like to really solve this problem, not only work-around it. Now I'm testing
the work-around to see if it's really effective.
I'm waiting your answer ASAP
Juvenal A. Silva Jr.
Postings to the Cyrus mailing list indicate that this is a memory leak in the
PAM modules that most of us are using via saslauthd. Would anyone care to
comment on that?
pam_mysql is causing the memory leaks.