Re: One more attempt: stuck processes

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

 



On Nov 16, 2007 6:11 PM, Sebastian Hagedorn <Hagedorn@xxxxxxxxxxxx> wrote:> --On 16. November 2007 18:07:51 +0100 Gabor Gombas <gombasg@xxxxxxxxx>> wrote:>> >> Hm, we don't suffer any actual slowdown, it's just that the number of> >> processes increases over time.> >> > It's not a slowdown - the client connects, and hangs. It never even gets> > to the authentication phase (at least it's not logged). Clients that> > happen to connect to a non-affected process run normally.>> Well, that just sounds like you're running out of entropy. That's a> different issue. Recompile your cyrus-sasl to use /dev/urandom instead of> /dev/random or disable apop in /etc/imapd.conf:>> allowapop: 0>> Either of those things should get rid of that.
The quick but the bad way to do this is for testing is
# ls -l /dev/*randomcrw-rw-rw- 1 root root 1, 8 Nov 16 06:18 /dev/randomcr--r--r-- 1 root root 1, 9 Nov  7 22:47 /dev/urandom
# mv /dev/random /dev/random.orig# ln -sf /dev/urandom /dev/random
And then, because letting /dev/random that way too long is insecure :
# rm -f /dev/random# mv /dev/random.orig /dev/random
This avoid to recompile the source just for testing.


>> -->      .:.Sebastian Hagedorn - RZKR-R1 (Gebäude 52), Zimmer 18.:.> Zentrum für angewandte Informatik - Universitätsweiter Service RRZK> .:.Universität zu Köln / Cologne University - ✆ +49-221-478-5587.:.>                    .:.:.:.Skype: shagedorn.:.:.:.> ----> 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>


-- Alain Spineuxaspineux gmail comMay the sources be with you----Cyrus Home Page: http://cyrusimap.web.cmu.edu/Cyrus Wiki/FAQ: http://cyrusimap.web.cmu.edu/twikiList 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