Your message dated Sun, 29 Aug 2004 15:19:00 -0400 with message-id <[EMAIL PROTECTED]> and subject line Bug#268758: Renaming a large (maildir) mailbox is slow has caused the attached Bug report to be marked as done.
This means that you claim that the problem has been dealt with. If this is not the case it is now your responsibility to reopen the Bug report if necessary, and/or fix the problem forthwith. (NB: If you are a system administrator and have no idea what I am talking about this indicates a serious mail system misconfiguration somewhere. Please contact me immediately.) Debian bug tracking system administrator (administrator, Debian Bugs database) -------------------------------------- Received: (at submit) by bugs.debian.org; 28 Aug 2004 23:29:51 +0000 >From [EMAIL PROTECTED] Sat Aug 28 16:29:51 2004 Return-path: <[EMAIL PROTECTED]> Received: from out006pub.verizon.net (out006.verizon.net) [206.46.170.106] by spohr.debian.org with esmtp (Exim 3.35 1 (Debian)) id 1C1Cdr-0003jc-00; Sat, 28 Aug 2004 16:29:51 -0700 Received: from cerebus.burrows.local ([207.68.118.100]) by out006.verizon.net (InterMail vM.5.01.06.06 201-253-122-130-106-20030910) with ESMTP id <[EMAIL PROTECTED]>; Sat, 28 Aug 2004 18:29:50 -0500 Received: from [192.168.1.209] (helo=[127.0.0.1]) by cerebus.burrows.local with esmtp (Exim 3.36 #1 (Debian)) id 1C1CeO-00078d-00; Sat, 28 Aug 2004 19:30:24 -0400 Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit From: Daniel Burrows <[EMAIL PROTECTED]> To: Debian Bug Tracking System <[EMAIL PROTECTED]> Subject: Renaming a large (maildir) mailbox is slow Bcc: Daniel Burrows <[EMAIL PROTECTED]> X-Mailer: reportbug 2.64 Date: Sat, 28 Aug 2004 19:29:49 -0400 Message-Id: <[EMAIL PROTECTED]> X-Authentication-Info: Submitted using SMTP AUTH at out006.verizon.net from [207.68.118.100] at Sat, 28 Aug 2004 18:29:50 -0500 Delivered-To: [EMAIL PROTECTED] X-Spam-Checker-Version: SpamAssassin 2.60-bugs.debian.org_2004_03_25 (1.212-2003-09-23-exp) on spohr.debian.org X-Spam-Status: No, hits=-8.0 required=4.0 tests=BAYES_00,HAS_PACKAGE autolearn=no version=2.60-bugs.debian.org_2004_03_25 X-Spam-Level: Package: kmail Version: 4:3.3.0-2 Severity: normal It appears that kmail renames a mailbox by creating a new mailbox, then moving each message of the old mailbox to the new mailbox. I say this because renaming a somewhat large mailbox (containing about 4000 messages) takes around a minute of hard drive thrashing on my computer. Since the messages are just files in the filesystem, I suggest that it would be worthwhile for kmail to avail itself of the rename(2) system call, and to use it on the mailbox directory (ie: don't move every message file individually!). Daniel -- System Information: Debian Release: 3.1 APT prefers unstable APT policy: (500, 'unstable'), (1, 'experimental') Architecture: i386 (i686) Kernel: Linux 2.6.7 Locale: LANG=en_US, LC_CTYPE=en_US (ignored: LC_ALL set to en_US) Versions of packages kmail depends on: ii kdelibs4 4:3.3.0-1.1 KDE core libraries ii libc6 2.3.2.ds1-16 GNU C Library: Shared libraries an ii libgcc1 1:3.4.1-7 GCC support library ii libice6 4.3.0.dfsg.1-6 Inter-Client Exchange library ii libkcal2 4:3.3.0-2 KDE calendaring library ii libkdenetwork2 4:3.3.0-2 KDE Network library ii libkdepim1 4:3.3.0-2 KDE PIM library ii libkleopatra0 4:3.3.0-2 KDE GnuPG interface libraries ii libkpimidentities1 4:3.3.0-2 KDE PIM user identity information ii libksieve0 4:3.3.0-2 KDE mail/news message filtering li ii libmimelib1 4:3.3.0-2 KDE mime library ii libpng12-0 1.2.5.0-7 PNG library - runtime ii libqt3c102-mt 3:3.3.3-4 Qt GUI Library (Threaded runtime v ii libsm6 4.3.0.dfsg.1-6 X Window System Session Management ii libstdc++5 1:3.3.4-9 The GNU Standard C++ Library v3 ii libx11-6 4.3.0.dfsg.1-6 X Window System protocol client li ii libxext6 4.3.0.dfsg.1-6 X Window System miscellaneous exte ii perl 5.8.4-2 Larry Wall's Practical Extraction ii xlibs 4.3.0.dfsg.1-6 X Window System client libraries m ii zlib1g 1:1.2.1.1-7 compression library - runtime -- no debconf information --------------------------------------- Received: (at 268758-done) by bugs.debian.org; 29 Aug 2004 19:19:15 +0000 >From [EMAIL PROTECTED] Sun Aug 29 12:19:15 2004 Return-path: <[EMAIL PROTECTED]> Received: from out005pub.verizon.net (out005.verizon.net) [206.46.170.143] by spohr.debian.org with esmtp (Exim 3.35 1 (Debian)) id 1C1VCs-00041R-00; Sun, 29 Aug 2004 12:19:14 -0700 Received: from jester.burrows.local ([207.68.118.100]) by out005.verizon.net (InterMail vM.5.01.06.06 201-253-122-130-106-20030910) with ESMTP id <[EMAIL PROTECTED]>; Sun, 29 Aug 2004 14:19:14 -0500 From: Daniel Burrows <[EMAIL PROTECTED]> To: Adeodato =?iso-8859-1?q?Sim=F3?= <[EMAIL PROTECTED]> Subject: Re: Bug#268758: Renaming a large (maildir) mailbox is slow Date: Sun, 29 Aug 2004 15:19:00 -0400 User-Agent: KMail/1.7 References: <[EMAIL PROTECTED]> <[EMAIL PROTECTED]> In-Reply-To: <[EMAIL PROTECTED]> Cc: [EMAIL PROTECTED] MIME-Version: 1.0 Content-Type: multipart/signed; boundary="nextPart60775843.mZXTml6gHz"; protocol="application/pgp-signature"; micalg=pgp-sha1 Content-Transfer-Encoding: 7bit Message-Id: <[EMAIL PROTECTED]> X-Authentication-Info: Submitted using SMTP AUTH at out005.verizon.net from [207.68.118.100] at Sun, 29 Aug 2004 14:19:14 -0500 Delivered-To: [EMAIL PROTECTED] X-Spam-Checker-Version: SpamAssassin 2.60-bugs.debian.org_2004_03_25 (1.212-2003-09-23-exp) on spohr.debian.org X-Spam-Status: No, hits=-5.0 required=4.0 tests=BAYES_01,HAS_BUG_NUMBER autolearn=no version=2.60-bugs.debian.org_2004_03_25 X-Spam-Level: --nextPart60775843.mZXTml6gHz Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Content-Disposition: inline On Sunday 29 August 2004 12:36 pm, you wrote: > perhaps you were renaming a folder that lacked those indexes, and thus > the hard drive activity was the result of this and not of the rename > action? Hm, that sounds plausible. Sorry for the false alarm. Daniel =2D-=20 /-------------------- Daniel Burrows <[EMAIL PROTECTED]> ----------------= =2D--\ | I haven't lost my mind, = | | I know exactly where I left it. = | \---- Be like the kid in the movie! Play chess! -- http://www.uschess.org = =2D--/ --nextPart60775843.mZXTml6gHz Content-Type: application/pgp-signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.5 (GNU/Linux) iD8DBQBBMiwtch6xsM7kSXgRApziAKDfGTyOTD7z1TkJc2YnfoCdwh6haACgvfT0 /eFNyJ4lGOPqY/MxzDIqD1Q= =JcKS -----END PGP SIGNATURE----- --nextPart60775843.mZXTml6gHz--