Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
memory-monitor: Improve resilience of handler to missing processes.
Enhance the script to handle missing processes more gracefully in the memory event handler. Instead of halting execution when a process is no longer present, the handler now skips over non-existent processes. This allows the memory event handling to continue smoothly when triggered by the monitor, even if some processes have terminated. The added checks ensure robust handling of ps and /proc access failures. Signed-off-by: Nikolay Martyanov <[email protected]>
- Loading branch information