Hi,
we have around 60 repositories whom weight around 12GB.
Server startup: 2016-06-23 22:23:53 [INFO ] Started @174304ms
accessing repository with 8,083 changes 671 tags in past 2 years takes around 20 seconds,
by accessing I mean going to summary page. This repository weights around 700MB.
We've tried to move tickets into redis, but it didn't help so we switched back to file based.
What can we change to make it faster? Is it possible at all in gitblit?
Box is CentOS 6 with 2 CPUs and 4GB of RAM. Current version is 1.8.0
few of settings from gitblit.properties are:
git.cacheRepositoryList = true
git.enableGarbageCollection = false
git.garbageCollectionHour = 0
git.defaultGarbageCollectionThreshold = 500k
git.defaultGarbageCollectionPeriod = 7
git.mirrorPeriod = 30 mins
git.packedGitWindowSize = 8k
git.packedGitLimit = 1500m
git.deltaBaseCacheLimit = 10m
git.packedGitOpenFiles = 256
git.streamFileThreshold = 50m
git.maxObjectSizeLimit = 0
git.maxPackSizeLimit = -1
tickets.service = com.gitblit.tickets.FileTicketService
tickets.perPage = 25
Hi,
we have around 60 repositories whom weight around 12GB.
Server startup: 2016-06-23 22:23:53 [INFO ] Started @174304ms
accessing repository with 8,083 changes 671 tags in past 2 years takes around 20 seconds,
by accessing I mean going to summary page. This repository weights around 700MB.
We've tried to move tickets into redis, but it didn't help so we switched back to file based.
What can we change to make it faster? Is it possible at all in gitblit?
Box is CentOS 6 with 2 CPUs and 4GB of RAM. Current version is 1.8.0
few of settings from gitblit.properties are:
git.cacheRepositoryList = true
git.enableGarbageCollection = false
git.garbageCollectionHour = 0
git.defaultGarbageCollectionThreshold = 500k
git.defaultGarbageCollectionPeriod = 7
git.mirrorPeriod = 30 mins
git.packedGitWindowSize = 8k
git.packedGitLimit = 1500m
git.deltaBaseCacheLimit = 10m
git.packedGitOpenFiles = 256
git.streamFileThreshold = 50m
git.maxObjectSizeLimit = 0
git.maxPackSizeLimit = -1
tickets.service = com.gitblit.tickets.FileTicketService
tickets.perPage = 25