[PATCH] Apache2::SizeLimit aborts when smaps is not available

2009-11-30 Thread Harry Danilevsky
1. Problem Description: Apache2::SizeLimit aborts when smaps facility is unavailable. Here's the error from the error log: Linux::Smaps: Cannot open /proc/9700/smaps: No such file or directory BEGIN failed--compilation aborted at /data/wre/prereqs/lib/perl5/site_perl/5.10.0/i686-linux/Apache2/S

How to share variables when embedding, cloning perl

2009-11-30 Thread Sri
Hello, I havent found any relevant posts on this topic, so hoping the experts can rescue me.  My posts on p5p and ithreads didnt get any responses. I'm extending Perl (with SWIG) and also embedding a cloned interpreter.  I use the cloned interpreter to invoke Perl sub's as callbacks.  The callb