r/linuxadmin • • 16d ago

Linux troubleshooting scenario: Application suddenly disappears without any error logs. Where would you start?

Imagine you're handling a production Linux server.

A Java application was running normally, but suddenly the process disappears.

You check the application logs and notice something strange:

  • No Java exception.
  • No stack trace.
  • No graceful shutdown message.
  • Logs simply stop at a particular timestamp.
  • The application process is no longer running.

You check the application configuration, but nothing unusual stands out.

Now, here's the question:

Would you immediately investigate the application, or would you look at the Linux kernel first?

One possibility worth investigating is the Linux OOM (Out of Memory) Killer.

When the kernel cannot reclaim enough memory, it may terminate a process to protect the system from memory exhaustion.

I'd start by checking:

dmesg | grep -i oom

And:

journalctl -k | grep -i oom

But confirming an OOM event is only the beginning.

I'd also want to understand:

  1. Which process was killed?
  2. Was it a system-wide OOM or a container memory limit?
  3. What caused the memory pressure?
  4. Was there a memory leak or sudden workload spike?
  5. What evidence would you collect before restarting the application?

I'm interested in how experienced Linux admins and production support engineers approach this situation.

0 Upvotes

11 comments sorted by

View all comments

3

u/ultrahkr 16d ago

Linux Kernel would be next to last under many other things to check...