From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Len Trigg Newsgroups: gmane.emacs.bugs Subject: bug#122: 23.0.60; Slowdown in directory scanning over time. Date: Mon, 15 Sep 2008 09:24:22 +1200 Organization: NetValue Ltd. Message-ID: References: <87r68bwgu9.fsf@cyd.mit.edu> <87wship535.fsf@cyd.mit.edu> Reply-To: Len Trigg , 122@emacsbugs.donarmstrong.com NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 (generated by SEMI 1.14.6 - "Maruoka") Content-Type: text/plain; charset=US-ASCII X-Trace: ger.gmane.org 1221428880 21649 80.91.229.12 (14 Sep 2008 21:48:00 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Sun, 14 Sep 2008 21:48:00 +0000 (UTC) Cc: 122@emacsbugs.donarmstrong.com, bug-gnu-emacs@gnu.org, rms@gnu.org, handa@m17n.org To: Chong Yidong Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Sun Sep 14 23:48:55 2008 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.50) id 1KezSX-0004xq-04 for geb-bug-gnu-emacs@m.gmane.org; Sun, 14 Sep 2008 23:48:45 +0200 Original-Received: from localhost ([127.0.0.1]:45824 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1KezRW-0001zg-EH for geb-bug-gnu-emacs@m.gmane.org; Sun, 14 Sep 2008 17:47:42 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1KezRT-0001za-35 for bug-gnu-emacs@gnu.org; Sun, 14 Sep 2008 17:47:39 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1KezRR-0001z5-6x for bug-gnu-emacs@gnu.org; Sun, 14 Sep 2008 17:47:38 -0400 Original-Received: from [199.232.76.173] (port=38524 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1KezRR-0001yu-25 for bug-gnu-emacs@gnu.org; Sun, 14 Sep 2008 17:47:37 -0400 Original-Received: from rzlab.ucr.edu ([138.23.92.77]:45366) by monty-python.gnu.org with esmtps (TLS-1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1KezRQ-0003ED-K1 for bug-gnu-emacs@gnu.org; Sun, 14 Sep 2008 17:47:36 -0400 Original-Received: from rzlab.ucr.edu (rzlab.ucr.edu [127.0.0.1]) by rzlab.ucr.edu (8.13.8/8.13.8/Debian-3) with ESMTP id m8ELlYlY020177; Sun, 14 Sep 2008 14:47:34 -0700 Original-Received: (from debbugs@localhost) by rzlab.ucr.edu (8.13.8/8.13.8/Submit) id m8ELU4qt013724; Sun, 14 Sep 2008 14:30:04 -0700 X-Loop: don@donarmstrong.com Resent-From: Len Trigg Resent-To: bug-submit-list@donarmstrong.com Resent-CC: Emacs Bugs Resent-Date: Sun, 14 Sep 2008 21:30:04 +0000 Resent-Message-ID: Resent-Sender: don@donarmstrong.com X-Emacs-PR-Message: report 122 X-Emacs-PR-Package: emacs X-Emacs-PR-Keywords: Original-Received: via spool by submit@emacsbugs.donarmstrong.com id=B.122142748011778 (code B ref -1); Sun, 14 Sep 2008 21:30:04 +0000 Original-Received: (at submit) by emacsbugs.donarmstrong.com; 14 Sep 2008 21:24:40 +0000 Original-Received: from lists.gnu.org (lists.gnu.org [199.232.76.165]) by rzlab.ucr.edu (8.13.8/8.13.8/Debian-3) with ESMTP id m8ELObQE011772 for ; Sun, 14 Sep 2008 14:24:38 -0700 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1Kez5A-00051w-TU for bug-gnu-emacs@gnu.org; Sun, 14 Sep 2008 17:24:36 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1Kez58-0004zB-Tg for bug-gnu-emacs@gnu.org; Sun, 14 Sep 2008 17:24:36 -0400 Original-Received: from [199.232.76.173] (port=45443 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Kez58-0004z5-PP for bug-gnu-emacs@gnu.org; Sun, 14 Sep 2008 17:24:34 -0400 Original-Received: from [202.37.129.7] (port=53663 helo=netvalue.net.nz) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1Kez53-0007vH-H1; Sun, 14 Sep 2008 17:24:30 -0400 Original-Received: from localhost (localhost [127.0.0.1]) by netvalue.net.nz (Postfix) with ESMTP id 0E924817CE; Mon, 15 Sep 2008 09:16:06 +1200 (NZST) X-Virus-Scanned: Debian amavisd-new at netvalue.net.nz Original-Received: from netvalue.net.nz ([127.0.0.1]) by localhost (netvalue.net.nz [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 9DuaUJPKXqiM; Mon, 15 Sep 2008 09:16:04 +1200 (NZST) Original-Received: from nepenthes.nz.reeltwo.com (office.18londonst.co.nz [131.203.126.194]) by netvalue.net.nz (Postfix) with ESMTP id 8E81E8170E; Mon, 15 Sep 2008 09:16:04 +1200 (NZST) In-Reply-To: User-Agent: Wanderlust/2.15.6 (Almost Unreal) SEMI/1.14.6 (Maruoka) FLIM/1.14.9 =?UTF-8?Q?(Goj=C5=8D)?= APEL/10.7 Emacs/23.0.60 (i686-pc-linux-gnu) MULE/6.0 (HANACHIRUSATO) X-Payment: hashcash 1.2 1:10:080914:cyd@stupidchicken.com::erBVh34cjiNWEbY4:000000000000000000000000000000000000000000bu X-Hashcash: 1:10:080914:cyd@stupidchicken.com::erBVh34cjiNWEbY4:000000000000000000000000000000000000000000bu X-Payment: hashcash 1.2 1:10:080914:rms@gnu.org::ngWo0AKEgTgzAkBB:00000000mj X-Hashcash: 1:10:080914:rms@gnu.org::ngWo0AKEgTgzAkBB:00000000mj X-Payment: hashcash 1.2 1:10:080914:122@emacsbugs.donarmstrong.com::6q4X3D2R2+wB7/kt:000000000000000000000000000000000P6 X-Hashcash: 1:10:080914:122@emacsbugs.donarmstrong.com::6q4X3D2R2+wB7/kt:000000000000000000000000000000000P6 X-Payment: hashcash 1.2 1:10:080914:handa@m17n.org::2pTv2bb62oia50cd:000009o X-Hashcash: 1:10:080914:handa@m17n.org::2pTv2bb62oia50cd:000009o X-Payment: hashcash 1.2 1:10:080914:bug-gnu-emacs@gnu.org::e0P+wvvfHLKkycBN:0000000000000000000000000000000000000000005y X-Hashcash: 1:10:080914:bug-gnu-emacs@gnu.org::e0P+wvvfHLKkycBN:0000000000000000000000000000000000000000005y X-detected-operating-system: by monty-python.gnu.org: GNU/Linux 2.6 (newer, 1) X-CrossAssassin-Score: 2 X-detected-operating-system: by monty-python.gnu.org: GNU/Linux 2.6 (newer, 3) Resent-Date: Sun, 14 Sep 2008 17:47:38 -0400 X-BeenThere: bug-gnu-emacs@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.bugs:20543 Archived-At: Len Trigg wrote: > (tramp-flush-file-function erc-kill-buffer-function browse-url-delete-temp-file jde-db-nullify-breakpoint-markers vc-kill-buffer-hook) > > I can try restarting my emacs without using some of those features for > the next few days. I think I have some more information on where those extra code-conversion-work buffers are coming from. I have a crontab scheduled script that regularly downloads ics calendar files from various locations and uses icalendar.el to convert them to diary format (which are then #included by my main diary file). This conversion uses a separate "emacs -batch" process in order to not interfere with my main emacs, and then finally calls emacsclient at the end to tell my main emacs to update it's current diary display, if present. If I disable this script entirely, the code-conversion-work buffers don't accumulate. If I disable the final call to emacsclient, the code-conversion-work buffers do still accumulate (eliminating emacsclient as the culprit). If I disable global-auto-revert mode in my main emacs, the code-conversion-work buffers don't accumulate. So it seems to be related to the modified diary files being auto-reverted. I have not managed to work out any more details than that. Regardless of why they are leaking, it seems to me that Richards suggestion of eliminating the use of multiple code-conversion buffers at all is probably the way to go. Cheers, Len.