Mobabel Blog

How to do JVM performance analysis in docker container? 0

How to do JVM performance analysis in docker container?

Prerequisite Java application with docker based on JDK 8 and alpine. This app is a Jhipster application. Dockerfile:

entrypoint.sh

  Precheck Enter container to check the process. Of course, we have only...

Memory/CPU limit in Docker Swarm 0

Memory/CPU limit in Docker Swarm

Running 1,000 Containers in Docker Swarm How to Limit Resources for Docker Swarm Services https://docs.docker.com/config/containers/resource_constraints/ What does –oom-kill-disable do for a Docker container? Unable to use oom-kill-disable configuration Docker Container Resource Management: CPU, RAM...

Use multiple JDKs in one Jenkinsfile 0

Use multiple JDKs in one Jenkinsfile

As usual, the Jenkins pipeline will only use the default JDK to execute the task. How to use multiple JDKs in one Jenkinsfile for different stages? First, define the multiple JDKs in Jenkins “Global...

0

Disable Logback log files in containers

We found the spring boot project running containers will keep restarting after some time, maybe 10 days, maybe 5 days. The root cause is spring logback is writing log files into /tmp/ directory as...

Set statement timeout for query execution 0

Set statement timeout for query execution

How to set statement timeout for query execution? Prerequisites: sqlalchemy 1.3.19 MySQL 5.7.13 You can set the connection timeout easily like this: