Help with Redmine.pm performance

Added by Todd Nine over 10 years ago

Hi all,
We recently implemented the Redmine.pm module in Apache to authenticate our users against Redmine. This works well, but we're having some performance issues. Our commits have gone from taking < 5 seconds for 10 files to at least a minute. We have the following setup.

Client -> mod_dav_svn -> Redmine.pm -> Redmine (db) -> Ldap

I'm running top on the server while we're doing a merge, and it is at 99% idle. A majority of the time we're waiting on a response from the LDAP server. After looking at the LDAP server logs it appears it is queried each time a file operation is performed (GEt PROPFIND etc). Is it possible to cache credentials either in the Perl module or in Redmine to increase efficiency?

Thanks,
Todd

Replies (1)

RE: Help with Redmine.pm performance - Added by Todd Nine over 10 years ago

Well, I took a bit of an admin day and was going to add caching to the perl module. In doing so, I realized that there is an undocumented (on the wiki) caching feature. I updated the wiki page with the corresponding documentation.

http://www.redmine.org/wiki/redmine/Repositories_access_control_with_apache_mod_dav_svn_and_mod_perl

(1-1/1)