Re: [Nagios-devel] ulimit for NRPE

Support forum for Nagios Core, Nagios Plugins, NCPA, NRPE, NSCA, NDOUtils and more. Engage with the community of users including those using the open source solutions.
Locked
Guest

Re: [Nagios-devel] ulimit for NRPE

Post by Guest »

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 [email protected]
OP5 AB www.op5.se
Lead Developer





This post was automatically imported from historical nagios-devel mailing list archives
Original poster: [email protected]
Locked