Category : jvm

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:3.1.2.96019dc …………….. Time to time I am seeing an error in ..

Read more

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:3.1.2.96019dc …………….. 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 ..

Read more

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 ..

Read more

I’m attempting to profile a Java app running in a Docker container on a Windows machine. I’m failing to connect to the containerized JProfiler service from my Windows client and having a hard time interpreting the stderr output. JPAGENT_PATH is set and contains the nowait flag. jpenable –port=8849 –gui completes with the output You can ..

Read more

I want to connect to a java application for performance monitoring and profiling which is running as a docker container in my local machine. Here is my Dockerfile FROM openjdk:12-jdk-alpine as runner VOLUME /tmp ARG JAR_FILE=log-process.jar COPY ${JAR_FILE} app.jar COPY config.yml config.yml CMD ["java", "-Dcom.sun.management.jmxremote.rmi.port=8989 -Dcom.sun.management.jmxremote=true -Dcom.sun.management.jmxremote.port=8989 -Dcom.sun.management.jmxremote.ssl=false -Dcom.sun.management.jmxremote.authenticate=false -Dcom.sun.management.jmxremote.local.only=false -Djava.rmi.server.hostname=127.0.0.1 -XX:+UnlockDiagnosticVMOptions -XX:+DebugNonSafepoints -XX:StartFlightRecording=settings=default,maxsize=100M,maxage=1d", "-Djava.security.egd=file:/dev/./urandom", ..

Read more