Hello,
I'm one of several users of procmail at our net. We are having problems wrt
procmail and locking (deadlocking?) since our MTA was changed to qmail.
What happens is that at some point there are several procmail processes trying
to (unsuccessfully) lock a folder and making the load sky rocket. The only
solution then is to change the files' inode (with cp). Emails larger than 100K
also make procmail unable to lock/unlock a folder.
Thanks a lot for any help, I'm really lost on this one. I'm attaching some
data below.
--
Adriano
Mail is being delivered over NFS on a machine running SunOS 4.1.3_U1, the
procmail version is:
procmail v3.11pre7
Locking strategies: dotlocking, fcntl(), lockf(), flock()
Your system mailbox: /home/gradmac/anr/Mailbox
Here's my ~/.qmail:
| preline procmail
ps list:
26454 ? IW 0:00 bin/qmail-alias -- anr /home/gradmac/anr anr ime.usp.br o
26457 ? IW 0:00 sh -c preline procmail
26458 ? IW 0:00 preline procmail
26460 ? S 0:00 procmail
26471 ? IW 0:00 bin/qmail-alias -- anr /home/gradmac/anr anr ime.usp.br a
26472 ? IW 0:00 sh -c preline procmail
26473 ? IW 0:00 preline procmail
26474 ? R 4:51 procmail
26561 ? IW 0:00 bin/qmail-alias -- anr /home/gradmac/anr anr ime.usp.br o
26562 ? IW 0:00 sh -c preline procmail
26563 ? IW 0:00 preline procmail
26565 ? S 0:00 procmail
procmail log:
...
procmail: Unlocking "/home/gradmac/anr/Mailbox.lock"
procmail: Couldn't unlock "/home/gradmac/anr/Mailbox.lock"
...
procmail: Match on "^Sender:
owner-linux-kernel(_at_)vger(_dot_)rutgers(_dot_)edu"
procmail: Locking "lists/KERNEL.lock"
procmail: [26565] Fri Dec 5 19:31:04 1997
procmail: Locking "lists/KERNEL.lock"
procmail: [26565] Fri Dec 5 19:31:12 1997
procmail: Locking "lists/KERNEL.lock"
procmail: [26565] Fri Dec 5 19:31:20 1997
procmail: Locking "lists/KERNEL.lock"
...
procmail: Locking "lists/KERNEL.lock"
procmail: [26565] Fri Dec 5 19:36:04 1997
procmail: Terminating prematurelyprocmail: [26474] Fri Dec 5 19:36:04 1997
procmail: Terminating prematurely
From anr(_at_)ime(_dot_)usp(_dot_)br Fri Dec 05 21:28:40 1997
Folder: **Requeued** 119036
...
procmail: [26763] Fri Dec 5 19:36:50 1997
procmail: Timeout, was waiting for "lists/KERNEL"
procmail: Reiterating kernel-lock
procmail: [26768] Fri Dec 5 19:36:51 1997
procmail: Locking "lists/KERNEL.lock"
procmail: [26763] Fri Dec 5 19:36:54 1997
procmail: Kernel-lock failed
procmail: Kernel-unlock failed
procmail: Unlocking "lists/KERNEL.lock"