On Mon, 7 Nov 2005 22:31:42 +0100
Jure Pečar <[EMAIL PROTECTED]> wrote:

> For example, on my production system I see some suspicious long pauses at
> fcntl64(0x8, 0x7, 0xsomeaddr, 0xsomeotheraddr) calls ... lets dig what this
> is.

As expected, these are from locking operations. 0x8 is file descriptor,
which, if I read lsof output correctly, points to config/socket/imap-0.lock
(what would that be?) and 0x7 is F_SETLKW which reads as "set lock or wait
for it to be released" in the manual page.

I'm sure some cyrus expert (Ken? :) can explain immediately the role of
imap-0.lock and all the locking going on around it ... And if there's
anything we can do to speed it up ...


-- 

Jure Pečar
http://jure.pecar.org/
----
Cyrus Home Page: http://asg.web.cmu.edu/cyrus
Cyrus Wiki/FAQ: http://cyruswiki.andrew.cmu.edu
List Archives/Info: http://asg.web.cmu.edu/cyrus/mailing-list.html

Reply via email to