Project

General

Profile

Actions

Defect #4547

closed

git: Very high CPU usage for a long time with large repository

Added by Philip Hofstetter over 14 years ago. Updated about 14 years ago.

Status:
Closed
Priority:
Normal
Assignee:
-
Category:
SCM
Target version:
Start date:
2010-01-11
Due date:
% Done:

0%

Estimated time:
Resolution:
Fixed
Affected version:

Description

This is a redmine-instance updated from 0.7.x to 0.8.x and now to 0.9.0. It's connected to a git repository which has about 9000 commits over various branches.

Whenever I'm hitting the repistory-tab and the repository has changed, redmine now is shelling out to git with the command line

sh -c git --git-dir '/var/git/repositories/xxx.git/' log --find-copies-harder --raw --date=iso --pretty=fuller --all

which - with a repository this size - causes git to work at 100% cpu usage for ~ 5 minutes.

It feels like a shortcoming in redmine to search through the whole repository each time something changes.

Or is this an artefact of updating from 0.8?


Related issues

Related to Redmine - Defect #4773: Redmine+Git+PostgresSQL 8.4 fails with linux kernel tree (encoding)ClosedJean-Philippe Lang2010-02-09

Actions
Related to Redmine - Defect #8564: Git: `git mv file file2` shows up as delete + add instead of renameClosed2011-06-08

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 - Feature #1406: Browse through Git branchesClosedEric Davis2008-06-09

Actions
Has duplicate Redmine - Defect #4876: Problem with fetch git-changesets after upgrade to Redmine 0.9.2Closed2010-02-18

Actions
Actions

Also available in: Atom PDF