You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@subversion.apache.org by Daniel Shahaf <da...@elego.de> on 2012/03/01 08:14:48 UTC

Re: Subversion-LDAP problems

Philipp Gühring wrote on Wed, Feb 29, 2012 at 12:31:36 +0100:
> Hi,
> 
> I am having a problem with Subversion+LDAP:
> I have a repository with approximately a million files.
> The subversion client sends every file a HTTP request to the Apache server.

What kind of requests?  GETs or PUTs?

Are you using ra_serf?  Try switching to ra_neon.  (See 'svn --version'.)

> Now my suggestion for Subversion client is to add functionality be able to
> automatically retry (after a few seconds and only a few times) a request
> in case it received a 500 HTTP error.
> It would be good if it is possible to set options for how often to retry,
> and/or how often to wait.
> 
> For the subversion server / apache (I don´t know exactly which module does
> what in this code-path), I think it is perhaps an idea to map the LDAP
> "Administrative Limit exceeded" to a temporary error, which can be better
> detected by a client and be retried by the client.
> 

Subversion does not directly interface with LDAP.  Either httpd handles
everything itself, or it exposes to us a non-LDAP-specific authnz API.

> Best regards,
> Philipp Gühring
> 

HTH.  I'm not an httpd expert, though, so others here (or perhaps on
users@httpd) may have better ideas.