Re: Watchdogs (was: Re: Cyrus 2.0.16 seen file locking patch)

2002-04-16 Thread John Wade
I am not sure if you could easily tell when a process is hung. IMAP processes at least can be remarkably persistant. For example, we have some users with cable or DSL connections at home. If these folks leave an email client open and it checks for mail with a period that is shorter than the i

Re: Watchdogs (was: Re: Cyrus 2.0.16 seen file locking patch)

2002-04-16 Thread Jeremy Howard
Henrique de Moraes Holschuh wrote: >I'd like to see watchdogs in cyrus, just like we have in postfix for >example. That would protect us of all bugs like the hanging imap and pop3d >from causing resource starvation, while we track down and fix whatever issue >is causing the subsystem to hang..

Watchdogs (was: Re: Cyrus 2.0.16 seen file locking patch)

2002-04-16 Thread Henrique de Moraes Holschuh
On Tue, 16 Apr 2002, John Wade wrote: > Hi seen file lock suffers, [...] > to my patch to work around seen file locking issues in cyrus 2.0.16 and > 2.1.3. For those who have already installed it, there are no changes in [...] The patch is interesting, and I would apply it just-in-case to the De

Re: Cyrus 2.0.16 seen file locking patch

2002-04-16 Thread John Wade
Hi seen file lock suffers, I cleaned up the documentation, patchability, and added up some comments to my patch to work around seen file locking issues in cyrus 2.0.16 and 2.1.3. For those who have already installed it, there are no changes in functionality. (Thanks to Thomas Jarosch and others

Re: Cyrus 2.0.16 seen file locking patch

2002-04-11 Thread Hein Roehrig
On Thu, 2002-04-11 at 15:24, John Wade wrote: > Just for reference, what file system type are you using (ext2, ext3, etc.) ext3 with the noatime,data=journal options > Have you tried using gdb to backtrace what the processes are blocking > on? Yes, lmtpd was blocked in flock. > Hope it works

Re: Cyrus 2.0.16 seen file locking patch

2002-04-11 Thread John Wade
Hi Hein, Just for reference, what file system type are you using (ext2, ext3, etc.) ? Have you tried using gdb to backtrace what the processes are blocking on? Hope it works for you, I have not looked at the lock_flock.c file on 2.1.3, but I doubt that it has changed. Let me know what ha

Re: Cyrus 2.0.16 seen file locking patch

2002-04-11 Thread Hein Roehrig
Seems that I am also experiencing this or a similar locking problem, on Cyrus 2.1.3, though, with Debian, Linux kernel 2.4.18. I will try the workaround now, but still would very much welcome comments on the problem. -Hein On Mon, 2002-04-08 at 23:26, John Wade wrote: > Hi Cyrus 2.0.16 users,

Re: Cyrus 2.0.16 seen file locking patch

2002-04-09 Thread John Wade
Hi Cyrus 2.0.16 users, Just because I received a couple of questions about what this patch is designed to resolve, I thought this info might also be of general use. As I stated before, the patched lock_flock.c file can be downloaded from http://servercc.oakton.edu/~jwade/cyrus/ This patch has on