[Dovecot] LOCKD errors

Jay Chandler chandler.lists at chapman.edu
Fri Mar 16 21:23:12 EET 2007


Chris Wakelin wrote:
> Jay Chandler wrote:
>   
>> Timo Sirainen wrote:
>>     
>>> What does "lockd" mean there? It's waiting for a lock? What does tracing
>>> the process say it's doing?
>>> http://wiki.dovecot.org/Debugging/ProcessTracing
>>>
>>>   
>>>       
>> Apparently the process is hung-- I can't even kill -9 it.  The trace
>> returns empty...
>>
>> I do know that I'm running the statd and lockd services as part of my
>> NFS client, so that may be a clue...
>>
>>     
>
> What OS is the NFS client? 
FreeBSD 6.2
> What does "lock status -h" show on the NetApp? 
85297 0x005431b4:0x31003ece 0:0 1 GWAITING (0x8b7f4e30)
57316 0x00f04626:0x31003ece 0:0 1 GWAITING (0xd8898ca0)
16739 0x0055bb36:0x31003ece 0:0 1 GWAITING (0x6de71408)
 8112 0x00480ddd:0x31003ece 0:0 1 GWAITING (0x92dbc408)
83501 0x009a0555:0x31003ece 0:0 1 GWAITING (0x77210278)
70228 0x00480ddd:0x31003ece 0:0 1 GWAITING (0x81757340)
52435 0x0055bb36:0x31003ece 0:0 1 GWAITING (0x6d57d408)
44850 0x00b5e464:0x31003ece 0:0 1 GWAITING (0xdbf97278)
30205 0x00f04626:0x31003ece 0:0 1 GWAITING (0x6f658d68)
29488 0x004d5b3a:0x31003ece 0:0 1 GWAITING (0x6f6588b8)
28415 0x0055bb36:0x31003ece 0:0 1 GWAITING (0xb6534b10)
16166 0x0055bb36:0x31003ece 0:0 0 GWAITING (0x8a00bb10)
16050 0x0055bb36:0x31003ece 0:0 1 GWAITING (0x6173d4d0)
88710 0x00480ddd:0x31003ece 0:0 1 GWAITING (0x6a7784d0)
76271 0x00903268:0x31003ece 0:0 1 GWAITING (0x88a6c7f0)
54122 0x005431b4:0x31003ece 0:0 1 GWAITING (0x6daaf980)
52477 0x00b5e464:0x31003ece 0:0 1 GWAITING (0x739a2e30)
83716 0x00f04626:0x31003ece 0:0 1 GWAITING (0xa856b980)
80174 0x00dbd479:0x31003ece 0:0 1 GWAITING (0xb6534bd8)
76024 0x00480ddd:0x31003ece 0:0 1 GWAITING (0x7e99c1b0)
69062 0x00dbd479:0x31003ece 0:0 1 GWAITING (0x6173dd68)
66497 0x009a0555:0x31003ece 0:0 1 GWAITING (0x7426bef8)
64499 0x00dbd479:0x31003ece 0:0 1 GWAITING (0x7426b408)
61150 0x0055bb36:0x31003ece 0:0 1 GWAITING (0x6173d980)
53374 0x00dbd479:0x31003ece 0:0 1 GWAITING (0x71e81ef8)
52148 0x00b5e464:0x31003ece 0:0 1 GWAITING (0x739a2660)
42287 0x00dbd479:0x31003ece 0:0 1 GWAITING (0xab4d6408)
19065 0x00dbd479:0x31003ece 0:0 1 GWAITING (0x8b7f4660)
15610 0x00dbd479:0x31003ece 0:0 1 GWAITING (0x6f6587f0)
 6370 0x00f04626:0x31003ece 0:0 1 GWAITING (0xab4d6b10)
72337 0x00f04626:0x31003ece 0:0 1 GWAITING (0x70cba7f0)
59691 0x005431b4:0x31003ece 0:0 1 GWAITING (0x81757ef8)
41287 0x0055bb36:0x31003ece 0:0 1 GWAITING (0x7e02eef8)
37370 0x00480ddd:0x31003ece 0:0 1 GWAITING (0x71e81020)
36385 0x00dbd479:0x31003ece 0:0 1 GWAITING (0x772101b0)
86471 0x00480ddd:0x31003ece 0:0 1 GWAITING (0x7e99c340)
77003 0x005431b4:0x31003ece 0:0 1 GWAITING (0xb4f23020)
40548 0x00dbd479:0x31003ece 0:0 1 GWAITING (0x92dbc340)
11170 0x00480ddd:0x31003ece 0:0 1 GWAITING (0x92dbca48)
 6857 0x004d5b3a:0x31003ece 0:0 1 GWAITING (0xb6f101b0)
 6800 0x00903268:0x31003ece 0:0 1 GWAITING (0x791a4660)
80847 0x0055bb36:0x31003ece 0:0 1 GWAITING (0xd80954d0)
70460 0x00480ddd:0x31003ece 0:0 1 GWAITING (0x773c2020)
29421 0x00b5e464:0x31003ece 0:0 1 GWAITING (0xd8095ef8)
82913 0x00b5e464:0x31003ece 0:0 1 GWAITING (0x773c2bd8)
81349 0x00f04626:0x31003ece 0:0 1 GWAITING (0xb4f237f0)
48771 0x00dbd479:0x31003ece 0:0 1 GWAITING (0x791a4b10)
31400 0x005431b4:0x31003ece 0:0 1 GWAITING (0x773c2660)
26423 0x00903268:0x31003ece 0:0 1 GWAITING (0x6d57dbd8)
71486 0x00f04626:0x31003ece 0:0 1 GWAITING (0xe2d91728)
64813 0x009a0555:0x31003ece 0:0 1 GWAITING (0x5ed8f0e8)
64284 0x00480ddd:0x31003ece 0:0 1 GWAITING (0x8b74c020)
92911 0x00f04626:0x31003ece 0:0 1 GWAITING (0xbd7a68b8)
85809 0x00903268:0x31003ece 0:0 1 GWAITING (0x71e81728)
83209 0x00b5e464:0x31003ece 0:0 1 GWAITING (0x92dbcd68)
74112 0x00b5e464:0x31003ece 0:0 1 GWAITING (0x6a778bd8)
62927 0x00480ddd:0x31003ece 0:0 1 GWAITING (0xb0b55660)
41209 0x005431b4:0x31003ece 0:0 1 GWAITING (0xe7600598)
36383 0x005431b4:0x31003ece 0:0 1 GWAITING (0x92dbc598)
20252 0x00480ddd:0x31003ece 0:0 1 GWAITING (0x669077f0)

For the server in question.
> What do you have for "mbox_write_locks" in the dovecot.conf file?
>   
fcntl dotlock

> I found I got locking problems, using the imaptest tool, with a Linux
> client and mboxes on the NetApp (with "mbox_write_locks=fcntl"), but not
> with Solaris 8. Maildirs were fine with the Linux client. I think mboxes
> caused problems on the Linux client even with "mbox_write_locks=dotlock
> fcntl".
>   
And I'm using BSD, which falls somewhere between the two if I recall 
correctly...

-- 
Jay Chandler
Network Administrator
Chapman University



More information about the dovecot mailing list