Hi,
There is reported pam_mysql related memory leak.
This is how I've dealed with it-
MEMORY LEAK DEALING:
a) add the following line to /etc/init.d/saslauthd :
FLAGS="-n0 -s 2048 -t 3600 -c"
(add $FLAGS to the following line so it looks like)
# /sbin/startproc $AUTHD_BIN -a $SASLAUTHD_AUTHMECH $FLAGS > /dev/null 2>&1
# add the following line to /etc/sysconfig/saslauthd :
FLAGS="-n0 -s 2048 -t 3600 -c"
run:
# SuSEconfig
b) insserv /etc/init.d/saslauthd
c) /etc/init.d/saslauthd start
END OF MEMORY LEAK DEALING:
Regards,
Leon Kolchinsky
-----Original Message-----
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Mark Nernberg
Sent: Thursday, December 08, 2005 9:34 AM
To: [email protected]
Subject: Re: [Web-cyradm] memory leak?
On 12/7/05 11:22 PM, "Ted Targosz" <[EMAIL PROTECTED]> wrote:
> I'm running a Dell PE1850 with 2 GB of ram and RHEL 4.0 with a fairly
> orthodox implementation following Luc de Louw's
> Postfix-Cyrus-Web-cyradm-HOWTO and also running squirrelmail.
> Its been running nicely for a few weeks now, but its hung on me a few
> times and I think I've got a memory leak somewhere... i notice that
> after a reboot, memory utilization slowly creeps up such that within
> 24 hours both the physical and swap memory are all utilized...
>
> has anyone ever seen this and might give me some tips on where to
> start looking for the problem?
This is not enough information.
How many users?
How much mail is being transmitted?
Without knowing more, but wanting to help, I believe SASL could be the culprit.
Try restarting saslauthd:
# saslauthd -n 0
The -n option forces saslauthd to fork a new process for each connection,
which, according to the man page, "can help to solve leaks in some deployments".
--
Mark J. Nernberg
Director of Technology
1-Fast Computer Service
(412)478-6262
http://www.1fast.us/
Customer Support: [EMAIL PROTECTED]
Providing secure technology solutions since 2003.
_______________________________________________
This mailing list is hosted and supported by bit-heads GmbH |
http://www.bit-heads.ch
_______________________________________________
Web-cyradm mailing list
[email protected]
http://www.web-cyradm.org/mailman/listinfo/web-cyradm
_______________________________________________
This mailing list is hosted and supported
by bit-heads GmbH | http://www.bit-heads.ch
_______________________________________________
Web-cyradm mailing list
[email protected]
http://www.web-cyradm.org/mailman/listinfo/web-cyradm