Re: Weird processes after upgrading to apache2

2004-06-13 Thread Matthew Seaman
On Sun, Jun 13, 2004 at 02:02:44AM -0500, Kirk Strauser wrote:

 Those are the exact symptoms seen when httpd is run without the -DSSL
 argument.  In other words, my little daemons seem to forget their name and
 their arguments after they've started.  Note that despite the warning, the
 daemons seem to have been successfully restarted (to the best of my
 knowledge).

I suspect it's mod_perl causing the weirdness.  Plain apache-2.0.49
works perfectly well for me serving up static html and some php.

mod_perl is unusual though in that it has such a complete interface to
the apache API.  I don't doubt that you can cause any of the effects
you've seen with unsuitably written perl code.  Serious debugging time
required.

Cheers,

Matthew

-- 
Dr Matthew J Seaman MA, D.Phil.   26 The Paddocks
  Savill Way
PGP: http://www.infracaninophile.co.uk/pgpkey Marlow
Tel: +44 1628 476614  Bucks., SL7 1TH UK


pgphqwYqUKc3e.pgp
Description: PGP signature


Re: Weird processes after upgrading to apache2

2004-06-13 Thread Kirk Strauser
At 2004-06-13T09:16:25Z, Matthew Seaman [EMAIL PROTECTED] writes:

 I suspect it's mod_perl causing the weirdness.  Plain apache-2.0.49 works
 perfectly well for me serving up static html and some php.

 mod_perl is unusual though in that it has such a complete interface to the
 apache API.  I don't doubt that you can cause any of the effects you've
 seen with unsuitably written perl code.  Serious debugging time required.

I temporarily disabled mod_perl and the problems went away as expected.
I'm kind of surprised that I never saw these problems with the same web
application (TWiki) and mod_perl on Apache 1, but it seems to be unique to
my Apache 2 installation.  Weird.  Anyway, the server is question has enough
muscle to serve TWiki pages quickly, so I may semi-permanently ditch
mod_perl.
-- 
Kirk Strauser


pgpE6MDVYZB0A.pgp
Description: PGP signature


Re: Weird processes after upgrading to apache2

2004-06-13 Thread Matthew Seaman
On Sun, Jun 13, 2004 at 10:38:32AM -0500, Kirk Strauser wrote:
 At 2004-06-13T09:16:25Z, Matthew Seaman [EMAIL PROTECTED] writes:
 
  I suspect it's mod_perl causing the weirdness.  Plain apache-2.0.49 works
  perfectly well for me serving up static html and some php.
 
  mod_perl is unusual though in that it has such a complete interface to the
  apache API.  I don't doubt that you can cause any of the effects you've
  seen with unsuitably written perl code.  Serious debugging time required.
 
 I temporarily disabled mod_perl and the problems went away as expected.
 I'm kind of surprised that I never saw these problems with the same web
 application (TWiki) and mod_perl on Apache 1, but it seems to be unique to
 my Apache 2 installation.  Weird.  Anyway, the server is question has enough
 muscle to serve TWiki pages quickly, so I may semi-permanently ditch
 mod_perl.

Well, the apache API and hence mod_perl are significantly different
between apache 1.x and apache 2.x -- you will need to modify perl code
written as Apache PerlHandlers if you want them to work with
mod_perl2.0.  mod_perl for apache 2.x is still at the pre-release
stage.  CGI.pm/Apache::Registry stuff should be compatible, but as
ever in computing things that should be generally aren't.

If you can get your hands on Practical mod_perl by Bekman and Cholet
(O'Reilly -- http://www.oreilly.com/catalog/pmodperl/) there's two
whole chapters about the differences between mod_perl and mod_perl2.0

Cheers,

Matthew

-- 
Dr Matthew J Seaman MA, D.Phil.   26 The Paddocks
  Savill Way
PGP: http://www.infracaninophile.co.uk/pgpkey Marlow
Tel: +44 1628 476614  Bucks., SL7 1TH UK


pgpAnvScdn96l.pgp
Description: PGP signature


Re: Weird processes after upgrading to apache2

2004-06-13 Thread Kirk Strauser
At 2004-06-13T16:32:01Z, Matthew Seaman [EMAIL PROTECTED] writes:

 If you can get your hands on Practical mod_perl by Bekman and Cholet
 (O'Reilly -- http://www.oreilly.com/catalog/pmodperl/) there's two whole
 chapters about the differences between mod_perl and mod_perl2.0

Thanks for the pointers, Matt.  I'm not that concerned at the moment, but I
might take a look at that in my Abundant Free Time. ;-)
-- 
Kirk Strauser


pgpf6X9tAixl1.pgp
Description: PGP signature