I'll set up a test env and see what's up, The odd thing though is ... when ran from CLI (aka shell line) everything worked like a charm. So my guess is that the plugin segfaulted when ran for "n" number of times, and since icinga uses popen (which as far as i know makes a parent memory copy before launching the child process) to start command checks, the problem resides over there rather then in the script itself. Maybe it would be useful looking into a vfork / execve solution to prevent memory copies which i think would solve the issue.
Just my 2 cents. On 11.12.2013 16:45, Carl R. Friend wrote: > On Wed, 11 Dec 2013, Dan Radu Dragomir wrote: > >> 100% opcode caching, Xcache was disabled and no more errors, which makes >> me wonder WHY would that be in any way a cause for all this!!!??? > That's part one of the problem solved, and I'm happy for you on that > count, but part two still lurks and will probably bite you in the back- > side when you're least expecting it going forward. Something is making > the PHP interpreter segfault when opcode-caching is turned on, and you'd > do well to figure that out before it happens elsewhere. > > Can you reproduce the issue on a test system so you don't need to > fiddle with the production box? > > Cheers! > > +------------------------------------------------+---------------------+ > | Carl Richard Friend (UNIX Sysadmin) | West Boylston | > | Minicomputer Collector / Enthusiast | Massachusetts, USA | > | mailto:crfri...@rcn.com +---------------------+ > | http://users.rcn.com/crfriend/museum | ICBM: 42:22N 71:47W | > +------------------------------------------------+---------------------+ > > ------------------------------------------------------------------------------ > Rapidly troubleshoot problems before they affect your business. Most IT > organizations don't have a clear picture of how application performance > affects their revenue. With AppDynamics, you get 100% visibility into your > Java,.NET, & PHP application. Start your 15-day FREE TRIAL of AppDynamics Pro! > http://pubads.g.doubleclick.net/gampad/clk?id=84349831&iu=/4140/ostg.clktrk > _______________________________________________ > icinga-users mailing list > icinga-users@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/icinga-users ------------------------------------------------------------------------------ Rapidly troubleshoot problems before they affect your business. Most IT organizations don't have a clear picture of how application performance affects their revenue. With AppDynamics, you get 100% visibility into your Java,.NET, & PHP application. Start your 15-day FREE TRIAL of AppDynamics Pro! http://pubads.g.doubleclick.net/gampad/clk?id=84349831&iu=/4140/ostg.clktrk _______________________________________________ icinga-users mailing list icinga-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/icinga-users