You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@perl.apache.org by Stas Bekman <st...@stason.org> on 2004/11/27 21:03:02 UTC

[mp2 workier] t/api/internal_redirect.t hangs

Just updated my httpd-2.0 build -  t/api/internal_redirect.t now hangs. 
Even if I try to raise the number of threads/maxclients... it works fine 
with httpd-2.0 prefork.

-- 
__________________________________________________________________
Stas Bekman            JAm_pH ------> Just Another mod_perl Hacker
http://stason.org/     mod_perl Guide ---> http://perl.apache.org
mailto:stas@stason.org http://use.perl.org http://apacheweek.com
http://modperlbook.org http://apache.org   http://ticketmaster.com

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@perl.apache.org
For additional commands, e-mail: dev-help@perl.apache.org


Re: [mp2 workier] t/api/internal_redirect.t hangs

Posted by Stas Bekman <st...@stason.org>.
Stas Bekman wrote:
> Joe Schaefer wrote:
> 
>> Stas Bekman <st...@stason.org> writes:
>>
>>
>>> Actually all sub-request, internal redirect tests hang. And the same
>>> with httdpd-2.1/worker.
>>
>>
>>
>> I get hanging tests also.  The tipping point for me was
>> revision 106655 of the modperl repository   (106596 tests ok):
> 
> 
> Wow, thanks Joe. Too bad I've rushed to ask httpd-dev :) I'll look at this.
> 
> Hopefully tinderboxes will be up soon so we will discover the guilty 
> change immediately.
> 
>> -<IfDefine PERL_ITHREADS>
>> +<IfDefine PERL_USEITHREADS>

The problem was in having:

     <IfDefine PERL_USEITHREADS>
         PerlInterpScope handler
     </IfDefine>

on the top level, instead of having it inside the relevant <Location> 
block. Now fixed.

-- 
__________________________________________________________________
Stas Bekman            JAm_pH ------> Just Another mod_perl Hacker
http://stason.org/     mod_perl Guide ---> http://perl.apache.org
mailto:stas@stason.org http://use.perl.org http://apacheweek.com
http://modperlbook.org http://apache.org   http://ticketmaster.com

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@perl.apache.org
For additional commands, e-mail: dev-help@perl.apache.org


Re: [mp2 workier] t/api/internal_redirect.t hangs

Posted by Stas Bekman <st...@stason.org>.
Joe Schaefer wrote:
> Stas Bekman <st...@stason.org> writes:
> 
> 
>>Actually all sub-request, internal redirect tests hang. And the same
>>with httdpd-2.1/worker.
> 
> 
> I get hanging tests also.  The tipping point for me was
> revision 106655 of the modperl repository   (106596 tests ok):

Wow, thanks Joe. Too bad I've rushed to ask httpd-dev :) I'll look at this.

Hopefully tinderboxes will be up soon so we will discover the guilty 
change immediately.

> -<IfDefine PERL_ITHREADS>
> +<IfDefine PERL_USEITHREADS>


-- 
__________________________________________________________________
Stas Bekman            JAm_pH ------> Just Another mod_perl Hacker
http://stason.org/     mod_perl Guide ---> http://perl.apache.org
mailto:stas@stason.org http://use.perl.org http://apacheweek.com
http://modperlbook.org http://apache.org   http://ticketmaster.com

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@perl.apache.org
For additional commands, e-mail: dev-help@perl.apache.org


Re: [mp2 workier] t/api/internal_redirect.t hangs

Posted by Joe Schaefer <jo...@sunstarsys.com>.
Stas Bekman <st...@stason.org> writes:

> Actually all sub-request, internal redirect tests hang. And the same
> with httdpd-2.1/worker.

I get hanging tests also.  The tipping point for me was
revision 106655 of the modperl repository   (106596 tests ok):

$ svn diff --revision 106596:106655
Index: t/response/TestApache/cgihandler.pm
===================================================================
--- t/response/TestApache/cgihandler.pm (revision 106596)
+++ t/response/TestApache/cgihandler.pm (revision 106655)
@@ -41,6 +41,6 @@
 1;
 __END__
 SetHandler perl-script
-<IfDefine PERL_ITHREADS>
+<IfDefine PERL_USEITHREADS>
     PerlInterpScope handler
 </IfDefine>
Index: t/response/TestModperl/setupenv.pm
===================================================================
--- t/response/TestModperl/setupenv.pm  (revision 106596)
+++ t/response/TestModperl/setupenv.pm  (revision 106655)
@@ -181,7 +181,7 @@

     KeepAlive On

-    <IfDefine PERL_ITHREADS>
+    <IfDefine PERL_USEITHREADS>
         PerlInterpScope connection
     </Ifdefine>


-- 
Joe Schaefer


---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@perl.apache.org
For additional commands, e-mail: dev-help@perl.apache.org


Re: [mp2 workier] t/api/internal_redirect.t hangs

Posted by Stas Bekman <st...@stason.org>.
Stas Bekman wrote:
> Just updated my httpd-2.0 build -  t/api/internal_redirect.t now hangs. 
> Even if I try to raise the number of threads/maxclients... it works fine 
> with httpd-2.0 prefork.

Actually all sub-request, internal redirect tests hang. And the same with 
httdpd-2.1/worker.

-- 
__________________________________________________________________
Stas Bekman            JAm_pH ------> Just Another mod_perl Hacker
http://stason.org/     mod_perl Guide ---> http://perl.apache.org
mailto:stas@stason.org http://use.perl.org http://apacheweek.com
http://modperlbook.org http://apache.org   http://ticketmaster.com

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@perl.apache.org
For additional commands, e-mail: dev-help@perl.apache.org


Re: [mp2 workier] t/api/internal_redirect.t hangs

Posted by Randy Kobes <ra...@theoryx5.uwinnipeg.ca>.
On Sat, 27 Nov 2004, Stas Bekman wrote:

> Just updated my httpd-2.0 build -  t/api/internal_redirect.t now hangs.
> Even if I try to raise the number of threads/maxclients... it works fine
> with httpd-2.0 prefork.

I find that too on Win32.

-- 
best regards,
randy

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@perl.apache.org
For additional commands, e-mail: dev-help@perl.apache.org