- changed status to on hold
Add analytics for open files / processes / threads
Issue #156
resolved
I've sometimes had nasty cases where "max open files" limits were reached, or the count of processes (fork-bomb) or threads were too high for the system.
Wouldn't it be a good idea to monitor also these (often underestimated) resources in monit and m/monit ?
Comments (5)
-
repo owner -
repo owner - changed status to open
-
repo owner - changed status to closed
Add ability to monitor the number of open files of a process
Currently only implemented for Linux
Natural syntax:
check process myproc with pidfile /var/run/myproc.pid if open-files >= 100 then alert if total open-files > 5000 then alert
Based on work of Marcel Baur https://bitbucket.org/tildeslash/monit/pull-requests/56
Closes:
#156→ <<cset cb30233aadf1>>
-
repo owner - changed status to open
the open-file per process doesn't fully cover this feature request
TODO:
- system-wide process count limits
- system-wide files limit
-
repo owner - changed status to resolved
system-wide and per-process filedescriptor usage test implemented in monit 5.27.0
- Log in to comment
Hello,
thanks for feedback, yes, filedescriptors monitoring will be nice feature and we may add it in the future.
Putting on hold for now (working on other features currently, will keep this feature in mind).