Return-Path: X-Original-To: apmail-subversion-dev-archive@minotaur.apache.org Delivered-To: apmail-subversion-dev-archive@minotaur.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id AC983958A for ; Mon, 8 Dec 2014 19:42:42 +0000 (UTC) Received: (qmail 69296 invoked by uid 500); 8 Dec 2014 19:42:42 -0000 Delivered-To: apmail-subversion-dev-archive@subversion.apache.org Received: (qmail 69244 invoked by uid 500); 8 Dec 2014 19:42:42 -0000 Mailing-List: contact dev-help@subversion.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Delivered-To: mailing list dev@subversion.apache.org Received: (qmail 69234 invoked by uid 99); 8 Dec 2014 19:42:41 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 08 Dec 2014 19:42:41 +0000 X-ASF-Spam-Status: No, hits=-0.0 required=5.0 tests=RCVD_IN_DNSWL_LOW,SPF_NEUTRAL,UNPARSEABLE_RELAY X-Spam-Check-By: apache.org Received-SPF: neutral (nike.apache.org: local policy) Received: from [192.109.42.8] (HELO einhorn.in-berlin.de) (192.109.42.8) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 08 Dec 2014 19:42:14 +0000 X-Envelope-From: stsp@elego.de Received: from ted.stsp.name (ted.stsp.name [217.197.84.34]) by einhorn.in-berlin.de (8.14.4/8.14.4/Debian-4) with ESMTP id sB8JgCCh022498 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Mon, 8 Dec 2014 20:42:13 +0100 Received: from localhost (ted.stsp.name [local]); by ted.stsp.name (OpenSMTPD) with ESMTPA id 90e74cf5; Mon, 8 Dec 2014 20:42:12 +0100 (CET) Date: Mon, 8 Dec 2014 20:42:12 +0100 From: Stefan Sperling To: Stefan Fuhrmann Cc: Subversion Development Subject: Re: On pool / memory usage debugging Message-ID: <20141208194212.GD25318@ted.stsp.name> Mail-Followup-To: Stefan Fuhrmann , Subversion Development References: <20141208184609.GA25318@ted.stsp.name> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.5.23 (2014-03-12) X-Virus-Checked: Checked by ClamAV on apache.org On Mon, Dec 08, 2014 at 08:30:31PM +0100, Stefan Fuhrmann wrote: > Hm. 381 MB are massive, then. Maybe I can find reproduce it > and help tracking it down with a modified APR. Yes, we should be able to manage with much less. Though perhaps what's left is in in mod_dav rather than mod_dav_svn. > > > Finally, to minimize cache usage, make sure to disable fulltext > > > caching as well (enabled by default in 1.9) and set the cache > > > size to *1*, not 0. The latter would fall back to 1.6-style caches, > > > > Which option are you referring? The SVNInMemoryCacheSize option? > > The doc for that option says "0 deactivates the cache". Is this an error? > > > > /* per server */ > > AP_INIT_TAKE1("SVNInMemoryCacheSize", SVNInMemoryCacheSize_cmd, NULL, > > RSRC_CONF, > > "specifies the maximum size in kB per process of > > Subversion's " > > "in-memory object cache (default value is 16384; 0 > > deactivates " > > "the cache)."), > > > > It's technically correct, because the "static" per-process cache does > get disabled and all that's left is memory dynamically allocated for > an open connection (svn_fs_t, actually). > > But the doc string is misleading. I would suggest to change it to > "0 switches to dynamically sized caches". Yes please, that would help a lot! I can never remember what the various caching knobs do. The clearer the documentation, the better :)