Sample Header Ad - 728x90

VM with Rocky Linux OS going down after every two weeks

2 votes
1 answer
37 views
We were running a set of Java processes on an RHEL box. There was one or two particular services that used to go down due to OOM killer after every 2-3 weeks. We used to get alerts, and it was restarted. Recently we switched to the Rocky Linux 9.5 version. Now once every two weeks the whole VM is going down. RSS memory used by the same set of processes is going up very rapidly, and after 2 weeks, the VM crashes. We enabled NativeMemoryTracking=detail but could not find the reason for why RSS is going so high. We have seen heap usage by Java processes is within the Xmx value, and the processes never crashed due to OutOfMemoryError. I can give more details if required. I wanted to ask if I can tune some kernel parameters so that RSS is within limits and/or the machine should not crash. My issue is the same as the bug reported below. https://bugs.java.com/bugdatabase/view_bug?bug_id=8188130 In my case in the NMT log, I can see thread memory allocation is increasing rapidly, and after 10 hours of running the application, it grows to 12 GB. I am using openjdk. openjdk version "1.8.0_402" OpenJDK Runtime Environment (Zulu 8.76.0.18-SA-linux64) (build 1.8.0_402-b06) OpenJDK 64-Bit Server VM (Zulu 8.76.0.18-SA-linux64) (build 25.402-b06, mixed mode)
Asked by Navneet Mishra (21 rep)
Jul 30, 2025, 09:46 AM
Last activity: Jul 31, 2025, 10:49 PM