Project

General

Profile

Actions

Defect #6013

closed

git tab,browsing, very slow -- even after first time

Added by Danny Dulai over 14 years ago. Updated over 13 years ago.

Status:
Closed
Priority:
Low
Assignee:
-
Category:
SCM
Target version:
Start date:
2010-08-02
Due date:
% Done:

0%

Estimated time:
Resolution:
Fixed
Affected version:

Description

I just installed Redmine for the first time this weekend, v1.0.0.

Got everything working via fastcgi + lighttpd, and my git repo is on local disk, and it's a bare repo.

The repo is about 1.2gb, about 55k commits:

# time git --bare log --all --pretty=oneline  | wc -l
54779
git  1.31s user 0.67s system 79% cpu 2.484 total
wc   0.02s user 0.45s system 18% cpu 2.483 total

It took about an hour the first time I hit the page. Subsequent times it takes about 1 minute:

Processing RepositoriesController#show (for 24.90.235.155 at 2010-08-02 01:01:43) [GET]
  Parameters: {"action"=>"show", "id"=>"project1", "controller"=>"repositories"}
Rendering template within layouts/base
Rendering repositories/show
Completed in 56466ms (View: 534, DB: 54999) | 200 OK [https://XXX/projects/project1/repository]

I've tried the patch at #4773 (all the above is running with that patch).

I also tried a smaller, 87 commit repo, and it runs at an acceptable speed.

The number of files is large on the big repo as well, compared to the 87 commit repo. I an get you exact #s if you are interested.

Any ideas?


Related issues

Related to Redmine - Defect #7146: Git adapter lost commits before 7 days from database latest changesetClosedToshi MARUYAMA2010-12-21

Actions
Related to Redmine - Defect #4549: Repository: git / view all revision fails with branchesClosed2010-01-11

Actions
Related to Redmine - Defect #1435: slow display of 'repository' tab for huge repository (pagination problem?)Closed2008-06-12

Actions
Related to Redmine - Feature #6092: Truncate Git revision labels in Activity page/feed and allow configurable lengthClosedToshi MARUYAMA2010-08-09

Actions
Related to Redmine - Defect #7047: Git adapter very slow when a commit modifies a lot of filesNew2010-12-04

Actions
Related to Redmine - Feature #6566: Convert the git adapter to ruggedNew2010-10-04

Actions
Related to Redmine - Defect #8857: Git: Too long in fetching repositories after upgrade from 1.1 or new branch at first timeClosedToshi MARUYAMA2011-07-20

Actions
Related to Redmine - Defect #9472: The git scm module causes an excess amount of DB traffic.Closed2011-10-26

Actions
Actions #1

Updated by Toshi MARUYAMA over 14 years ago

Actions #2

Updated by Toshi MARUYAMA almost 14 years ago

  • Category set to SCM
Actions #3

Updated by Toshi MARUYAMA almost 14 years ago

  • Priority changed from Normal to Low
  • Affected version (unused) changed from 1.0.0-RC to 0.9.3
  • Affected version set to 0.9.3
Actions #4

Updated by Toshi MARUYAMA over 13 years ago

  • Status changed from New to Closed
  • Target version set to 1.2.0
  • Resolution set to Fixed

Fixed in r5788.

Actions

Also available in: Atom PDF