Linux

Every couple of days, a certain process stops running. How can you look into why it's happening?

Difficulty: unrated

Source: bregman-arie/devops-exercises by Arie Bregman

Answer

One way to investigate why a process stops running is to check the system logs, such as the messages in /var/log/messages or journalctl. Additionally, checking the process's resource usage and system load may provide clues as to what caused the process to stop