Dear Sir, I am writing to thank you for your letter and say,
> -----Original Message----- > ------------------------------ > > Message: 2 > Date: Tue, 2 Jan 2007 08:26:34 +0100 (CET) > From: Daniel Meyer <[EMAIL PROTECTED]> > Subject: Re: [Nagios-users] Performance issues, too > > Hi there, and happy new year :-) > > Program Running Time: 10d 21h 22m 42s > > So, for almost eleven days nagios runs smoothly now, no more > latency problems. I'll try it again with EPN (but still > without perlcache) now. > Context is massive memory leak with ePN. Leak goes when ePN is removed. Firstly, look at the caveats for ePN at http://nagios.sourceforge.net/docs/2_0/embeddedperl.html There should be added another major caveat to this: depending on your plugins you may have a bigger or smaller leak, however leak it will. For me, I wouldn't consider Nagios without ePN since I code most of my plugins in Perl and the advantages for me (and this installation) outweigh the leak. Finally about the meaning of the configure switches for ePN. 1 --enable-embedded-perl This builds Perl into the Nagios executable and at the least means that your system does __not__ fork a new process to run Perl plugins. Instead, Perl is parsed and run by direct calls to the Nagios binary. So, setting this switch saves a context switch. 2 --with-perl-cache If in addition, this switch is set, the Perl plugin is compiled only once (otherwise, each time Nagios goes to run a Perl plugin, it recompiles it). The resultant Perl op code tree remains in memory. Unfortuntaely, for reasons that are not clear to me, this is the source of the leak. > Danny > -- Yours sincerely. ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys - and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ Nagios-users mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null
