[mp1] 'make' fails with APACI_ARGS='--show-layout'

2004-01-08 Thread Joseph Turian
Fresh mod_perl 1.29 and apache-1.3.27 source fails on 'make' if, when mod_perl is being configured, '--show-layout' is passed to Apache. e.g. if I configure with: perl Makefile.PL APACHE_SRC=../apache_1.3.27/ DO_HTTPD=1 USE_APACI=1 EVERYTHING=1 APACI_ARGS='--show-layout' Then the 'make' will bre

Apache::Resource/RLIMIT_AS problem

2004-01-08 Thread Trevor Phillips
I used to use Apache::Resource to stop runaway apache daemons from impacting the system, but stopped using it when I made some pretty major mods to my Apache config (involving replacing large chunks of traditional config with blocks). After that, Apache::Resource stopped working. More to the p

Re: ithreads with modperl

2004-01-08 Thread Perrin Harkins
On Thu, 2004-01-08 at 20:22, Simon Clewer wrote: > Huge memory usage ... each ithread uses about 10M of ram ( image of Apache, > image of mod perl and image of our deep-link robot ), and as we use 5 > ithreads plus the original thread that means that each Apache is using 60 M > and because we trad

ithreads with modperl

2004-01-08 Thread Simon Clewer
Hi, We're using ithreads with modperl to run some complicated robots concurrently ( in a commercial environment ) - there is however an issue. Huge memory usage ... each ithread uses about 10M of ram ( image of Apache, image of mod perl and image of our deep-link robot ), and as we use 5 ithread

Re: mod_perl2 (ModPerl::Registry) crashes httpd if request-object is used in a subroutine

2004-01-08 Thread Perrin Harkins
On Thu, 2004-01-08 at 16:34, Stas Bekman wrote: > But since we expect most modules to run under any MPM, it usually applies to > any code. Any code that you plan to release on CPAN, that is. It's still okay in internal code when you know you won't be running threaded MPMs. - Perrin -- Report

Re: [mp2) mp1.99_12 fails 9/18 in apache_file.t

2004-01-08 Thread Jay R. Ashworth
On Thu, Jan 08, 2004 at 02:28:13PM -0500, Geoffrey Young wrote: > $ make test TEST_VERBOSE=1 TEST_FILES=t/compat/apache_file I just re-ran: make test TEST_VERBOSE=1 TEST_FILES="compat/apache_file" (I note a discrepancy between mine and yours; mine matches the example on: http://perl.apache.org/

Re: mod_perl2 (ModPerl::Registry) crashes httpd if request-object is used in a subroutine

2004-01-08 Thread Stas Bekman
Perrin Harkins wrote: [...] Moreover I've read that Apache->request should be avoided in mod_perl2: http://perl.apache.org/docs/2.0/user/porting/compat.html#C_Apache_E_gt_request_ That only applies to threaded MPMs, and modules you release that others might want to run under threaded MPMs. But si

Re: [mp2) mp1.99_12 fails 9/18 in apache_file.t

2004-01-08 Thread Jay R. Ashworth
On Thu, Jan 08, 2004 at 02:28:13PM -0500, Geoffrey Young wrote: > > What I got, you've got. It didn't look right to *me* either, but I ran > > the verbose the way the page said to, and that's what I pasted in as 5. > > 5 shows the error_log, which is both what is asked for and what you presented.

Re: mod_perl2 (ModPerl::Registry) crashes httpd if request-object is used in a subroutine

2004-01-08 Thread Perrin Harkins
On Thu, 2004-01-08 at 15:43, Alexander Bergolth wrote: > Why do I create a closure? If i'd create a closure I would have to store > a reference to an _anonymous sub No, that's a common misconception. Closures and anonymous subs are two totally separate things, although they can be used together.

Re: mod_perl2 (ModPerl::Registry) crashes httpd if request-object is used in a subroutine

2004-01-08 Thread Alexander Bergolth
On 01/08/04 19:15, Perrin Harkins wrote: Alexander Bergolth wrote: When I'm using the request-object in a subroutine without having passed it to the sub as a parameter, the apache child processes die with a segmentation fault when being reused. Well, it probably shouldn't segfault, but you can't

Re: [mp2) mp1.99_12 fails 9/18 in apache_file.t

2004-01-08 Thread Geoffrey Young
Jay R. Ashworth wrote: > On Thu, Jan 08, 2004 at 01:56:33PM -0500, Geoffrey Young wrote: > >>>Did I get enough detail in the inital report *this* time, Stas? >> >>the output from >> >>$ t/TEST t/compat/apache_file -v >> >>would be most helpful >> >>:) > > > What I got, you've got. It didn't l

