SVN on Redmine is _sometimes_ very slow

Added by Alex Balda over 9 years ago

Hi community,

we have a redmine server running here that is not only bugtracker, but also handles as version control server with both, SVN and GIT.
Before we migrated our SVN repositories to our redmine server ( about 1 year ago) the SVN repositories were placed on a windows server machine managed by subversion edge. But that is only for completing information.

Now we are running an Ubuntu 12.04 LTS server with Redmine 2.3.3.stable:

  Redmine version                2.3.3.stable
  Ruby version                   1.9.3-p0 (2011-10-30) [x86_64-linux]
  Rails version                  3.2.13
  Environment                    production
  Database adapter               Mysql2
Redmine plugins:
  no plugin installed

Furthermore we are running svn (1.6.17) and git ( for version control on this server, embedded to redmine, of course.
Both (SVN and GIT) are accessed via HTTPS.

No let me tell you our problem:
On a "normal day" everything works well, so creating or editing or replying a ticket in redmine goes quite fast and smooth, also getting revision logs via SVN and so on does not take a lot of time.
But unfortunately at about 50% of days we do not have a normaly day! At those other days everything works very slow and we have a lot of delay, especially if we try to work with SVN, but also normal ticket handling slows down a lot! So calling a SVN revision log needs about 30-45 seconds for example ... or editing a ticket causes waiting for at least the same amount of time.

We already checked our system ressources:
  • CPU load is very low (<5%).
  • RAM usage is not a problem at all.
  • Also disk usage (IO monitored) seems not to be the problems cause).

So what could be the cause for those "unnormal" or slow days?
Do you have any idea?

Some additional facts:
  • We are managing about 55 projects (subprojects already included) and about 60 repositories (55 SVN, 5 GIT) on our server.
  • Current ticket count is 994, so we have less than 1000 tickets at the moment.
  • on the former subversion edge managed windows server, SVN never had such a poor performance as we have on the "unnormal" slow days.
    What further facts do you need?

Kind regards

Replies (3)

RE: SVN on Redmine is _sometimes_ very slow - Added by li an about 9 years ago

Is there progress about that?

I found very strange issue, I only set one project repository for testing, and do the fetch changesets, indeed the changesets are fetched, and no update for the repository,but each time I click to repository, the speed is slow...

RE: SVN on Redmine is _sometimes_ very slow - Added by Martin Denizet ( team member) about 9 years ago


Out of curiosity, how do you trigger the "Repository fetches"?
Automatically when browsing? With crontabs? Using hooks?


RE: SVN on Redmine is _sometimes_ very slow - Added by li an about 9 years ago


with crontabs to trigger repo. fetches~~

The speed problem I have a solution now, using file://xxx to not https:// for svn settings in redmine repository, and make the first time for fetching each repo. one by one.