On 28 May 2025, at 15:53, Guy Levkowitz <sil...@gmail.com> wrote:HeyWe have gerrit 3.10.1 below definitions :3500 - projects (repos)javaHome = /usr/lib/jvm/java-21-openjdk-21.0.6.0.7-1.0.1.el8.x86_64heapLimit = 96gCPU(s): 48Red Hat Enterprise Linux release 8.10free -h
total used free shared buff/cache available
Mem: 161Gi 45Gi 61Gi 1.3Gi 54Gi 113Gi
Swap: 23Gi 2.0Mi 23Gi
And we get lots of : "Java heap space" that cause our gerrit to get stuck and needed to restart the service - - what can be done ?[2025-05-28T15:46:14.188+03:00] [sshd-SshDaemon[41c02b8c](port=22)-nio2-thread-2] WARN org.apache.sshd.server.session.ServerSessionImpl : exceptionCaught(ServerSessionImpl[null@/192.168.120.34:54098])[state=Opened] IOException: Broken pipe
[2025-05-28T15:46:31.615+03:00] [SSH git-receive-pack /repo (XXXX)] WARN com.google.gerrit.server.git.MultiProgressMonitor : MultiProgressMonitor worker did not call end() before returning
[2025-05-28T15:46:31.615+03:00] [SSH git-receive-pack /repo (XXXX)] ERROR com.google.gerrit.server.git.receive.AsyncReceiveCommits : error while processing push
java.util.concurrent.ExecutionException: java.lang.OutOfMemoryError: Java heap space
--
--
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/d85bac2b-64ed-4d6c-b080-fbeed7978aacn%40googlegroups.com.
On 28 May 2025, at 15:53, Guy Levkowitz <sil...@gmail.com> wrote:HeyWe have gerrit 3.10.1 below definitions :3500 - projects (repos)javaHome = /usr/lib/jvm/java-21-openjdk-21.0.6.0.7-1.0.1.el8.x86_64heapLimit = 96gCPU(s): 48Red Hat Enterprise Linux release 8.10free -h
total used free shared buff/cache available
Mem: 161Gi 45Gi 61Gi 1.3Gi 54Gi 113Gi
Swap: 23Gi 2.0Mi 23Gi
And we get lots of : "Java heap space" that cause our gerrit to get stuck and needed to restart the service - - what can be done ?[2025-05-28T15:46:14.188+03:00] [sshd-SshDaemon[41c02b8c](port=22)-nio2-thread-2] WARN org.apache.sshd.server.session.ServerSessionImpl : exceptionCaught(ServerSessionImpl[null@/192.168.120.34:54098])[state=Opened] IOException: Broken pipe
[2025-05-28T15:46:31.615+03:00] [SSH git-receive-pack /repo (XXXX)] WARN com.google.gerrit.server.git.MultiProgressMonitor : MultiProgressMonitor worker did not call end() before returning
[2025-05-28T15:46:31.615+03:00] [SSH git-receive-pack /repo (XXXX)] ERROR com.google.gerrit.server.git.receive.AsyncReceiveCommits : error while processing push
java.util.concurrent.ExecutionException: java.lang.OutOfMemoryError: Java heap spaceI doubt that a single push managed to use 96GBytes of RAM.You should analyse the JVM heap utilisation from when the Gerrit instance started until the *very first* OOM exception in the logs.
To view this discussion visit https://groups.google.com/d/msgid/repo-discuss/721DA241-3904-4390-9FE8-6C81CB61DD45%40gmail.com.