Category Archives: SubversionEdge

Subversion Edge CPU 100% (httpd.conf service)

The Scenario

I have Subversion Edge 1.8.15-4313.35 running on a Windows Server 2012 R2 server. It is configured to user Microsoft LDAP for user authentication.

The Problem

Users are reporting authentication issues, with access to permitted repos and the Web console blocked. In the server the Apache HTTP Server service is at 100%

The Solution

Disable LDAP Shared Caching:

Stop the Subversion Edge services from with the maintenance screen in the console UI.

Navigate to the SubversionEdge installation location:

<installation_drive>\csvn\data\conf

and make a copy of the httpd.conf file. In the original httpd.conf file add LDAPSharedCacheSize 0 (for more details see here) to the end of the text so the files looks like this:

ServerRoot “C:\csvn”
Include “data/conf/csvn_modules_httpd.conf”
Include “data/conf/csvn_main_httpd.conf”
Include “data/conf/csvn_logging.conf”
Include “data/conf/csvn_default_dirs_httpd.conf”
Include “data/conf/svn_viewvc_httpd.conf”
Include “data/conf/csvn_misc_httpd.conf”
LDAPSharedCacheSize 0

Start the Subversion Edge services from with the maintenance screen in the console UI.

In my instance the effect was immediate with the CPU no longer reporting 100% timeouts.

 

Disclaimer: provided “AS IS” with no warranties and confer no rights

Advertisements