Loading ...
Sorry, an error occurred while loading the content.

Re: [mp2] Problem with forking cleanup in high request rate server

Expand Messages
  • Stas Bekman
    ... I have reported this problem long time ago to httpd-dev. I guess it wasn t resolved: http://marc.theaimsgroup.com/?t=103995238000001&r=1&w=2 ... Meanwhile
    Message 1 of 7 , Sep 26, 2003
    • 0 Attachment
      Scot Martin wrote:
      > Sorry about the last post. This one is definately
      > 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().

      I have reported this problem long time ago to httpd-dev. I guess it wasn't
      resolved: http://marc.theaimsgroup.com/?t=103995238000001&r=1&w=2

      > It would be nice to be able to use this as it gets rid
      > of a _whole bunch_ of calls to stat. I'm trying to
      > wring the last ounce of performance out of the sucker.
      > :)

      Meanwhile use a simple transhandler which sets $r->filename to __FILE__ and
      return OK.

      __________________________________________________________________
      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
    Your message has been successfully submitted and would be delivered to recipients shortly.