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
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
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
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
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
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/
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
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.
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.
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
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
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
> 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
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
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
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
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
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
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
-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
20 matches
Mail list logo