--- [EMAIL PROTECTED] wrote:
> Hello fellow listmembers,
> 
> We switched to a new version of the cyrus imapd
> (version 2.0.12) and i think we have encounted the
> 'locking problem' that is being discussed here.
> 
> What we are seeing here is that it takes a long
> while for the greetings to show even after the
> connection has been established. A whole lot of
> tracing and debugging turned up that the process is
> waiting to get access to the mailboxes.db (and
> related files like __db* and log.*). Carefull
> reading and backtracking through the sourcecodes
> show that the problem probably is located in the db3
> lib somewhere. Following is a piece of the strace:
> 
> select(0, NULL, NULL, NULL, {1, 0})     = 0
> (Timeout)
> select(0, NULL, NULL, NULL, {1, 0})     = 0
> (Timeout)
> select(0, NULL, NULL, NULL, {1, 0})     = 0
> (Timeout)
> select(0, NULL, NULL, NULL, {1, 0})     = 0
> (Timeout)
> select(0, NULL, NULL, NULL, {1, 0})     = 0
> (Timeout)
> select(0, NULL, NULL, NULL, {1, 0})     = 0
> (Timeout)
> open("/var/imap/db/log.0000000002",
> O_RDWR|O_CREAT|O_LARGEFILE, 0644) = 5
> fcntl(5, F_SETFD, FD_CLOEXEC)           = 0
> _llseek(5, 9426640, [9426640], SEEK_SET) = 0
> write(5,
>
"\225\326\217\0a\316\"E;\0\0\0\215\0\0\0~5\0\200\0\0\0\0"...,
> 59) = 59
> fsync(5)                                = 0
> 
> 
> After adding some debug code in the pop3d we found
> out that the problem has to be somewhere in the
> mboxlist_open function (mboxlist.c:1707) most likely
> in the DB->open call. I suspect that the select in
> the strace is called by the function __os_sleep in
> the sleepycat DB code.
> 

We would like to say that we have exactly the same
behaviour. All the traces end on multiple sleeps while
trying to access some db3 files. 


BTW, our traces on reconstruct show that reconstruct
tries to read databases from
/var/imap/deliverdb/* ? (it locks there when the
congestion accurs) is there any info it could use ?
I thought it only needs to get info from mailboxes.db
file and user directory.

H.

__________________________________________________
Do You Yahoo!?
Yahoo! Auctions - buy the things you want at great prices
http://auctions.yahoo.com/

Reply via email to