Re: [mp2) mp1.99_12 fails 9/18 in apache_file.t

2004-01-08 Thread Jay R. Ashworth
On Thu, Jan 08, 2004 at 01:56:33PM -0500, Geoffrey Young wrote: > > Did I get enough detail in the inital report *this* time, Stas? > > the output from > > $ t/TEST t/compat/apache_file -v > > would be most helpful > > :) What I got, you've got. It didn't look right to *me* either, but I ran

Re: [mp2) mp1.99_12 fails 9/18 in apache_file.t

2004-01-08 Thread Geoffrey Young
> Did I get enough detail in the inital report *this* time, Stas? the output from $ t/TEST t/compat/apache_file -v would be most helpful :) --geoff -- Reporting bugs: http://perl.apache.org/bugs/ Mail list info: http://perl.apache.org/maillist/modperl.html

Re: mod_perl2 (ModPerl::Registry) crashes httpd if request-object is used in a subroutine

2004-01-08 Thread Perrin Harkins
Alexander Bergolth wrote: When I'm using the request-object in a subroutine without having passed it to the sub as a parameter, the apache child processes die with a segmentation fault when being reused. Well, it probably shouldn't segfault, but you can't do that. You are creating a closure whic

Re: Mod_perl aware web host providers

2004-01-08 Thread Richard F. Rebel
Springboard Hosting in Raleigh/Durham has provided my past employer as well as other current business associates this type of service for a few years now. They have hosted 40 and 50 machines that my department was responsible for. All Solaris/Linux apache/mod_perl mysql stuff. They are very fle

Mod_perl aware web host providers

2004-01-08 Thread Kurt Hansen
Hello, I am looking for a linux & mod_perl aware, high quality web host provider for 4 colocated/dedicated machines plus one router/firewall. By high quality I mean one with very high network connectivity -- 1 or fewer outages greater than 15 minutes between 8AM-8PM Eastern Time/year -- and re

Re: About Authenticate Dialog

2004-01-08 Thread Geoffrey Young
Kai wrote: > Hi List, > I am a newbie. > I don't know howto invoke the following subroutine to complete > authenticate. > Would you give me a whole sample? see recipe 13.3 in the mod_perl developer's cookbook http://www.modperlcookbook.org/chapters/ch13.pdf as well as the many other books a

mod_perl2 (ModPerl::Registry) crashes httpd if request-object is used in a subroutine

2004-01-08 Thread Alexander Bergolth
Hi! I'm suffering from the following problem: When I'm using the request-object in a subroutine without having passed it to the sub as a parameter, the apache child processes die with a segmentation fault when being reused. If httpd is started with prefork and StartServers 8, the first 8 request

About Authenticate Dialog

2004-01-08 Thread Kai
Hi List, I am a newbie. I don't know howto invoke the following subroutine to complete authenticate. Would you give me a whole sample? Thanx a lot ! > sub handler { > my ($r) = shift; > > my ($res, $password) = ($r->get_basic_auth_pw); > return $res if $res;#decline if not B

Re: [mp1] signal handler for USR2 in startup.pl doesn't work

2004-01-08 Thread Torsten Foertsch
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On Wednesday 07 January 2004 23:10, Gary Denslow wrote: > this is working for me. thanks for the suggestion! > > use POSIX; > > my $sigset = POSIX::SigSet->new(); > my $action = POSIX::SigAction->new( > 'sigUSR2_handler', > $sigset, > &POS