subversion-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Stefan Sperling <s...@elego.de>
Subject Re: On pool / memory usage debugging
Date Mon, 08 Dec 2014 19:42:12 GMT
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 :)

Mime
View raw message