Linode Forum
https://forum.linode.com/

saslauthd process takes all the CPU
https://forum.linode.com/viewtopic.php?f=11&t=2869
Page 1 of 1

Author:  ho1 [ Tue Oct 02, 2007 9:54 am ]
Post subject:  saslauthd process takes all the CPU

Hello there,

I have a problem I'd appreciate if anybody could help me to solve it. I have a Gentoo server with IMAP access through SSL. Everything works but every once in a month the saslauthd process gets 100% of the CPU and sucks all my CPU quota until I kill it. I have to restart the process and then everything works normally. Any idea how that could happen or how I could check what the problem is? Is there any program that I could install to notify me whenever something is taking my server resources by email?

cheers
Hamid

Author:  29535 [ Tue Oct 02, 2007 1:56 pm ]
Post subject:  saslauthd

While I didn't have any such problem with Cyrus saslauthd, I do have a possible workaround. Recently I switched away from Cyrus IMAP to Dovecot IMAP and found it wastly superior, at least for small time specs I require. The IDLE works nicely and overall it's such a neat peace of software. It also comes with its own SASL implementation and authentication daemon. The Dovecot auth daemon can support pretty much any auth mechanizm, unlike saslauthd, which does only LOGIN over its socket.

Author:  ho1 [ Tue Oct 02, 2007 2:43 pm ]
Post subject: 

thanks a lot for your suggestion. I wish I had setup that up in the first place. It's just so difficult and time consuming to install a mail server that I'd rather to find a fix for the current one. If I couldn't find why it keeps doing that I'll have to abandon it completely I guess.

Author:  zunzun [ Tue Oct 02, 2007 8:16 pm ]
Post subject:  Re: saslauthd process takes all the CPU

ho1 wrote:
... and sucks all my CPU quota until I kill it.


Long ago I had service at another, lesser, unnamed host provider.

They abruptly terminated my account for "using too much CPU".

When I asked them what they meant, pointing out that they
allowed user scripts to run on their hosting server, they would
not explain or give any detail whatsoever. After much begging
they cracked open the door and kicked out my email files before
slamming it shut.

Here, there is explicit CPU sharing and *no* CPU quota as such.
If two Linodes on the same host server need CPU at the same time,
they share 50/50 and that's that.

James

Author:  ho1 [ Wed Oct 03, 2007 5:14 am ]
Post subject: 

good to know that! :D

so what is that CPU bar that says

"Your Linode has averaged
blah%
of one Host CPU for this month"

that's why I thought there's a quota of CPU time. Is that just for information?

Author:  zunzun [ Thu Oct 04, 2007 5:28 am ]
Post subject: 

ho1 wrote:
that's why I thought there's a quota of CPU time. Is that just for information?


Yes.

James

Page 1 of 1 All times are UTC-04:00
Powered by phpBB® Forum Software © phpBB Group
http://www.phpbb.com/