From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.emacs.gnus.general/85862 Path: news.gmane.org!not-for-mail From: Tassilo Horn Newsgroups: gmane.emacs.gnus.general Subject: Re: Trying to prune the registry because it's full; apply: registry max-size limit reached Date: Mon, 30 Mar 2015 13:02:40 +0200 Message-ID: <87fv8m694f.fsf@gnu.org> References: <87twx3ypx7.fsf@gnu.org> <87iodjotuo.fsf@ericabrahamsen.net> <87ego7ot1c.fsf@ericabrahamsen.net> <87sicmq1ci.fsf@gnu.org> <87pp7qn7hw.fsf@ericabrahamsen.net> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: ger.gmane.org 1427713428 22177 80.91.229.3 (30 Mar 2015 11:03:48 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Mon, 30 Mar 2015 11:03:48 +0000 (UTC) Cc: ding@gnus.org To: Eric Abrahamsen Original-X-From: ding-owner+M34097@lists.math.uh.edu Mon Mar 30 13:03:35 2015 Return-path: Envelope-to: ding-account@gmane.org Original-Received: from lists1.math.uh.edu ([129.7.128.208]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1YcXTb-00015H-5s for ding-account@gmane.org; Mon, 30 Mar 2015 13:03:27 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.math.uh.edu) by lists1.math.uh.edu with smtp (Exim 4.84) (envelope-from ) id 1YcXSw-00019O-La; Mon, 30 Mar 2015 06:02:46 -0500 Original-Received: from mx2.math.uh.edu ([129.7.128.33]) by lists1.math.uh.edu with esmtps (TLSv1.2:AES128-GCM-SHA256:128) (Exim 4.84) (envelope-from ) id 1YcXSv-000198-2V for ding@lists.math.uh.edu; Mon, 30 Mar 2015 06:02:45 -0500 Original-Received: from quimby.gnus.org ([80.91.231.51]) by mx2.math.uh.edu with esmtps (TLSv1.2:DHE-RSA-AES128-SHA:128) (Exim 4.84) (envelope-from ) id 1YcXSt-0008Vx-PS for ding@lists.math.uh.edu; Mon, 30 Mar 2015 06:02:44 -0500 Original-Received: from deliver.uni-koblenz.de ([141.26.64.15]) by quimby.gnus.org with esmtp (Exim 4.80) (envelope-from ) id 1YcXSr-0001J5-FL for ding@gnus.org; Mon, 30 Mar 2015 13:02:41 +0200 Original-Received: from thinkpad-t440p (dhcp25.uni-koblenz.de [141.26.71.25]) (using TLSv1 with cipher AES128-SHA (128/128 bits)) (No client certificate requested) by deliver.uni-koblenz.de (Postfix) with ESMTPSA id C04801A84AF; Mon, 30 Mar 2015 13:02:40 +0200 (CEST) Mail-Followup-To: Eric Abrahamsen , ding@gnus.org In-Reply-To: <87pp7qn7hw.fsf@ericabrahamsen.net> (Eric Abrahamsen's message of "Mon, 30 Mar 2015 17:45:47 +0800") User-Agent: Gnus/5.130012 (Ma Gnus v0.12) Emacs/25.0.50 (gnu/linux) X-Spam-Score: -4.2 (----) List-ID: Precedence: bulk Xref: news.gmane.org gmane.emacs.gnus.general:85862 Archived-At: Eric Abrahamsen writes: >>> Embarrassingly, that is indeed what was happening. Would you mind >>> giving this patch a whirl? If it works correctly, I'll push it (plus >>> a ChangeLog notice). >> >> I've switched back to 10000 max entries, and now >> >> (registry-full gnus-registry-db) >> >> returns t. I can enter groups and read messages without an error but I >> don't get any messages about pruning. But after reading a bunch of new >> messages now, (registry-full gnus-registry-db) gives nil and >> (registry-size gnus-registry-db) says 9007, so apparently it has pruned >> anyhow. > > Okay, thanks. My guess is that the "Trying to prune the registry because > it's full" message is getting buried in other messages -- I don't see > how it could not be called. If you're really idle at the moment, could > you look in *Messages* and confirm that? I've been there and searched for "prune" without any matches. > But if you cut back to 10000 max entries and now have 9007, then > things are almost certainly working correctly. Yes, seems so. > Later on I'll make a new defvar (something like > `gnus-registry-pruning-functions') where third-party packages can > register pruning functions. That way, if a package registers a > "precious" key that cause entries to hang around, it can also register > a function for cleaning up after itself. Sounds good. Bye, Tassilo