Re: [mp2] including a Win32 apxs?

2003-11-05 Thread Stas Bekman
Randy Kobes wrote: Hi, I was wondering how it would be felt to include an offer in mp2 to get a Win32 version of apxs, if this was not detected. There's a tar.gz archive on perl.apache.org that contains this (plus apr-config and apu-config), so it would be a matter of fetching and extracting this

[mp2] including a Win32 apxs?

2003-11-05 Thread Randy Kobes
Hi, I was wondering how it would be felt to include an offer in mp2 to get a Win32 version of apxs, if this was not detected. There's a tar.gz archive on perl.apache.org that contains this (plus apr-config and apu-config), so it would be a matter of fetching and extracting this, then running the

perl-5.8.2 is out, getting ready to release mp-1.99_11

2003-11-05 Thread Stas Bekman
perl-5.8.2, which means that we need to make a new mod_perl 2 release (older versions may have problems with 5.8.2) asap. Once I'm done with fixing the read() and PerlIOApache_read() functions I'll start preparing the 1.99_11 candidate so if there is anything urgent that you want to be fixed in

controlling the timeout of server start in Apache-Test

2003-11-05 Thread Stas Bekman
The thing that triggered my recent post about the ridiculously slow perl_clone is that my smoke tests almost always fail to run the worker mpm, if my machine is busy running some other heavy tasks at the same moment. 60 secs is just not enough to start the worker server's test suite under utiliz

Re: [mp2] perl_clone takes 5 and more seconds to complete

2003-11-05 Thread Perrin Harkins
On Wed, 2003-11-05 at 09:37, Vivek Khera wrote: > Well, that would make for an argument to scale your hardware to match > your expectations and load. You can't make your hardware run more > than 100% unless you switch worlds over to Star Trek... Not even: "I can't change the laws of physics, Capt

Re: [mp2] perl_clone takes 5 and more seconds to complete

2003-11-05 Thread Elizabeth Mattijsen
At 09:37 -0500 11/5/03, Vivek Khera wrote: > "SB" == Stas Bekman <[EMAIL PROTECTED]> writes: SB> Where does this bring us? When a new request is coming in and all SB> interpreters are busy and the pool quota is not full, a new SB> interepreter will be cloned. And your request will be served i

Re: [mp2] perl_clone takes 5 and more seconds to complete

2003-11-05 Thread Vivek Khera
> "SB" == Stas Bekman <[EMAIL PROTECTED]> writes: SB> Where does this bring us? When a new request is coming in and all SB> interpreters are busy and the pool quota is not full, a new SB> interepreter will be cloned. And your request will be served in SB> 6-10 secs instead of 50msecs. Now ima

Re: [mp2] MP_HAVE_APR_LIBS?

2003-11-05 Thread Stas Bekman
Randy Kobes wrote: [...] That should be: +my $ext = WIN32 ? '.bat' : ''; ... +map { qq{$apr_bindir/$_-config$ext} } qw(apr apu); $opt_define = '-DMP_HAVE_APR_LIBS' if @apr_libs; } Thanks, Stas - I've made that change about the extension, and committed it. Works fi

Re: saving the 'here is how to report bugs' cycle

2003-11-05 Thread Stas Bekman
Geoffrey Young wrote: Here it is. Now each project using Apache::Test can easily supply its own function to be executed on 't/TEST' failure. In the case of mod_perl we just print: ++ | Please file a bug report: http://perl.apache.org/bugs/

Re: [mp2] perl_clone takes 5 and more seconds to complete

2003-11-05 Thread Stas Bekman
Hmm, sent to the old address Arthur Bergman <[EMAIL PROTECTED]> Rafael Garcia-Suarez wrote: Stas Bekman wrote: The problem is that it's not under our control. The slow part is perl_clone, which is a perl API. It's slow because it takes time to clone all the non-mutable data. Nick has been worki

Re: [mp2] perl_clone takes 5 and more seconds to complete

2003-11-05 Thread Stas Bekman
Elizabeth Mattijsen wrote: At 11:40 -0800 11/4/03, Stas Bekman wrote: The only bright side I can see at the moment is that most people won't have 150 modules loaded. But 50 modules will scale bad enough. Agree. Which is why I think you really will have to know what you're doing if you want to

Re: [mp2] perl_clone takes 5 and more seconds to complete

2003-11-05 Thread Stas Bekman
Rafael Garcia-Suarez wrote: Stas Bekman wrote: The problem is that it's not under our control. The slow part is perl_clone, which is a perl API. It's slow because it takes time to clone all the non-mutable data. Nick has been working on COW (Copy-On-Write), but from his reports it doesn't seem

Re: [mp2] MP_HAVE_APR_LIBS?

2003-11-05 Thread Randy Kobes
On Tue, 4 Nov 2003, Stas Bekman wrote: > Randy Kobes wrote: [ .. ] > > Thanks, Stas! I don't know how I missed that ... Anyway, for > > Win32, the reason this didn't work (assuming the existence > > of the (apr|apu)-config scripts, is that a '.bat' extension > > is needed in the -x test. The follo

Re: [mp2] perl_clone takes 5 and more seconds to complete

2003-11-05 Thread Elizabeth Mattijsen
At 11:40 -0800 11/4/03, Stas Bekman wrote: The only bright side I can see at the moment is that most people won't have 150 modules loaded. But 50 modules will scale bad enough. Agree. Which is why I think you really will have to know what you're doing if you want to use mod_perl with a worker mp

Re: [mp2] perl_clone takes 5 and more seconds to complete

2003-11-05 Thread Rafael Garcia-Suarez
Stas Bekman wrote: > The problem is that it's not under our control. The slow part is perl_clone, > which is a perl API. It's slow because it takes time to clone all the > non-mutable data. Nick has been working on COW (Copy-On-Write), but from his > reports it doesn't seem to give much speedup

Re: [mp2] MP_HAVE_APR_LIBS?

2003-11-05 Thread Stas Bekman
Randy Kobes wrote: Would the following be correct? Good catch, Randy. I've missed it since it wasn't failing for me. You can't use fprintf without perl context, since it redefines it to use PerlIO_printf as you have noticed. So yes, it's better to directly use that function ;) =

Re: [mp2] MP_HAVE_APR_LIBS?

2003-11-05 Thread Stas Bekman
Randy Kobes wrote: On Tue, 4 Nov 2003, Stas Bekman wrote: Randy Kobes wrote: Hi, It'll probably be obvious, but I've been trying to see how MP_HAVE_APR_LIBS gets defined for use in xs/APR/APR.xs, in order to see if a working version can be done for Win32. Could someone point me in the general