Inspect a Running Application

Consider the following scenario: you see a performance problem with your production application, but you can’t quite figure out what is causing it. Your server may be having periods of slow requests, high memory usage, or failed requests. You collect metrics using StatsD or another tool, but it just doesn’t seem to pinpoint the exact problem. Luckily, you can run commands against a live server to find the problem.

In this section, we’re going to look at tools for inspecting running applications and how to use them. You’ll need to have a way to log into a running server to use the tools listed in this section. If you are using Mix Release or Distillery to package your production application, then you can use the ...

Get Real-Time Phoenix now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.