Re: [Nagios-devel] MaxRequestsPerChild workalike for embedded perl?

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] MaxRequestsPerChild workalike for embedded perl?

Post by Guest »

This might be possible as long as its as easy as calling the
(con/de)struction routines in nagios.c mid-flight. I'll put this on
my 2.0 todo list.


On 18 Nov 2002 at 14:58, Chet Luther wrote:

> Group,
> I'm in a situation where I really could benefit from the speed of using
> the embedded Perl interpreter in Nagios, but I can't afford the nasty memory
> leaking it does. I was wondering if a feature similar to Apache's
> 'MaxRequestsPerChild' could be implemented? Something to simply flush and
> reload the embedded Perl environment after X many Perl plugin executions.
> Judging by previous threads on the nagios-users list, I don't believe
> I'm the only one having issues with memory leaking through embedded Perl.
> I've avoided declaring global variables/etc in my plugins, but dispite what
> I do I can't seem to stop the leak.
>
> Thanks for you thoughts,
>
> Chet Luther
> chet@rcn.com
>
>
>
>
> -------------------------------------------------------
> This sf.net email is sponsored by: To learn the basics of securing
> your web site with SSL, click here to get a FREE TRIAL of a Thawte
> Server Certificate: http://www.gothawte.com/rd524.html
> _______________________________________________
> Nagios-devel mailing list
> Nagios-devel@lists.sourceforge.net
> https://lists.sourceforge.net/lists/lis ... gios-devel
>



Ethan Galstad,
Nagios Developer
---
Email: nagios@nagios.org
Website: http://www.nagios.org






This post was automatically imported from historical nagios-devel mailing list archives
Original poster: nagios@nagios.org
Locked