slow mailbox creation

David A Powicki dpowicki at oit.umass.edu
Fri Feb 21 12:30:21 EST 2003


Salutations,                                                                                                          
                                                                                                                      
We are seeing slow mailbox creation times and are wondering how                                                       
unusual this might be for our configuration.  Presently it takes about                                                
4 wall-clock seconds to create a mailbox.                                                                             
                                                                                                                      
The machine running cyrus is a Sun V880 with 6 CPU's, around 8gigs                                                    
free RAM, and has 120k mailboxes (mailboxes.db is skiplist).  It sees                                                 
2,000 concurrent imap connections, about 10 sustained imap logins per                                                 
second, and about 200,000 lmtp delivery operations per day.                                                           
                                                                                                                      
The metadata (/var/cyrus/imap) is mounted with UFS logging on a Sun                                                   
Enterprise T3 that presently does nothing but serve out the metadata.                                                 
This is where mailboxes.db lives.                                                                                     
                                                                                                                      
This computer seems happy and fast in all respects, except for mailbox                                                
creations (4 seconds) and deletions (about 2 seconds) and ACL updates                                                 
(2 seconds).  A truss of an imapd that creates a mailbox and then                                                     
deletes it reveals 75 iterations of this:                                                                             
                                                                                                                      
stat("/var/cyrus/imap/mailboxes.db", 0xFFBED3D0) = 0                                                                  
fcntl(5, F_SETLKW, 0xFFBED448)                  = 0                                                                   
fcntl(5, F_SETLKW, 0xFFBEE870)                  = 0                                                                   
fstat(5, 0xFFBEE998)                            = 0                                                                   
                                                                                                                      
                                                                                                                      
Any ideas? 

-- 
David Powicki		 Network Analyst      OIT Network Services
Voice: 413.545.1605  Fax: 413.545.3203    University of Massachusetts
email: dpowicki at nic.umass.edu               Amherst, MA 01003-4640





More information about the Info-cyrus mailing list