Re: timeouts when connecting to imap server

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Timo Veith wrote:
Rudy Gevaert wrote:
Some time ago we had some problems with sasl.  When to many users are
connecting sasl starts blocking because it hasn't enough entropy.
Recompile sasl so it uses /dev/urandom instead of /dev/random.

Hello Rudy,

thank you for your tip. I recompiled cyrus-sasl to use /dev/urandom whereafter I restartet cyrus. First it looked like timeouts were gone, because nagios reportet nothing. But then after a few hours the timeouts where back. :(

Did you restart saslauthd?



I also tried to raise the prefork number (0->1), but then my users told me that they could not connect to the pop server anymore. Others still could. Also the imapproxy didn't work anymore. I changed prefork back to zero and it was ok again.

What I haven't done before was raising the file descriptor limit. I read about the setrlimit -1 thing in the archive and remembered that I should be no problem. Anyway I raised the number from 1024 to 20480. Don't know if that will help but my feeling was that maybe cyrus is waiting somehow / somewhere because it cannot open anymore files and has to close some before. Just guessing ...

Any more hints?

Timo



--
-- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- --
Rudy Gevaert          Rudy.Gevaert@xxxxxxxx          tel:+32 9 264 4734
Directie ICT, afd. Infrastructuur ICT Department, Infrastructure office
Groep Systemen                    Systems group
Universiteit Gent                 Ghent University
Krijgslaan 281, gebouw S9, 9000 Gent, Belgie               www.UGent.be
-- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- --
----
Cyrus Home Page: http://cyrusimap.web.cmu.edu/
Cyrus Wiki/FAQ: http://cyrusimap.web.cmu.edu/twiki
List Archives/Info: http://asg.web.cmu.edu/cyrus/mailing-list.html

[Index of Archives]     [Cyrus SASL]     [Squirrel Mail]     [Asterisk PBX]     [Video For Linux]     [Photo]     [Yosemite News]     [gtk]     [KDE]     [Gimp on Windows]     [Steve's Art]

  Powered by Linux