Re: Replication speeds?

2007-05-09 Thread Wesley Craig
Obviously looking at more iostat information would give a better  
idea, but I'd estimate that you are NOT I/O bound.  Sorry I can't  
give you absolute numbers from UM, but I can share a patch that we  
wrote that we believe has increase sync throughput substantially, as  
evidenced by the lack of a sync backlog which we were getting before  
we added the patch.


The patch itself is pretty simple.  As with most TCP-based request- 
response protocols, the Cyrus sync protocol suffers from artificial  
"Nagle" delays.  See:


http://en.wikipedia.org/wiki/Nagle's_algorithm

for what's good about Nagle's algorithm.  The patch disables Nagle  
delays in both sync_client and sync_server.


:wes



nodelay.diff
Description: Binary data


On 09 May 2007, at 11:05, Nik Conwell wrote:

What sort of rates are you all getting for replication?

At 2.3.7 for a manual sync_client for a user, I'm seeing ~35MB/ 
minute across a 100M net to a linux SW RAID 1 pair of U320 disks.


Is this speed typical or abysmal?

Disks appear to be holding me back:

Device:rrqm/s wrqm/s   r/s   w/s  rsec/s  wsec/srkB/s 
wkB/s avgrq-sz avgqu-sz   await  svctm  %util
dm-0 0.00   0.00  0.00 429.960.00 3439.65 0.00   
1719.83 8.00 7.24   16.75   1.86  80.01


Production (40,000+ users) would probably be FC and gigE...



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

Re: cyrus postfix [auf Viren überprüft]

2007-05-09 Thread Hans Moser

Zoran Kikic schrieb:


is saslauthd running?
/usr/local/sbin/saslauthd -a pam &
then crate your DB:
/usr/local/sbin/saslpasswd2 -f /etc/sasldb2 -u localhost -c cyrus
chown root:mail /etc/sasldb2
chmod 660 /etc/sasldb2

If saslauthd uses pam, I pretty sure, it will not use a sasldb2.

sasldb is a auxprop plugin, where saslauthd is an password verfication 
service itself. So it is auxprop _or_ saslauthd.


You have to check imapd.conf first.



Hans

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


Replication speeds?

2007-05-09 Thread Nik Conwell

What sort of rates are you all getting for replication?

At 2.3.7 for a manual sync_client for a user, I'm seeing ~35MB/minute  
across a 100M net to a linux SW RAID 1 pair of U320 disks.


Is this speed typical or abysmal?

Disks appear to be holding me back:

Device:rrqm/s wrqm/s   r/s   w/s  rsec/s  wsec/srkB/swkB/ 
s avgrq-sz avgqu-sz   await  svctm  %util
dm-0 0.00   0.00  0.00 429.960.00 3439.65 0.00   
1719.83 8.00 7.24   16.75   1.86  80.01


Production (40,000+ users) would probably be FC and gigE...


Nik Conwell
Boston University
[EMAIL PROTECTED]

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


Re: cyrus postfix

2007-05-09 Thread Zoran Kikic

Jim McIver schrieb:

I'm a newbie trying to install Postfix / Cyrus on SLES 10

Followed along instructions and create a user named cyrus and set the 
passwd.


I can su - cyrus
but when I "cyradm localhost" it ask's for a password (which I 
haven't given any that I know of) and then errors.


Login failed: authentication failure at 
/usr/lib/perl5/vendor_perl/5.8.8/i586-linux-thread-

multi/Cyrus/IMAP/Admin.pm line 118
cyradm: cannot authenticate to server with  as cyrus

is saslauthd running?
/usr/local/sbin/saslauthd -a pam &

then crate your DB:
/usr/local/sbin/saslpasswd2 -f /etc/sasldb2 -u localhost -c cyrus
chown root:mail /etc/sasldb2
chmod 660 /etc/sasldb2



If I just type cyrus it logs in but lm yeilds "listmailbox: no 
connection to server"

is imap running?
/usr/local/bin/master &

login:
cyradm --user cyrus --server localhost



Message in /var/log/messages is:
mailtest imap[13387]: badlogin: localhost [127.0.0.1] plaintext cyrus 
SASL(-13): aut

hentication failure: checkpass failed

I've tried the password for cyrus...no luck.

How is this suppose to work?

show us your imapd.conf and smtpd.conf





-Jim McIver


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