improving concurrency/performance

Jure Pečar pegasus at nerv.eu.org
Mon Nov 7 17:31:56 EST 2005


On Mon, 7 Nov 2005 22:31:42 +0100
Jure Pečar <pegasus at nerv.eu.org> 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/



More information about the Info-cyrus mailing list