ulimit for NRPE
Andreas Ericsson
ae at op5.se
Tue Feb 1 09:03:01 CET 2005
Jason Martin wrote:
> Is NRPE at all resiliant to plugins that inadvertanly forkbomb
> or otherwise take too many resources? I was thinking that it'd
> be nice for NRPE to be able to set the ulimit parameters so that
> plugins cannot blow up.
>
This is simple enough to do outside of the daemon, so it will probably
not be implemented any time soon inside it. At least not without a
patch. Which reminds me. I've got to get going on that 2.1 release.
Now, I've been thinking about implementing a couple of internal commands
in NRPE, like memcheck and such that can easily be retrieved through a
simple syscall. Would anybody be interested in hacking up some
BSD/AIX/HPUX/Tru64 code for that? I'm thinking the equivalence of the
sysinfo(2) and statfs(2) syscalls on linux, for starters.
--
Andreas Ericsson andreas.ericsson at op5.se
OP5 AB www.op5.se
Lead Developer
-------------------------------------------------------
This SF.Net email is sponsored by: IntelliVIEW -- Interactive Reporting
Tool for open source databases. Create drag-&-drop reports. Save time
by over 75%! Publish reports on the web. Export to DOC, XLS, RTF, etc.
Download a FREE copy at http://www.intelliview.com/go/osdn_nl
More information about the Developers
mailing list