Case number 00047310.
Yeah, there's no errors in the log.
mailboxd service was restarted at 09:08. IMAP/POP/LMTP services started at 09:10. And then, the server decides to initialize every mailbox, which takes about half a second, on average (the first per mboxgroup is slow, because mysql caches are cold, but the speed picks up).
Only after every single mailbox has been initialized do ports 80/443/7071 start working.
In previous releases of ZCS, there was index recovery, but it was asynchronous.
Code:
2009-12-17 09:10:25,540 INFO [LmtpServer] [] TcpServer/7025 - starting accept loop
2009-12-17 09:10:25,541 INFO [Pop3Server] [] TcpServer/110 - starting accept loop
2009-12-17 09:10:25,543 INFO [Pop3SSLServer] [] TcpServer/995 - starting accept loop
2009-12-17 09:10:25,547 INFO [ImapServer] [] TcpServer/143 - starting accept loop
2009-12-17 09:10:25,550 INFO [ImapSSLServer] [] TcpServer/993 - starting accept loop
2009-12-17 09:10:26,055 INFO [main] [] scheduler - Loaded 1993 scheduled data source tasks
2009-12-17 09:10:26,935 INFO [main] [] index - Initialized Index for mailbox 1812 directory: LuceneIndex at com.zimbra.cs.index.Z23FSDirectory@/opt/zimbra/index/0/1812/index/0 Analyzer=com.zimbra.cs.index.ZimbraAnalyzer@117c50b9
2009-12-17 09:10:26,936 INFO [main] [] cache - initializing folder and tag caches for mailbox 1812
2009-12-17 09:10:29,083 INFO [main] [] sqltrace - Slow execution (2130ms): SELECT mi.id, mi.type, mi.parent_id, mi.folder_id, mi.index_id, mi.imap_id, mi.date, mi.size, mi.volume_id, mi.blob_digest, mi.unread, mi.flags, mi.tags, mi.subject, mi.name, mi.metadata, mi.mod_metadata, mi.change_date, mi.mod_content FROM mboxgroup12.mail_item AS mi WHERE mailbox_id = 1812 AND type IN (1,2,13,3)
2009-12-17 09:10:29,240 INFO [main] [] mbxmgr - Mailbox 1812 account 064a07d9-57a1-482b-9c16-087c6ecef75a LOADED
...
2009-12-17 09:30:24,491 INFO [main] [] index - Initialized Index for mailbox 2519 directory: LuceneIndex at com.zimbra.cs.index.Z23FSDirectory@/opt/zimbra/index/0/2519/index/0 Analyzer=com.zimbra.cs.index.ZimbraAnalyzer@117c50b9
2009-12-17 09:30:24,491 INFO [main] [] cache - initializing folder and tag caches for mailbox 2519
2009-12-17 09:30:25,617 INFO [main] [] mbxmgr - Mailbox 2519 account 8944da2d-1035-478c-a3d8-1dd17a7bd8a9 LOADED
2009-12-17 09:30:25,662 INFO [main] [] index - Initialized Index for mailbox 2200 directory: LuceneIndex at com.zimbra.cs.index.Z23FSDirectory@/opt/zimbra/index/0/2200/index/0 Analyzer=com.zimbra.cs.index.ZimbraAnalyzer@117c50b9
2009-12-17 09:30:25,662 INFO [main] [] cache - initializing folder and tag caches for mailbox 2200
2009-12-17 09:30:25,715 INFO [main] [] mbxmgr - Mailbox 2200 account 698a2bb2-198f-4816-bd20-6b4ad9d23eee LOADED
2009-12-17 09:30:25,760 INFO [main] [] index - Initialized Index for mailbox 2201 directory: LuceneIndex at com.zimbra.cs.index.Z23FSDirectory@/opt/zimbra/index/0/2201/index/0 Analyzer=com.zimbra.cs.index.ZimbraAnalyzer@117c50b9
2009-12-17 09:30:25,760 INFO [main] [] cache - initializing folder and tag caches for mailbox 2201
2009-12-17 09:30:26,170 INFO [main] [] mbxmgr - Mailbox 2201 account 6e2967b1-1e17-4183-9098-880515a665c7 LOADED