Project

General

Profile

500 error loading subversion repository - changeset too large?

Added by Dave Lowndes over 11 years ago

Hi,

I have two svn repositories sitting in the same location on the same server as Redmine. Both are configured identically with the file:// location in Redmine. One repository works fine, but the other shows a 500 error after a minute when trying to browse. I'm assuming this is becuase it has a much larger revision count (4600 vs 500). I've tried refreshing multiple times hoping that this would eventually load the data but it's not working.

How do I find out what's happening and deal with this? I've seen older posts about editing the changesets volume grabbed each time (or something) but the subversion adapter has changed since then.

This is Redmine 2.3.1.

This is what I get in the apache log:

[Mon May 20 10:33:55 2013] [error] [client xxx.xx.xx.xxx] Premature end of script headers: projects, referer: http://redmine.ourdomain.com/projects/myproject/repository
[ pid=16991 file=ext/apache2/Hooks.cpp:684 time=2013-05-20 10:33:56.204 ]:
The backend application (process 17936) did not send a valid HTTP response; instead, it sent nothing at all. It is possible that it has crashed; please check whether there are crashing bugs in this application.

I try to run ./script/rails runner "Repository.fetch_changesets" -e production and the process just gets Killed after some time.


Replies (1)

RE: 500 error loading subversion repository - changeset too large? - Added by Pavel Potcheptsov about 11 years ago

same here:

[root@redmine cron.d]# source "/usr/local/rvm/scripts/rvm"; cd /var/www/rm2.3.0 && /usr/local/rvm/rubies/ruby-1.9.3-p327/bin/ruby /var/www/rm2.3.0/script/rails runner "Repository.fetch_changesets" -e production
Killed
[root@redmine log]# tail /var/log/messages
Sep 25 15:36:32 redmine kernel: [11842]     0 11842     5721      225   0       0             0 ruby
Sep 25 15:36:32 redmine kernel: [11846]   498 11846    47326    37149   0       0             0 ruby
Sep 25 15:36:32 redmine kernel: [11849]   498 11849    48200    28655   0       0             0 ruby
Sep 25 15:36:32 redmine kernel: [11852]   498 11852    27781    19220   0       0             0 ruby
Sep 25 15:36:32 redmine kernel: [12209]    48 12209     6389      868   0       0             0 httpd
Sep 25 15:36:32 redmine kernel: [12213]     0 12213     2021      242   1       0             0 mc
Sep 25 15:36:32 redmine kernel: [12215]     0 12215     1507      294   0       0             0 bash
Sep 25 15:36:32 redmine kernel: [12355]     0 12355    99730    92052   0       0             0 ruby
Sep 25 15:36:32 redmine kernel: Out of memory: Kill process 12355 (ruby) score 213 or sacrifice child
Sep 25 15:36:32 redmine kernel: Killed process 12355, UID 0, (ruby) total-vm:398920kB, anon-rss:367644kB, file-rss:564kB

http://www.redmine.org/issues/7699

    (1-1/1)