subversion repositories very slow
Added by john nieve about 12 years ago
Hello everyone and above all apologies for my English. Currently I have installed a machine with Centos is running in Redmine with SVN. Redmine is configured for LDAP authentication and creating users on the fly. Subversion authentication for LDAP also I have. I have about 20 projects in Redmine with many revisions each. Browsing the repository takes a while to load the first time, something I think is normal, but after going pretty fast. My problem comes when I try to access the repository through svn client or do a query like "svn co http:/......../" does not seem logical that a checkout of a project that weighs 4mb almost 40 minutes late. I'm a little desperate and dont know what else to look. I leave my scrpit / about to see if you can help a little. Thanks for your help:
Environment:
Redmine version 2.0.3.stable.10070
Ruby version 1.9.2 (x86_64-linux)
Rails version 3.2.6
Production Environment
Database adapter mysql2
Subversion version 1.6.11
Replies (4)
RE: subversion repositories very slow - Added by Ivan Cenov about 12 years ago
It is not normal to wait 40! minutes for a checkout of 4mb. As you write this happens when you execute 'svn checkout ...' in a console, that is not in Redmine. It seems you have some problems with your connection between the svn client and the svn server.
RE: subversion repositories very slow - Added by john nieve about 12 years ago
I tried to remove the authentication and speed has increased dramatically. I've checked all passenger settings and everything seems correct. Not if the problem is in communication with redmine mysql or makes a kind check when authentication is enabled. No more do you test if someone can help me I would appreciate.
RE: subversion repositories very slow - Added by Arnaud Martel about 12 years ago
I suspect that you have a lot of files to checkout. svn will generate a request for each file and, in your environment, there will have a supplementary request for authentication in ldap so it may take a long time...
Did you try to use RedmineCacheCredsMax 50 in your apache configuration file (for the subversion access) to speed up the process? This is an option to use with redmine.pm which avoid to make the ldap authentication for all requests...
RE: subversion repositories very slow - Added by john nieve about 12 years ago
Thank you very much!!!, had the whole weekend stuck with that and did not know what else to look. I appreciate your help and confirm that that was my problem. I added the line RedmineCacheCredsMax 50 as you have recommended and works properly.
regards and thanks again.