I read similar questions "what-does-usecontainersupport-vm-parameter-do", but the same parameters do not take effect under my system Why the jvm parameter UseContainerSupport does not work my system: ➜ ~ screenfetch ██████████████████ ████████ [email protected] ██████████████████ ████████ OS: Manjaro 21.1.0 Pahvo ██████████████████ ████████ Kernel: x86_64 Linux 5.13.1-3-MANJARO ██████████████████ ████████ Uptime: 2h 22m ████████ ████████ Packages: 1365 ████████ ████████ ..
here is the situation about jstat: 3G young,1.7G old,total about 4.7G: but,in rss situtation,it looks like that: I don’t know why. especially in others pods(with the same container in it), rss > java heapSize. here is the jvm optition: -XX:+UseG1GC, -XX:+UseStringDeduplication, -XX:-OmitStackTraceInFastThrow, -XX:MaxRAMPercentage=75.0, -XX:InitialRAMPercentage=75.0, -XX:+PrintTenuringDistribution, -XX:+PrintGCDetails, -XX:+PrintCommandLineFlags, -XX:+PrintHeapAtGC, -XX:+PrintGCDateStamps, -XX:+PrintGCTimeStamps, -Xloggc:log/gc-%t.log, here is the pod ..
I’m trying to do a performance test with a spring web application. The web application was run locally, and the load tool and db were run on the host. However, during the performance test, an error stating that the web request could not be received suddenly occurred. The JVM’s cpu was not consumed even by ..
I am facing the problem of optimizing the JVM for Kubernetes. I deployed springcloud gateway on Kubernetes and I search to optimize the memory used in the Pods. First question, the memory used in pods is more than 300Mi. I find this important for an application like the gateway. Second question, I added this section ..
I got a question in my mind. Why do we need Java with JVM if we can deploy an application in a container to any operating system? The phrase "Write once run everywhere" is no longer seems reasonable. Why do we need to use any language that uses VM? Source: Docker..
There is such a need to detect whether the jvm code in the container has been maliciously modified. I google some related questions, and We can dynamically monitor jvm through Java Instrumentation. But I failed in the first step, I cannot get the jvm in the container. If it was host jvm, it will be ..
We are using docker swarm on the server for orchestration. using openjdk8. My backend application is a rest service named "api". On the master, if do : docker service ls see the result : ID NAME MODE REPLICAS IMAGE PORTS 7l89205dje61 integration_api replicated 1/1 docker.repo1.tomba.com/koppu/koppu-api:220.127.116.11019dc …………….. Time to time I am seeing an error in ..
We are using docker swarm on the server. using openjdk8. If do : docker service ls see the result : ID NAME MODE REPLICAS IMAGE PORTS 7l89205dje61 integration_api replicated 1/1 docker.repo1.tomba.com/koppu/koppu-api:18.104.22.168019dc …………….. I am trying to update jvm heap size for this service so I tried : docker service update –env-add JAVA_OPTS="-Xms3G -Xmx3G -XX:MaxPermSize=1024m" integration_api ..
We are running a Java application in a Kubernetes cluster. The application itself doesn’t have high demand for RAM, but I’ve noticed that it always consumes 1GB. kubectl top pods NAME CPU(cores) MEMORY(bytes) my-application-c0ffee 100m 1127Mi my-application-c0ffee 100m 1109Mi When I checked jcmd <pid> GC.heap_info inside the container, I got the following: def new generation ..
We are running a kubernetes environment and we have a pod that is encountering memory issues. The pod runs only a single container, and this container is responsible for running various utility jobs throughout the day. The issue is that this pod’s memory usage grows slowly over time. There is a 6 GB memory limit ..