[Pkg-Cyrus-imapd-Debian-devel] (fwd) [Bug 2647] New: Master needs to process all pending child messages in one go

Henrique de Moraes Holschuh pkg-cyrus-imapd-debian-devel@lists.alioth.debian.org
Fri, 8 Apr 2005 00:49:32 -0300


--5vNYLRcllDrimb99
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline

We need to have this fixed ASAP in Debian as well:
http://bugzilla.andrew.cmu.edu/show_bug.cgi?id=2647

Do *not* use Cyrus 2.2 in a high connection-rate environment with maxchilds set
until we have this fixed, or things will go downhill very very fast.

Debian Cyrus 2.1 has been fixed a long time ago. I just never noticed 2.2
also needed the fix.

-- 
  "One disk to rule them all, One disk to find them. One disk to bring
  them all and in the darkness grind them. In the Land of Redmond
  where the shadows lie." -- The Silicon Valley Tarot
  Henrique Holschuh

--5vNYLRcllDrimb99
Content-Type: message/rfc822
Content-Disposition: inline

Return-Path: <nobody@andrew.cmu.edu>
X-Original-To: hmh@khazad-dum.debian.net
Delivered-To: hmh@khazad-dum.debian.net
Received: from localhost (localhost [127.0.0.1])
	by localhost.khazad-dum.debian.net (Postfix) with ESMTP id 5269520611A
	for <hmh@khazad-dum.debian.net>; Fri,  8 Apr 2005 00:40:33 -0300 (BRT)
Received: from khazad-dum.debian.net ([127.0.0.1])
	by localhost (khazad-dum [127.0.0.1]) (amavisd-new, port 10024)
	with LMTP id 00706-01 for <hmh@khazad-dum.debian.net>;
	Fri, 8 Apr 2005 00:40:30 -0300 (BRT)
Received: from master.debian.org (master.debian.org [146.82.138.7])
	by khazad-dum.debian.net (Postfix) with ESMTP id 73F84200359
	for <hmh@khazad-dum.debian.net>; Fri,  8 Apr 2005 00:40:27 -0300 (BRT)
Received: from smtp.andrew.cmu.edu [128.2.10.82] 
	by master.debian.org with esmtp (Exim 3.35 1 (Debian))
	id 1DJkM6-0005iQ-00; Thu, 07 Apr 2005 22:40:26 -0500
Received: from asg0.web.cmu.edu (ASG0.WEB.cmu.edu [128.2.11.37])
	by smtp.andrew.cmu.edu (8.12.10/8.12.10) with ESMTP id j383eQpr007261
	(version=TLSv1/SSLv3 cipher=EDH-RSA-DES-CBC3-SHA bits=168 verify=NOT)
	for <hmh@debian.org>; Thu, 7 Apr 2005 23:40:26 -0400
Received: (from nobody@localhost)
	by asg0.web.cmu.edu (8.12.10/8.12.10) id j383ePg7003957;
	Thu, 7 Apr 2005 23:40:25 -0400
Date: Thu, 7 Apr 2005 23:40:25 -0400
Message-Id: <200504080340.j383ePg7003957@asg0.web.cmu.edu>
From: bugzilla-daemon@andrew.cmu.edu
To: hmh@debian.org
Subject: [Bug 2647] New: Master needs to process all pending child messages in one go
X-Bugzilla-Reason: Reporter
X-Virus-Scanned: by amavisd-new-20030616-p10 (Debian) at khazad-dum.debian.net

http://bugzilla.andrew.cmu.edu/show_bug.cgi?id=2647

           Summary: Master needs to process all pending child messages in
                    one go
           Product: Cyrus IMAP
           Version: 2.2.x
          Platform: All
        OS/Version: All
            Status: NEW
          Severity: bug
          Priority: P1
         Component: IMAP
        AssignedTo: shadow@andrew.cmu.edu
        ReportedBy: hmh@debian.org
         QAContact: cyrus-bugzilla@lists.andrew.cmu.edu


There was a deficiency on the original patch that was the base for the Cyrus
master child tracking code present in 2.2.  It only parses one message per cycle
as 2.1 used to do, but this is deadly for the new code (which is a bug by itself).

The attached patch, which will not apply cleanly (it is for the highly modified
Debian Cyrus IMAPd 2.1 tree) implements the fix, AND also adds a way to tweak
the ammount of time master remembers dead children.

There is one other bug in the current code, that this patch does not fix: on the
pathological case where the messages are not being processed, the paranoia
resilience code in master should be capable of avoiding the resource starvation,
and it is currently not doing that.



------- You are receiving this mail because: -------
You reported the bug, or are watching the reporter.

--5vNYLRcllDrimb99--