Defect #9813
openRedmine Takes Too Long On Large Subversion Repository
Added by Andy Sun almost 13 years ago. Updated almost 13 years ago.
0%
Description
I have been using redmine together with subversoin. My redmine is 1.3.0 and subversion is 1.7.1. My OS is ubuntu 10.04.
Everytime I click on the repository tab, it hangs for a very long time and then responds afterwards(slow display of 'repository' tab for huge repository). I thought that this was just initial but it happens everytime I click the Repository tab.
You can clone the repository using this line if you want to reproduce/test:
svn: http://192.168.121.133/redmine/projects/test1/repository
It took me 17s to display EVERYTIME.
Related issues
Updated by Andy Sun almost 13 years ago
If I use
svn ls http://dev1257.googlecode.com/svn/trunk
it took 4s.
As for https://ja2svn.dyndns.org/source/ja2_v1.13_data/GameDir
Redmine 1.3.0 fails to show the list everytime
Updated by Etienne Massip almost 13 years ago
Any plugins installed?
Some are known to misuse Redmine code...
Updated by Andy Sun almost 13 years ago
Etienne Massip wrote:
Any plugins installed?
Some are known to misuse Redmine code...
Nope.
Have you tried the link above?
Updated by Etienne Massip almost 13 years ago
Andy Sun wrote:
Have you tried the link above?
Do you mean https://ja2svn.dyndns.org/source/ja2_v1.13_data/GameDir ?
Then yes, and it displays well, but what's the relationship with Redmine?
Updated by Etienne Massip almost 13 years ago
Ok, my bad, forgot that svn was rendering HTML.
Updated by Andy Sun almost 13 years ago
I mean
You can clone the repository using this line if you want to reproduce/test:
svn: http://192.168.121.133/redmine/projects/test1/repositoryIt took me 17s to display EVERYTIME.
As for https://ja2svn.dyndns.org/source/ja2_v1.13_data/GameDir
Redmine 1.3.0 fails to show the list everytime
If you test the links above in Redmine Repository, how long will it take you to display
Updated by Etienne Massip almost 13 years ago
Do you have REXML parser errors in you production.log
?
Updated by Andy Sun almost 13 years ago
for http://192.168.121.133/redmine/projects/test1/repository everything works fine except for slowness.
for https://ja2svn.dyndns.org/source/ja2_v1.13_data/GameDir in log there is:
Processing RepositoriesController#show (for 192.168.121.1 at 2011-12-15 22:25:29) [GET]
Parameters: {"action"=>"show", "id"=>"test2", "controller"=>"repositories"}
Error parsing svn output: #<REXML::ParseException: No close tag for /lists/list>
Updated by Etienne Massip almost 13 years ago
It's because "svn" list --xml "https://ja2svn.dyndns.org/source/ja2_v1.13_data/GameDir/Data/Anims//"@HEAD --no-auth-cache --non-interactive
is returning
<?xml version="1.0"?> <lists> <list path="https://ja2svn.dyndns.org/source/ja2_v1.13_data/GameDir/Data/Anims"> svn: OPTIONS de 'https://ja2svn.dyndns.org/source/ja2_v1.13_data/GameDir/Data/An ims': Server certificate verification failed: issuer is not trusted (https://ja2 svn.dyndns.org)
You have to configure properly your svn
.
Updated by Andy Sun almost 13 years ago
You're right. But that's not my main concern.
My question is
You can clone the repository using this line if you want to reproduce/test:
svn: http://192.168.121.133/redmine/projects/test1/repository>
It took me 17s to display EVERYTIME.
If you test the links above in Redmine Repository, how long will it take you to display.
I think it is to slow
Updated by Etienne Massip almost 13 years ago
I can't reach this system, it looks like a local network address?
Updated by Andy Sun almost 13 years ago
My fault~~~
I copied the wrong IP...
Updated by Etienne Massip almost 13 years ago
Got the same ParsingException issue:
Error parsing svn output: #<REXML::ParseException: No close tag for /lists/list>
Updated by Andy Sun almost 13 years ago
Etienne Massip wrote:
Got the same ParsingException issue:
[...]
Mine works fine. So maybe this is your connecting problem.
Anyway, my point is Redmine Takes Too Long On Large Subversion Repository
And all the links I give are just examples. If they don't work, you can create similar repositories to represent this problem
Updated by Etienne Massip almost 13 years ago
This is something more often observed with git repositories, how much time takes the "svn" list --xml "http://dev1257.googlecode.com/svn/trunk"@HEAD --no-auth-cache --non-interactive
command to complete?
Updated by Andy Sun almost 13 years ago
Andy Sun wrote:
If I use
svn ls http://dev1257.googlecode.com/svn/trunk
it took 4s.As for https://ja2svn.dyndns.org/source/ja2_v1.13_data/GameDir
Redmine 1.3.0 fails to show the list everytime
Updated by Etienne Massip almost 13 years ago
And "svn" list --xml "http://dev1257.googlecode.com/svn/trunk"@HEAD --no-auth-cache --non-interactive
? =)
Updated by Andy Sun almost 13 years ago
Etienne Massip wrote:
And
"svn" list --xml "http://dev1257.googlecode.com/svn/trunk"@HEAD --no-auth-cache --non-interactive
? =)
I tried, and 66% chances I got this:
svn: OPTIONS of 'http://dev1257.googlecode.com/svn/trunk': could not connect to server (http://dev1257.googlecode.com)
and 34% chances I got the list(a long list not suitable to paste here)
Updated by Andy Sun almost 13 years ago
When I got the list (34% chances), it took 4s to show