On Thu, Mar 22, 2012 at 01:49:44PM -0700, Joel Eidsath wrote:
> For a longer term solution, I am looking at contributing some code to
> mod_authz_svn to 1. allow rule caching, or 2. provide some sort of db
> support.
I would be interested in reviewing patches that add some sort of
multi-backend su
That option definitely looks interesting. From my reading, we could
use it to get apache to ignore all access restrictions except for the
SVN access file that I specify. Unfortunately my current performance
woes mostly come from the issues involved with processing the SVN
access file itself.
Joel
> strace seems to indicate I/O issues as the bottleneck. The file is
> loaded from NFS without caching.
>
> The per-repository access file seems like my best bet for an immediate
> solution. It is example 4 in this config:
>
> http://svn.apache.org/repos/asf/subversion/trunk/subversion/
> mod_aut
Thanks.
strace seems to indicate I/O issues as the bottleneck. The file is
loaded from NFS without caching.
The per-repository access file seems like my best bet for an immediate
solution. It is example 4 in this config:
http://svn.apache.org/repos/asf/subversion/trunk/subversion/mod_authz_svn/I
On Thu, Mar 22, 2012 at 15:24, Bob Archer wrote:
>> Joel Eidsath wrote on Thu, Mar 22, 2012 at 09:11:48 -0700:
>> > I was just handed a large SVN install with thousands of users and
>> > hundreds of individual repositories. It is experiencing serious
>> > performance issues. I believe that it most
Joel Eidsath writes:
> I was just handed a large SVN install with thousands of users and
> hundreds of individual repositories. It is experiencing serious
> performance issues. I believe that it mostly boils down to a 14MB
> AuthzSVNAccessFile.
>
> What can I do to speed this up?
Use per-reposit
> Joel Eidsath wrote on Thu, Mar 22, 2012 at 09:11:48 -0700:
> > I was just handed a large SVN install with thousands of users and
> > hundreds of individual repositories. It is experiencing serious
> > performance issues. I believe that it mostly boils down to a 14MB
> > AuthzSVNAccessFile.
> >
>
The relevant code is in libsvn_repos/authz.c. Look at the call to
svn_repos_authz_read() in mod_authz_svn.c: the file is read and parsed
once per connection.
I guess you could cache the parsed svn_authz_t struct in a longer-lived
pool, or perhaps increase the lifetime of connections (compare the
On Thu, Mar 22, 2012 at 9:11 AM, Joel Eidsath wrote:
> I was just handed a large SVN install with thousands of users and
> hundreds of individual repositories. It is experiencing serious
> performance issues. I believe that it mostly boils down to a 14MB
> AuthzSVNAccessFile.
>
> What can I do to