Hello Chad,
Thank you again for your supporting.
These below are quick answering.
1. Which git repository manager are you using?
- Gitlab if I recall correctly? Is it the Cloud/SaaS version or self
managed? Or Dedicated?
- We are using gitlab self managed.
2. Are errors only seen on the server logs or also within agents and
job console logs when trying to run/execute jobs? Or neither?
- I will find the error in logs and ping you later.
3. Are you mainly using SSH or HTTPS clones?
- HTTPS clone
4. Did you ever complete your migration from H2 to Postgres, or you are
still using H2?
- We migrated to Postgres already.
5. Which GoCD version are you on now?
- v23.1.0
As for another your suggestion to checking. i will try to look at them and
response you back.
Best Regards,
Komgrit
On Friday, December 12, 2025 at 12:45:48 PM UTC+7 Chad Wilson wrote:
> Hiya Komgrit 👋
>
> It depends where the time is being spent, but 5-10 mins is bad and
> definitely not good enough!
>
> Usually such a long wait implies a lot of errors and throttling or some
> other slowness in GoCD.
>
> 1. Which git repository manager are you using?
> - Gitlab if I recall correctly? Is it the Cloud/SaaS version or
> self managed? Or Dedicated?
> 2. Are errors only seen on the server logs or also within agents and
> job console logs when trying to run/execute jobs? Or neither?
> 3. Are you mainly using SSH or HTTPS clones?
> 4. Did you ever complete your migration from H2 to Postgres, or you
> are still using H2?
> 5. Which GoCD version are you on now?
>
>
> I cannot remember details for your setup, but if polling is the problem,
> possible techniques to directly reduce polling include
>
> - try and change everything to disable polling/fetches/autoUpdates and
> use notification webhooks from the repo manager instead so GoCD only
> checks
> for changes when a change is made on the repo:
> https://api.gocd.org/current/#webhook This even works with most custom
> material plugins (if you use the Git path material plugin, for example)
> but
> can require a lot of configuration depending on your Gitlab setup.
> - if still getting throttled just due to sheer numbers of parallel
> clones inside agents/jobs - set up a HTTPS proxy cache for you git repo
> manager and send notifications here; only `git fetch` when notified, and
> point GoCD at this proxy/cache instead.
>
> If the errors are *not* from throttling on Gitlab, it's possible they are
> just due to speed of processing the # of materials; and you should dig into
> what exactly is slow. In the logs, this is usually seen in the
> MaterialUpdateListener thread logging or [Material Update] - things like
> Skipping
> update of material with an error message. You can turn on additional
> debug logging for logging category com.thoughtworks.go.server.perf in
> logback-include.xml
> <https://docs.gocd.org/current/advanced_usage/logging.html#log-configuration-syntax>
>
> to get a better idea of what might be happening - but only worth doing if
> there are no other obvious errors/exceptions/logs that explain why it's so
> slow. Even without this special configuration, in such cases you will
> *usually* see more obvious logs for problems.
>
> If the issues are *not* to do with the upstream repository manager (you
> don't see errors in UI or logs from Git that imply getting throttled) I'd
> be interested to help you see what is actually slow here. If you can share
> a redacted snapshot from /go/api/support that might help.
>
> -Chad
>
> On Fri, 12 Dec 2025 at 13:00, Komgrit Aneksri <[email protected]> wrote:
>
>> Hello Team,
>>
>> I have >1000 material and They are using "Regularly fetch updates to
>> this repository" option
>>
>> I have issue about fetch materials so they will take time 5-10 mins after
>> commit and push code to git for run our pipeline.
>>
>> Can we reduce fetch material time? or any your suggest solutions.
>>
>> Best Regards,
>> Komgrit
>>
>>
>> --
>> You received this message because you are subscribed to the Google Groups
>> "GoCD Users" group.
>> To unsubscribe from this group and stop receiving emails from it, send an
>> email to [email protected].
>> To view this discussion visit
>> https://groups.google.com/d/msgid/go-cd/4b883fc0-80db-4afc-b22f-fd1c2f848f0cn%40googlegroups.com
>>
>> <https://groups.google.com/d/msgid/go-cd/4b883fc0-80db-4afc-b22f-fd1c2f848f0cn%40googlegroups.com?utm_medium=email&utm_source=footer>
>> .
>>
>
--
You received this message because you are subscribed to the Google Groups "GoCD
Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To view this discussion visit
https://groups.google.com/d/msgid/go-cd/895ef099-8669-4ecb-a22d-44d8265dc27en%40googlegroups.com.