A Resource Issue? Repo View fails to load for Large SVN projects.

Added by Calvin Cheng over 14 years ago

Hi there,

I am hosting a legacy project (in svn) which is pretty big - more than 1GB of files/folders.
My problem is that the repository view (clicking on the repository menu link) fails to load because loading up the SVN repo takes way too much time.

The repository view works perfectly for smaller svn controlled projects. I am only encountering a problem with this 1GB project.
If I access webdav directly via it's svn virtualhost (e.g. http://svn.mydomain.com/svn/myproject", it works perfectly fine as well.
So the problem is most likely with ruby or with how redmine is trying to retrieve the repo view.

Is there anyway to resolve such an issue?

Thanks in advance for any advice.


Replies (1)

RE: A Resource Issue? Repo View fails to load for Large SVN projects. - Added by Thomas Lecavelier over 14 years ago

Hi Calvin,

Sorry for the delay (holidays return, a full week to purge mail-queues, taking back into redmine support only now :) ).

Your problem raise a true defect: SCM calls in redmine are still not asynchronous, that means that for a pretty big operation like browsering a repository, your web server (Apache, nginx, whatever) interrupt the operation because it reach its timeout.

As far as I'm concerned, I think redmine need a minor redefinition about theses calls that are potentially very long: it should launch the "potentially long" operation in a asynchronous task, display a "waiting" items and checked every second if the task take end to display the result (better: displaying a progress bar refleting . That way, the web server will not interrupt a request by a timeout.

I'm opening a defect about it.

Thank you, Calvin.

PS: the only workaround I can propose you is to configure a longer timeout for your web server.