Hello!
Yesterday, at night, we’ve updated our docker instance of Nexus to 3.23.0
In the morning when developers start to trigger they build and requests go to Nexus we have see the following:
Log message:
2020-05-07 07:25:29,543+0000 INFO [elasticsearch[97E976DC-49B0040B-E218D207-BCD3BD80-233B626D][scheduler][T#1]] *SYSTEM org.elasticsearch.monitor.jvm - [97E976DC-49B0040B-E218D207-BCD3BD80-233B626D] [gc][old][5032][29] duration [5s], collections [1]/[5.3s], total [5s]/[44s], memory [2.6gb]->[2.6gb]/[3.9gb], all_pools {[young] [1.2mb]->[23.9mb]/[1.1gb]}{[survivor] [0b]->[0b]/[119mb]}{[old] [2.6gb]->[2.6gb]/[2.6gb]}
At this moment CPU was at 100% load.
Interesting moment that nexus have a huge amount of RAM free…
After that web-interface kick off anyone with error “server disconnected”
File descriptors starts to grow:
Server doesn’t do anything. No logs, no responses, nothing. The last log string was about starting GC.
After restarting Nexus all goes fine for about 2 hours and repeats again.
Our memory settings for jvm is next:
-Xms4G
-Xmx4G
-XX:MaxDirectMemorySize=17530M
Followed by official documentation: System Requirements
For the experiment for now we extend the XMS and XMX to 5G.
Does some of GC settings changes in this release?
I did not find anything about that in Release Notes.
Any advise or workaround to fix that? If a minor increase of XMS and XMX don’t solve the problem we will go back to the previous version.
May be this is not a best place for such question, so I’ve created a ticket: https://issues.sonatype.org/browse/NEXUS-23826