From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.emacs.gnus.general/42994 Path: main.gmane.org!not-for-mail From: Wes Hardaker Newsgroups: gmane.emacs.gnus.general Subject: Re: Agent .overview files not getting truncated (was Re: memory usage results (ack!)) Date: Thu, 07 Feb 2002 21:08:49 -0800 Organization: Network Associates - NAI Labs Sender: owner-ding@hpc.uh.edu Message-ID: References: <2nit9898ps.fsf@zsh.cs.rochester.edu> NNTP-Posting-Host: coloc-standby.netfonds.no Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: main.gmane.org 1035178156 15167 80.91.224.250 (21 Oct 2002 05:29:16 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Mon, 21 Oct 2002 05:29:16 +0000 (UTC) Return-Path: Original-Received: (qmail 5987 invoked from network); 8 Feb 2002 05:15:09 -0000 Original-Received: from malifon.math.uh.edu (mail@129.7.128.13) by mastaler.com with SMTP; 8 Feb 2002 05:15:09 -0000 Original-Received: from sina.hpc.uh.edu ([129.7.128.10] ident=lists) by malifon.math.uh.edu with esmtp (Exim 3.20 #1) id 16Z3N0-0004At-00; Thu, 07 Feb 2002 23:14:46 -0600 Original-Received: by sina.hpc.uh.edu (TLB v0.09a (1.20 tibbs 1996/10/09 22:03:07)); Thu, 07 Feb 2002 23:14:43 -0600 (CST) Original-Received: from sclp3.sclp.com (qmailr@sclp3.sclp.com [209.196.61.66]) by sina.hpc.uh.edu (8.9.3/8.9.3) with SMTP id XAA00295 for ; Thu, 7 Feb 2002 23:14:28 -0600 (CST) Original-Received: (qmail 5973 invoked by alias); 8 Feb 2002 05:14:25 -0000 Original-Received: (qmail 5968 invoked from network); 8 Feb 2002 05:14:25 -0000 Original-Received: from dns2.hardaker.davis.ca.us (HELO wanderer.hardakers.net) (?vgyGDyrMCIsxzUxxHVvVx49k4YmhrphI?@168.150.190.2) by gnus.org with SMTP; 8 Feb 2002 05:14:25 -0000 Original-Received: (from hardaker@localhost) by wanderer.hardakers.net (8.11.6/8.11.6) id g1858pd09556; Thu, 7 Feb 2002 21:08:51 -0800 Original-To: ding@gnus.org X-Face: #qW^}a%m*T^{A:Cp}$R\"38+d}41-Z}uU8,r%F#c#s:~Nzp0G9](s?,K49KJ]s"*7gvRgA SrAvQc4@/}L7Qc=w{)]ACO\R{LF@S{pXfojjjGg6c;q6{~C}CxC^^&~(F]`1W)%9j/iS/ IM",B1M.?{w8ckLTYD'`|kTr\i\cgY)P4 In-Reply-To: <2nit9898ps.fsf@zsh.cs.rochester.edu> (ShengHuo ZHU's message of "Thu, 07 Feb 2002 18:24:15 -0500") Original-Lines: 30 User-Agent: Gnus/5.090006 (Oort Gnus v0.06) XEmacs/21.5 (bamboo, i686-pc-linux) Precedence: list X-Majordomo: 1.94.jlt7 Xref: main.gmane.org gmane.emacs.gnus.general:42994 X-Report-Spam: http://spam.gmane.org/gmane.emacs.gnus.general:42994 >>>>> On Thu, 07 Feb 2002 18:24:15 -0500, ShengHuo ZHU said: >> keystrokes: q 2 g ENTER >> >> % egrep '^10015' .overview | wc -l >> 2 >> >> Ack. And so we begin again collecting too much data. >> >> Apparently the new auto-header-fetch code is duplicating stuff? ZSH> Emm, it looks like a bug. But I didn't see duplication in my ZSH> .overview files. Maybe there is something wrong in ZSH> gnus-agent-braid-nov. Could you debug it? Well, first of in debugging it I've found the following things: 1) it only appears if there is in fact new mail in the folder (otherwise gnus-agent-braid-nov doesn't even get called). 2) the problem comes from the fact that the if statement which decides whether to insert the contents of the old .overview file into the nntp buffer bases it's decision on the last article number in the list of articles and the .overview file. If the list of articles contains anything newer, then the *entire* contents of the .overview file is inserted. I think this is where the duplication is going on. -- "Ninjas aren't dangerous. They're more afraid of you than you are of them."