You are viewing a plain text version of this content. The canonical link for it is here.
Posted to modperl@perl.apache.org by Bjoern Hoehrmann <de...@gmx.net> on 2005/08/16 19:10:12 UTC

apache -X on win32 vs mod_perl

Hi,

  Apache/2.0.54 with mod_perl 2.0.1 on Windows Server 2003, mostly
standard configuration using mod_perl like

  <Location /script>
    SetHandler          perl-script
    PerlOptions         +ParseHeaders
    PerlResponseHandler ModPerl::Registry
  </Location>
  
  LoadFile "d:/Perl/bin/perl58.dll"
  LoadModule perl_module modules/mod_perl.so

Now when launching Apache with -X or -DONE_PROCESS it works fine when
accessing normal files but as soon as a client requests /script the
web server will exit, no error message, nothing in the error_log, the
.pid file is not removed, it basically crashes. Is this known and is
there a work around?

I ran into this when trying to use Apache::DProf which does not work
when running without -X (it creates the output files but only writes
the header), same for Apache::SmallProf; setting perl5opt=-d:DProf
does work but it will only profile mod_perl startup code, not the
scripts I'd be interested in. Mike Zelina reported similar problems
2 1/2 years ago to this list...

Is Apache::DProf actually supposed to work without -X? If not, where
should I report the crash bug above if I don't want to debug any of
the code involved? :-)

TIA,
-- 
Björn Höhrmann · mailto:bjoern@hoehrmann.de · http://bjoern.hoehrmann.de
Weinh. Str. 22 · Telefon: +49(0)621/4309674 · http://www.bjoernsworld.de
68309 Mannheim · PGP Pub. KeyID: 0xA4357E78 · http://www.websitedev.de/ 

Re: apache -X on win32 vs mod_perl

Posted by "Philip M. Gollucci" <pg...@p6m7g8.com>.
Bjoern Hoehrmann wrote:
> Now when launching Apache with -X or -DONE_PROCESS it works fine when
> accessing normal files but as soon as a client requests /script the
> web server will exit, no error message, nothing in the error_log, the
> .pid file is not removed, it basically crashes. Is this known and is
> there a work around?
No idea, don't use windows with mp, but I'm sure someone here will know.

> Is Apache::DProf actually supposed to work without -X? If not, where
> should I report the crash bug above if I don't want to debug any of
> the code involved? :-)
According to the Apache:DB docs yes; but again, I don't know on Windows.

Frank Wiles is the current maintainer, I would ask him.


-- 
END
------------------------------------------------------------
     What doesn't kill us can only make us stronger.
                 Nothing is impossible.
				
Philip M. Gollucci (pgollucci@p6m7g8.com) 301.254.5198
Consultant / http://p6m7g8.net/Resume/
Senior Developer / Liquidity Services, Inc.
   http://www.liquidityservicesinc.com
        http://www.liquidation.com
        http://www.uksurplus.com
        http://www.govliquidation.com
        http://www.gowholesale.com