My favorites | Sign in
Project Home Downloads Wiki Issues Source
New issue   Search
for
  Advanced search   Search tips   Subscriptions
Issue 1844: On Gerrit slave server, repo disk space reached 100% when gerrit sync job running.
1 person starred this issue and may be notified of changes. Back to list
Status:  Released
Owner:  ----
Closed:  Mar 2013


Sign in to add a comment
 
Reported by ellenzh...@motorola.com, Mar 25, 2013
************************************************************
***** NOTE: THIS BUG TRACKER IS FOR GERRIT CODE REVIEW *****
***** DO NOT SUBMIT BUGS FOR CHROME, ANDROID, INTERNAL *****
***** ISSUES WITH YOUR COMPANY'S GERRIT SETUP, ETC.    *****
***** THOSE ISSUE BELONG IN DIFFERENT ISSUE TRACKERS!  *****
************************************************************

Affected Version:

What steps will reproduce the problem?
1. lsof command will show a lots of process gerrit .pack process.
2. On gerrit slave server, repo space reached 100% if there are a lots of .pack (deleted) process running.
3. Master server connection is ok at that time.

What is the expected output? What do you see instead?

We have gerrit master server and some slave server. Gerrit changes will be pushed to slave automatically. 
Some times, the disk usage will reach to 100%, since gerrit sync job impact it. We can use lsof command to check opened files. there are a lots of xxxxx.pack file in there. 

Could you please provide a solution? Thanks!


On Gerrit slave server, there are enough disk space can be used. 

Filesystem           1K-blocks      Used Available Use% Mounted on
/dev/sdb1            701698588 622274240  43780132  80% /gerritslaverepo/xxx

Please provide any additional information below.

The following is lsof output.
java      10896 gitsync 3838r      REG               8,17    1139422   26689560 xxx/xxx/pax/bootable/bootloader/lk.git/objects/pack/old-pack-055cff271e36e68a65b8ae7d1cb25c36d6537d14.pack (deleted)
java      10896 gitsync 3887r      REG               8,17       1412   52757367 xxx/xxx/thor/parent.git/objects/pack/old-pack-64af800063bb28a8ea39963726cfab9ce3f8e4a0.pack (deleted)
java      10896 gitsync 3889r      REG               8,17      32371   61751297 xxx/xxx/thor/a/aosp/platform/external/crda.git/objects/pack/old-pack-713b2073a7c7f08734159a722bf74cc17212940e.pack (deleted)
java      10896 gitsync 3890r      REG               8,17     267036   57147400 xxx/xxx/thor/a/aosp/platform/external/dhcp6.git/objects/pack/old-pack-50fcb1483bd20048346c0ff8aa99d4444e548698.pack (deleted)
java      10896 gitsync 3898r      REG               8,17     232869   52723736 xxx/xxx/thor/a/aosp/platform/manifest.git/objects/pack/old-pack-1ef1f22afe299a7e25aba5c0700a7f60910277a8.pack (deleted)
java      10896 gitsync 3921r      REG               8,17      14460   52723870 xxx/xxx/thor/a/bsp/device/intel/telephony_tools/ttyutil.git/objects/pack/old-pack-58627a2b5cdd2eff6ed76b1edff8bf1b3fb3e6ce.pack (deleted)
java      10896 gitsync 3934r      REG               8,17      42706   52726478 xxx/xxx/thor/a/bsp/hardware/intel/PREBUILT/libsharedbuffer.git/objects/pack/old-pack-c69cfbf75ba6f6fe7ff57449b0c9197f832412f1.pack (deleted)
java      10896 gitsync 3941r      REG               8,17     579683   37158914 xxx/xxx/thor/platform/hardware/msm7k.git/objects/pack/old-pack-80ade6dabcd612376e336d6774b8d44efdcd7f60.pack (deleted)
java      10896 gitsync 3950r      REG               8,17      12311   25034755 xxx/xxx/thor/a/bsp/hardware/intel/gps.git/objects/pack/old-pack-c124c6c4461b1f56aae4c0b28208d3653581c691.pack (deleted)
java      10896 gitsync 3961r      REG               8,17  431053586   29364257 xxx/xxx/thor/a/bsp/hardware/intel/linux-2.6.git/objects/pack/old-pack-a530969c25bd95ed1445751cb61c2e355cec39c3.pack (deleted)
java      10896 gitsync 3965r      REG               8,17      26186   52757518 xxx/xxx/thor/a/bsp/hardware/intel/psb_headers.git/objects/pack/old-pack-75388bf6093db74146a8dd4d37fbfe43fa5d9215.pack (deleted)
java      10896 gitsync 3977r      REG               8,17     150203   54738945 xxx/xxx/thor/a/bsp/vendor/intel/common.git/objects/pack/old-pack-a11dc14c89fd1ab1b962c1fa30a3b609018d70c1.pack (deleted)
java      10896 gitsync 3980r      REG               8,17      71633   52757353 xxx/xxx/thor/a/bsp/vendor/intel/medfield.git/objects/pack/old-pack-39e324d83d80fa528a3d4f8ef9758c84441fbf91.pack (deleted)


Mar 25, 2013
Project Member #1 nas...@codeaurora.org
I would check out the contrib/git-exproll.sh script as a drop-in replacement for running git-gc. It was designed in part to avoid this problem.
Mar 25, 2013
#2 ellenzh...@motorola.com
Thank you for your quick feedback!
Good solution for us!

Mar 25, 2013
Project Member #3 edwin.ke...@gmail.com
(No comment was entered for this change.)
Status: Released
Labels: FixedIn-2.5
Sign in to add a comment

Powered by Google Project Hosting