Project

General

Profile

Actions

Defect #9813

open

Redmine Takes Too Long On Large Subversion Repository

Added by Andy Sun almost 13 years ago. Updated almost 13 years ago.

Status:
New
Priority:
Normal
Assignee:
-
Category:
SCM
Target version:
-
Start date:
2011-12-15
Due date:
% Done:

0%

Estimated time:
Resolution:
Affected version:

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

Has duplicate Redmine - Defect #9796: Redmine cpu use and memory consumption problemClosed

Actions
Actions #1

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

Actions #2

Updated by Etienne Massip almost 13 years ago

Any plugins installed?

Some are known to misuse Redmine code...

Actions #3

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?

Actions #4

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?

Actions #5

Updated by Etienne Massip almost 13 years ago

Ok, my bad, forgot that svn was rendering HTML.

Actions #6

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/repository

It 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

Actions #7

Updated by Etienne Massip almost 13 years ago

Do you have REXML parser errors in you production.log?

Actions #8

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>

Actions #9

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.

Actions #10

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

Actions #11

Updated by Etienne Massip almost 13 years ago

I can't reach this system, it looks like a local network address?

Actions #12

Updated by Andy Sun almost 13 years ago

My fault~~~
I copied the wrong IP...

http://dev1257.googlecode.com/svn/trunk

Actions #13

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>

Actions #14

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

Actions #15

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?

Actions #16

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

Actions #17

Updated by Etienne Massip almost 13 years ago

And "svn" list --xml "http://dev1257.googlecode.com/svn/trunk"@HEAD --no-auth-cache --non-interactive? =)

Actions #18

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)

Actions #19

Updated by Andy Sun almost 13 years ago

When I got the list (34% chances), it took 4s to show

Actions

Also available in: Atom PDF