On 8 May 2025, at 12:11, Guy Levkowitz <sil...@gmail.com> wrote:looks like that metrics plugin cause our server to get Java heap space - and stuck our server, after disabling this plugin server works fine
https://gerrit.googlesource.com/plugins/metrics-reporter-prometheu
ב-יום שלישי, 29 באפריל 2025 בשעה 15:14:08 UTC+3, Guy Levkowitz כתב/ה:HeyWe have Gerrit 3.10.1 server on Red Hat Enterprise Linux release 8.10 (Ootpa)with memory defined:free -h
total used free shared buff/cache available
Mem: 125Gi 93Gi 884Mi 225Mi 31Gi 30Gi
Swap: 23Gi 3.9Gi 20Gi
and the
cat ../etc/gerrit.config | grep heap
heapLimit = 84gStill we get lots of :java.util.concurrent.ExecutionException: java.lang.OutOfMemoryError: Java heap space
Caused by: java.lang.OutOfMemoryError: Java heap space
which cause our server to flipand we need to restart the service/server from time to time
what can be done more ?Guy
--
--
To unsubscribe, email repo-discuss...@googlegroups.com
More info at http://groups.google.com/group/repo-discuss?hl=en
---
You received this message because you are subscribed to the Google Groups "Repo and Gerrit Discussion" group.
To unsubscribe from this group and stop receiving emails from it, send an email to repo-discuss...@googlegroups.com.
To view this discussion visit https://groups.google.com/d/msgid/repo-discuss/40da4e02-4f07-4c99-8ab6-fedb5c1291een%40googlegroups.com.
Gerrit system metrics
gerrit_http_server_request_count
gerrit_git_receive_pack_latency
JVM stats (if enabled)
gerrit_jvm_memory_used_bytes
Git-level metrics
gerrit_git_upload_pack_latency
All project-specific metrics like:
gerrit_project_os_web_merge_latency_seconds
gerrit_project_core_push_count