Re: [Nagios-devel] ulimit for NRPE
Posted: Tue Feb 01, 2005 12:03 am
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]
> 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]