[Fusioninventory-devel] Optimization git (agent-tools)

David DURIEUX d.durieux at siprossii.com
Mon Sep 27 23:02:59 UTC 2010


Today, I have problems to pull git agent-tools. (git crash on server
because memory usage by git is too high.


I have optimize git repository with these two commands : 

* git repack -adf --window=5

* git gc

Now server look good and we can make git pull without problem.

Perhaps we can create script to make git gc on all repositories all
night to reduce cpu/memory usage on server when somebody make git pull

Any opinion?

David Durieux



More information about the Fusioninventory-devel mailing list