Virtual Memory Consumption of Cyrus IMAPd

Andrew Brink abrink at netstandard.net
Mon Jul 19 17:34:15 EDT 2004


Thanks for the tip!

Andrew

-----Original Message-----
From: Andrew Morgan [mailto:morgan at orst.edu]
Sent: Monday, July 19, 2004 4:31 PM
To: Andrew Brink
Cc: Lenny; Mohamed Magdi Abbas; Cyrus Mailing List
Subject: RE: Virtual Memory Consumption of Cyrus IMAPd



You want to run saslauthd with the "-n0" option, which spawns a new
saslauthd process for each incoming request rather than having a fixed
number of threads hanging around which eventually use up all the available
memory.

	Andy

On Mon, 19 Jul 2004, Andrew Brink wrote:

> I have also seen this sasauthd memory leak on a Debian box.  A simple restart always fixes the problem for me too.
>
> Just FYI
>
> -----Original Message-----
> From: owner-info-cyrus at lists.andrew.cmu.edu
> [mailto:owner-info-cyrus at lists.andrew.cmu.edu]On Behalf Of Lenny
> Sent: Monday, July 19, 2004 3:46 PM
> To: Mohamed Magdi Abbas
> Cc: Cyrus Mailing List
> Subject: Re: Virtual Memory Consumption of Cyrus IMAPd
>
>
> Not sure about RHEL, but on Fedora Core 1 the saslauthd process eats tons of
> swap until eventually there's no memory left. Great fun! This of course stops
> cyrus from being able to process imap and pop logins (if you're using
> saslauthd
> for authentication). A simple restart usually fixes this particular problem.
>
> This may or may not be related to what you're seeing, but I figured I'd throw
> this out there.
>
> Lenny
> --
>
> "Wisdom is to a man an infinite Treasure" - Anonymous"
>
>
> Quoting Mohamed Magdi Abbas <abbasmm at longwood.edu>:
>
> > I'm running cyrus impad(v 2.2.6), used to run 2.1.16, on RHEL 3.0 and
> > noticed that the amount of swap space free is decreasing. When I was
> > running v2.1.16, the swap free would decrease until the kernel oom(out
> > of memory) killer would activate and start killing processes which
> > essentially grinds the system to a halt. I doubt that this is normal.
> > Could this point to a memory leak in cyrus. Just for note, I have not
> > yet experienced this with the latest version, but the swap free is
> > decreasing.
> >
> > By the way I'm using simons RPMS from invoca.ch. Could someone shed some
> > light on this. Anything will help...
> >
> > Mohamed Magdi Abbas
> > Systems Engineer
> > Longwood University
> > abbasmm at longwood.edu
> >
> > ---
> > Cyrus Home Page: http://asg.web.cmu.edu/cyrus
> > Cyrus Wiki/FAQ: http://cyruswiki.andrew.cmu.edu
> > List Archives/Info: http://asg.web.cmu.edu/cyrus/mailing-list.html
>
>
> ---
> Cyrus Home Page: http://asg.web.cmu.edu/cyrus
> Cyrus Wiki/FAQ: http://cyruswiki.andrew.cmu.edu
> List Archives/Info: http://asg.web.cmu.edu/cyrus/mailing-list.html
>
> ---
> Cyrus Home Page: http://asg.web.cmu.edu/cyrus
> Cyrus Wiki/FAQ: http://cyruswiki.andrew.cmu.edu
> List Archives/Info: http://asg.web.cmu.edu/cyrus/mailing-list.html
>

---
Cyrus Home Page: http://asg.web.cmu.edu/cyrus
Cyrus Wiki/FAQ: http://cyruswiki.andrew.cmu.edu
List Archives/Info: http://asg.web.cmu.edu/cyrus/mailing-list.html




More information about the Info-cyrus mailing list