[Dovecot] stale locks

Thomas Hummel hummel at pasteur.fr
Sat Jan 20 09:05:00 UTC 2007


On Fri, Jan 19, 2007 at 10:36:28PM +0200, Timo Sirainen wrote:
> On Fri, 2007-01-19 at 21:08 +0100, Thomas Hummel wrote:

> What exactly does "processes stuck in disk wait" state mean? "D" in ps
> output? 

yes. A process in disk (or other short term, uninterruptible) wait.

> If you ktrace the process, does it show you what syscall it's
> waiting on?

I planned to try that. Still didn't do it.

> I'm thinking maybe your problem is that your nfs.lockd breaks itself, or
> something else in the NFS setup breaks itself..

May be the case indeed. How about some issue with large mailboxes ?
Would you recommend tweaking some options in dovecot.conf (such as
lock timeouts...etc..) ?

> > The only way I can get ridd of them is to
> > 	
> > 	restart nfslocking
> > 	remove the .lock file
> > 	change the inode of the mailbox file
> 
> By this you mean get rid of the processes? 

Yes. I get rid of the Disk Wait process and everything restart fine (I
forgot to mention I stop postfix and dovecot before that sequence).

-- 
Thomas Hummel 	    | Institut Pasteur
<hummel at pasteur.fr> | Pôle informatique - systèmes et réseau


More information about the dovecot mailing list