Re: initial slowness

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

 



I have two possible fixes, not sure if either will work...

The first possible is if your system is configured for IPv6, but Cyrus 
is not opening a port on any IPv6 addresses, if you just type 
'localhost', it will likely try the IPv6 address first and the timeout 
is probably in the 20-25 second range.

The other option I ran into some time ago... and it had to due to 
defining multiple authentication schemes in the SASL configuration.  
When you define multiple, it will try each one in order.  I stripped it 
down to just PLAIN, which is what I wanted to use, and it was much 
quicker.  The cyradm script will prompt for the password before actually 
trying to connect, which is why it's slow AFTER the password is entered.

Iv Ray wrote:
> Hello everyone,
>
> A few weeks ago I wrote to the list about slow Cyrus IMAP, and I  
> received a couple of answers, however I am still struggling.
>
> What I noticed now is that even the command line login -
>
> cyradm -u cyrus localhost
>
> takes about 25 seconds, after the password is entered, to show the  
> localhost> prompt (and the server load is close to zero).
>
> I did reconstruct several times and once quota -f, but this does not  
> seem to help.
>
> I read about rebuilding of the mailboxes.db - but I am a bit scared.
>
> The server is running FreeBSD 6.x with latest Cyrus IMAP and has,  
> usually, load close to zero.
>
> I also noticed that the add/edit mailbox operations done with a php  
> script take very long (perhaps around 25 seconds, as well).
>
> Some hints what might be wrong and/or steps to clean up/improve the  
> situation will be greatly appreciated!
>
> Many thanks,
> Iv
>
>
> ----
> 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
>   
----
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