Date: Sun, 13 Jun 2004 17:32:01 +0100 From: Matthew Seaman <m.seaman@infracaninophile.co.uk> To: Kirk Strauser <kirk@strauser.com> Cc: freebsd-questions@freebsd.org Subject: Re: Weird processes after upgrading to apache2 Message-ID: <20040613163201.GA90906@happy-idiot-talk.infracaninophile.co.uk> In-Reply-To: <87y8mrmps7.fsf@strauser.com> References: <87acz8ndnv.fsf@strauser.com> <20040613091625.GC75168@happy-idiot-talk.infracaninophile.co.uk> <87y8mrmps7.fsf@strauser.com>
next in thread | previous in thread | raw e-mail | index | archive | help
--UlVJffcvxoiEqYs2 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Sun, Jun 13, 2004 at 10:38:32AM -0500, Kirk Strauser wrote: > At 2004-06-13T09:16:25Z, Matthew Seaman <m.seaman@infracaninophile.co.uk>= writes: >=20 > > I suspect it's mod_perl causing the weirdness. Plain apache-2.0.49 wor= ks > > 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 require= d. >=20 > 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 eno= ugh > 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 --=20 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 --UlVJffcvxoiEqYs2 Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.4 (FreeBSD) iD8DBQFAzIGBiD657aJF7eIRAsPZAJ4gMZYsJZbLhlVHb/zW1xijjWTAegCdEM64 DqMBEXBfJJq9M/YGlQ9QqI0= =Ut7K -----END PGP SIGNATURE----- --UlVJffcvxoiEqYs2--
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20040613163201.GA90906>