Re: [mp2] Problem with forking cleanup in high request rate server
- Scot Martin wrote:
> Sorry about the last post. This one is definatelyI have reported this problem long time ago to httpd-dev. I guess it wasn't
> plain text.
> The good news is that I've distilled the problem down
> to a one line change in my httpd.conf file.
> With the following line, Apache drops a core when
> spawn_proc_prog() is called:
> PerlTransHandler Apache::OK
> The above line causes the testcase in
> t/apache/subprocess.t to drop a core.
> It looks like *r is considerably less populated with
> the added line, which means $r->filename is null when
> it gets passed to ap_make_dirstr_parent().
> It would be nice to be able to use this as it gets ridMeanwhile use a simple transhandler which sets $r->filename to __FILE__ and
> of a _whole bunch_ of calls to stat. I'm trying to
> wring the last ounce of performance out of the sucker.
Stas Bekman JAm_pH ------> Just Another mod_perl Hacker
http://stason.org/ mod_perl Guide ---> http://perl.apache.org
mailto:stas@... http://use.perl.org http://apacheweek.com
http://modperlbook.org http://apache.org http://ticketmaster.com