Cyrus 2.1.9 on Solaris 8 - occasional deadlocks on individual users

Lawrence Greenfield leg+ at andrew.cmu.edu
Fri Sep 13 16:06:05 EDT 2002


   Date: Tue, 10 Sep 2002 12:46:43 -0400
   From: Steve Barber <steveb at cme.nist.gov>

   Truss on the users' imapds shows this :

   fcntl(7, F_SETLKW, 0xFFBEF3B4)  (sleeping...)

You can figure out what this is by using lsof or /usr/proc/bin/pfiles.

I usually do a /usr/proc/bin/pfiles on a process that's hanging to
find out who has the lock, then finding out what that process is
doing (usually waiting for network I/O or another lock).

This of course shouldn't happen. Well, maybe it can happen for up to
1/2 an hour if the process holding the lock is stuck in a select(),
but even then we should probably be more clever.

[...]
   In the mean time, any suggestions for how to narrow the problem down?

gdb backtraces on the process that is holding the lock might be
helpful.

Larry





More information about the Info-cyrus mailing list