Re: mod_perl installation and non-standard perl path in FreeBSD

2004-04-22 Thread Andy Harrison
~ On Mon, 19 Apr 2004 14:13:00 -0700, Stas Bekman wrote Subject: Re: mod_perl installation and non-standard perl path in FreeBSD ~ Andy Harrison wrote: Hoping there might

Re: mod_perl installation and non-standard perl path in FreeBSD

2004-04-22 Thread Stas Bekman
Andy Harrison wrote: ~ On Mon, 19 Apr 2004 14:13:00 -0700, Stas Bekman wrote Subject: Re: mod_perl installation and non-standard perl path in FreeBSD ~ Andy Harrison wrote:

perl 5.8.4 is out

2004-04-22 Thread Stas Bekman
FYI http://search.cpan.org/~nwclark/perl-5.8.4/pod/perl584delta.pod Original Message Subject: 5.8.4 Date: Thu, 22 Apr 2004 16:56:22 +0100 From: Nicholas Clark [EMAIL PROTECTED] To: [EMAIL PROTECTED] I have a Gumbie Cat in mind, her name is Jennyanydots; The curtain-cord she

FYI: metux MPM Apache project

2004-04-22 Thread Stas Bekman
This project was mention on httpd-dev: http://www.metux.de/mpm/en/?patpage= The Metux MPM is an module for the Apache 2.0 Webserver which allows it to run several VirtualHosts under different User-IDs. Some other modules such as mod_cgid allow functionality which is superficially similar. Metux

Re: mod_perl installation and non-standard perl path in FreeBSD

2004-04-22 Thread William McKee
Hi Andy, I use Apache/mod_perl under FreeBSD. I compile with Apachetoolbox[1] which is super easy. Here are the custom settings I use: --suexec-caller=www \ --suexec-docroot=/web \ --disable-rule=EXPAT \ # if using mod_ssl --enable-rule=EAPI Otherwise, I let toolbox do the

BerkeleyDB with mod perl

2004-04-22 Thread Chris Ochs
I know this isn't exactly mod perl specific, but since there isn't a mailing list for BerkeleyDB and this is an issue I know people using BerkeleyDB and mod perl have probably run accross I thought I would post it here. I'm using the latest BerkeleyDB perl module on freebsd 5.2 with mod perl

Re: BerkeleyDB with mod perl

2004-04-22 Thread Perrin Harkins
On Thu, 2004-04-22 at 15:55, Chris Ochs wrote: I'm using the latest BerkeleyDB perl module on freebsd 5.2 with mod perl 1.xx. Following is the BerkeleyDB code I am using. When I start running lots of concurrent processes that run db_put I get the error 'Locker does not exist' in

[OT] Re: BerkeleyDB with mod perl

2004-04-22 Thread William McKee
Hi Chris, I sympathize with you. I've been through my share of problems with BerkeleyDB as well. So far, I haven't had problems using it with mod_perl. I wrote a stress test tool[1] to prove to myself that BerkeleyDB was indeed safe to use in concurrent processes. You can set it to run as many

Re: BerkeleyDB with mod perl

2004-04-22 Thread William McKee
On Thu, Apr 22, 2004 at 04:12:51PM -0400, Perrin Harkins wrote: Any chance you might be opening the db handle before forking, i.e. in your startup.pl? I suspect that would cause problems. Hi Perrin, My gut reaction is Yes, this makes sense. However, I'm scratching my head trying to understand

Re: BerkeleyDB with mod perl

2004-04-22 Thread Chris Ochs
Sheesh yes I forgot to say that I set the environment and open the db handle in startup.pl. If I set the environment in startup.pl but open the db handle in my perl handler every time the page is accessed the performance drops by about 300%, but it does make the errors go away. Chris -

Re: BerkeleyDB with mod perl

2004-04-22 Thread Perrin Harkins
On Thu, 2004-04-22 at 16:27, William McKee wrote: My gut reaction is Yes, this makes sense. However, I'm scratching my head trying to understand why. There are file handles involved. You can't fork with an open file and expect to be able to do things with it from each process, at least not

Re: BerkeleyDB with mod perl

2004-04-22 Thread Perrin Harkins
On Thu, 2004-04-22 at 16:34, Chris Ochs wrote: If I set the environment in startup.pl but open the db handle in my perl handler every time the page is accessed the performance drops by about 300%, but it does make the errors go away. There is no need to open the handle every time. You can

Re: BerkeleyDB with mod perl

2004-04-22 Thread Chris Ochs
Yep sticking it in a global and handling it like Apache::DBI works. - Original Message - From: Perrin Harkins [EMAIL PROTECTED] To: Chris Ochs [EMAIL PROTECTED] Cc: Modperl List [EMAIL PROTECTED] Sent: Thursday, April 22, 2004 1:36 PM Subject: Re: BerkeleyDB with mod perl On Thu,

cvs commit: modperl-2.0/t/conf modperl_extra.pl

2004-04-22 Thread stas
stas2004/04/22 13:00:02 Modified:t/conf modperl_extra.pl Log: as of 5.8.4 when spawning ithreads we get an annoying Attempt to free unreferenced scalar ... perlbug #24660 because of $gtop's CLONE'd object, so skip it for now Revision ChangesPath 1.43 +11

cvs commit: modperl-2.0/t/conf modperl_extra.pl

2004-04-22 Thread stas
stas2004/04/22 14:36:11 Modified:t/conf modperl_extra.pl Log: perlbug #24660 affects any threaded perl that spawns threads, not only threaded mpm. disable creating of gtop objects for ithreads enabled perl Revision ChangesPath 1.44 +5 -9

cvs commit: modperl-2.0/t/response/TestVhost config.pm

2004-04-22 Thread stas
stas2004/04/22 15:30:56 Modified:.Changes ModPerl-Registry/t/conf extra.conf.in t/conf extra.conf.in t/response/TestDirective perlrequire.pm t/response/TestPerl ithreads.pm t/response/TestVhost

cvs commit: modperl-2.0/t/conf extra.conf.in

2004-04-22 Thread stas
stas2004/04/22 15:54:09 Modified:t/conf extra.conf.in Log: spelling Revision ChangesPath 1.11 +2 -2 modperl-2.0/t/conf/extra.conf.in Index: extra.conf.in === RCS file:

cvs commit: modperl-2.0 Changes

2004-04-22 Thread stas
stas2004/04/22 16:14:32 Modified:src/modules/perl modperl_util.h t/protocol/TestProtocol echo.pm xs/APR/Socket APR__Socket.h xs/tables/current/ModPerl FunctionTable.pm .Changes Log: go back to the croak-on-error