Sorry I forgot refer System properties garbage collection link
https://docs.gocd.org/23.1.0/advanced_usage/config_repo.html

Regards,
Komgrit



On Friday, March 21, 2025 at 9:30:10 AM UTC+7 Komgrit Aneksri wrote:

> Thank you Chad,
>
> And I want to do the garbage collection after I found this warning message
>
> *Action required: Run 'git gc' on config.git repo21 Mar, 2025 at 08:28:15 
> Local Time*
>
> Number of loose objects in your Configuration repository(config.git) has 
> grown beyond the configured threshold. As the size of config repo 
> increases, the config save operations tend to slow down drastically. It is 
> recommended that you run 'git gc' from '<go server installation 
> directory>/db/config.git/' to address this problem. Go can do this 
> automatically on a periodic basis if you enable automatic GC.
>
> How to configure System properties that affect periodic garbage 
> collection in helm?
>
> Best Regards,
> Komgrit
>
> On Thursday, March 6, 2025 at 4:32:46 PM UTC+7 Chad Wilson wrote:
>
>> --set "server.env.goServerJvmOpts=-Xms4g -Xmx8g"
>>
>> ...or the equivalent inside a values.yaml override:
>>
>> server:
>>   env:
>>     goServerJvmOpts: "-Xms4g -Xmx8g"
>>
>> There are multiple ways, but this is the easiest and most helm-native. It 
>> maps to the env var documented for the container image under "Tweaking JVM 
>> options" at https://hub.docker.com/r/gocd/gocd-server/
>>
>> -Chad
>>
>> On Thu, 6 Mar 2025 at 16:43, Komgrit Aneksri <tanak...@gmail.com> wrote:
>>
>>> Hi GoCD team,
>>>
>>> I want to do GoCD server performance tuning.
>>>
>>> And I read this page 
>>> https://docs.gocd.org/current/installation/performance_tuning.html
>>>
>>> My current GoCD server installed by helm.
>>>
>>> How to perform tunning JVM in Helm value as below. Could you suggest me? 
>>>
>>> # We recommend that you begin with the index `100` and increment the 
>>> index for each system property. # use minimum JVM heap of 4gb 
>>> wrapper.java.additional.100=-Xms4g # use maximum JVM heap of 8gb 
>>> wrapper.java.additional.101=-Xmx8g
>>>
>>> Regards,
>>>
>>> Komgrit
>>>
>>> -- 
>>> You received this message because you are subscribed to the Google 
>>> Groups "go-cd" group.
>>> To unsubscribe from this group and stop receiving emails from it, send 
>>> an email to go-cd+un...@googlegroups.com.
>>> To view this discussion visit 
>>> https://groups.google.com/d/msgid/go-cd/5bbeb104-2edc-4bdd-be0e-c6d4a8cdd9c9n%40googlegroups.com
>>>  
>>> <https://groups.google.com/d/msgid/go-cd/5bbeb104-2edc-4bdd-be0e-c6d4a8cdd9c9n%40googlegroups.com?utm_medium=email&utm_source=footer>
>>> .
>>>
>>

-- 
You received this message because you are subscribed to the Google Groups 
"go-cd" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to go-cd+unsubscr...@googlegroups.com.
To view this discussion visit 
https://groups.google.com/d/msgid/go-cd/013994f5-8d24-4943-b457-bed192c473d3n%40googlegroups.com.

Reply via email to