So, you've successfully migrated your Java app and got it running in Containers. Things are looking rosy until, in a few days/hours/minutes you find that your Container is crashing/unresponsive/completely MIA. What do you do next? Where do you start your investigation? Can you troubleshoot the issue in just the same way as you would your regular Java application? Are there steps you can take that can save you precious time spent in investigating? This talk provides with you a quick guide to how to go about troubleshooting problems that may occur when running Java in containers.
A Java app running in a container-based cloud is subject to a somewhat different set of dynamics as opposed to one running in a traditional host – for e.g. :
- It is typically just one of tens or even hundreds of containers being run at any given point of time, and
- It is often quite short-lived, as orchestration platforms (such as Kubernetes) churn containers tens of times faster than traditional hosts.
In such an environment, it becomes difficult to track, monitor and especially to troubleshoot issues that occur in production Java apps running in the Cloud.
This talk acquaints you with some of these new Cloud dynamics that impact a containerized Java app, and presents a handy set of steps that can help you perform an initial First Failure Data Capture while troubleshooting issues for a Java app running in Containers. It then gets into details of how to investigate common problems such as crashes, Out Of Memory and other Exceptions, poor responsiveness and other performance issues. It will show you how, having a range of tools across the stack (jvm, Container and the OS) in your arsenal, will greatly increase your chances of quickly arriving at the root cause and possible solutions.
Comments Sign in to post comments
Submission for Eclipsecon 2019
Submitted by Deepthi Sebastian on Wed, 2019-06-26 06:13
Please consider my submission "Crime Scene Investigation: Troubleshooting Java apps in Containers" for EclipseCon 2019.
Thank you!
Deepthi Sebastian