プロジェクト

全般

プロフィール

Vote #67746

完了

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

Admin Redmine さんが3年以上前に追加. 3年以上前に更新.

ステータス:
Closed
優先度:
低め
担当者:
-
カテゴリ:
SCM_3
対象バージョン:
開始日:
2010/08/02
期日:
進捗率:

0%

予定工数:
category_id:
3
version_id:
27
issue_org_id:
6013
author_id:
18486
assigned_to_id:
0
comments:
4
status_id:
5
tracker_id:
1
plus1:
0
affected_version:
closed_on:
affected_version_id:
17
ステータス-->[Closed]

説明

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?


journals

As described at http://www.redmine.org/issues/4773#note-8,
redmine read commits from the last 7 days

source:/tags/1.0.0/app/models/repository/git.rb#L50

--------------------------------------------------------------------------------

--------------------------------------------------------------------------------

--------------------------------------------------------------------------------
Fixed in r5788.
--------------------------------------------------------------------------------


related_issues

relates,Closed,7146,Git adapter lost commits before 7 days from database latest changeset
relates,Closed,4549,Repository: git / view all revision fails with branches
relates,Closed,1435,slow display of 'repository' tab for huge repository (pagination problem?)
relates,Closed,6092,Truncate Git revision labels in Activity page/feed and allow configurable length
relates,New,7047,Git adapter very slow when a commit modifies a lot of files
relates,New,6566,Convert the git adapter to rugged
relates,Closed,8857,Git: Too long in fetching repositories after upgrade from 1.1 or new branch at first time
relates,Closed,9472,The git scm module causes an excess amount of DB traffic.

Admin Redmine さんが3年以上前に更新

  • カテゴリSCM_3 にセット
  • 対象バージョン1.2.0_27 にセット

他の形式にエクスポート: Atom PDF

いいね!0
いいね!0