Mid

Detect Memory Leak by Monitoring RSS

Difficulty: mid

Source: devops-interviews/devops-interview-questions by Alex Muradov

Answer

Scenario

One of your long-running Node.Js services (process name node) has been slowing down over several hours of uptime. CPU usage is normal, disk I/O is normal, but the server is gradually running out of memory.

Task

Identify if any process is leaking memory and kill that process.


📹 Video Solution