On 15 Aug 2001, Joe Schaefer wrote:
Nick Tonkin [EMAIL PROTECTED] writes:
I'm trying to install libapreq on a new box on which I've rolled an
apache-mod_ssl-openssl combo.
^^
If you have, the
include directories (-I) that apreq uses to find the header files
Hello,
RHI get the following error on
RHmy $i = Apache::Request-instance($r);
RH
RHCan't locate object method instance via package Apache::Request
Just to avoid the whoops factor: make sure you have use Apache::Request
in your script, too. This can also cause the error you are reporting.
Stas Bekman wrote:
No need for an apology :-) The trick is to build perl using the
Solaris malloc (-Dusemymalloc as a flag to Configure), then apache,
mod_perl and perl all agree on who manages memory.
Might I suggest that this golden piece of information find it's way into the
On Thu, 16 Aug 2001, Alan Burlison wrote:
Stas Bekman wrote:
No need for an apology :-) The trick is to build perl using the
Solaris malloc (-Dusemymalloc as a flag to Configure), then apache,
mod_perl and perl all agree on who manages memory.
Might I suggest that this golden
Thanks very much to all of you. I've upgraded my perl distro to 5.6.1 and
recompiled everything and the children stopped dying.
Alex
On Thu, 16 Aug 2001, Stas Bekman wrote:
The definitive answer is there for at least 2 years: If in doubt compile
statically, which covers Solaris as well. Why having a special case?
because solaris is a special case. as is any platform where perl defaults
to using its own malloc. the
On Thu, 16 Aug 2001, Stas Bekman wrote:
Currently what I've is:
* How do I build on Solaris with DSO?
= Build perl and mod_perl using the system malloc
that should be any platform where perl defaults to using its own malloc,
that is, if:
% perl -V:usemymalloc
reports:
usemymalloc='y'
On Thu, Aug 16, 2001 at 09:35:43AM -0700, Doug MacEachern wrote:
that should be any platform where perl defaults to using its own malloc,
that is, if:
% perl -V:usemymalloc
reports:
usemymalloc='y'
which is fine if:
% perl -V:bincompat5005
reports:
bincompat5005='undef';
but the
Hi there,
On Wed, 15 Aug 2001, Philip Mak wrote:
When I have multiple virtual hosts running Apache::ASP (mod_perl), do they
need to run their own instance of Apache?
If one Apache is listening to port 80 then no others can. This is why
you will get an error message when you try to start an
On Thu, 16 Aug 2001, Alex Povolotsky wrote:
This is perl, v5.6.1 built for sun4-solaris
# perl -V:usemymalloc
usemymalloc='n';
that's fine.
Seems like I'm suffering from dying children problem... My main apache
dies sometimes, bringing neraly everything (well, except
server-status)
On Thu, Aug 16, 2001 at 06:47:23PM +0100, Ged Haywood wrote:
Hi there,
On Wed, 15 Aug 2001, Philip Mak wrote:
When I have multiple virtual hosts running Apache::ASP (mod_perl), do they
need to run their own instance of Apache?
If one Apache is listening to port 80 then no others can.
This feature is present when compiling under rh 7.1. With rh 6.2 there
is no problem. This seems to be related as you have said to the glibc
version. I compiled on rh 6.2 and move the httpd binary on rh 7.1 and
there was no problem with readdir anymore.
On Thu, 26 Apr 2001, Lincoln
Stein wrote:
Hi there,
On Thu, 16 Aug 2001, Jonathan Edwards wrote:
Related to this topic, I have a question about multiple instances of Apache.
We run two mod_perl enabled sites on two separate IPs. These sites rely on
mod_perl heavily. Each site has a unique perl script that handles just about
No need for an apology :-) The trick is to build perl using the
Solaris malloc (-Dusemymalloc as a flag to Configure), then apache,
mod_perl and perl all agree on who manages memory.
Might I suggest that this golden piece of information find it's
way into the guide? It's so rare
On Thu, Aug 16, 2001 at 12:13:37PM -0600, Jonathan Edwards wrote:
Related to this topic, I have a question about multiple instances of Apache.
We run two mod_perl enabled sites on two separate IPs. These sites rely on
mod_perl heavily. Each site has a unique perl script that handles just about
-Original Message-
From: Rob Bloodgood [mailto:[EMAIL PROTECTED]]
Sent: Thursday, August 16, 2001 11:20 AM
To: Stas Bekman
Cc: mod_perl
Subject: RE: Children dying
sigh... I didn't see the other thread that spawned from my orignal post...
rendering this reply redundant. Apologies.
How many apache children do you normally have running at any given time?
Apache is set to:
MaxKeepAliveRequests 200
KeepAliveTimeout 15
MinSpareServers 5
MaxSpareServers 10
StartServers 10
MaxClients 512
MaxRequestsPerChild 200
Is that to say that the max number of children is 20 (StartServers
I am getting out of memory error message in my error log. Can any one
suggest a way in finding this memory leak?
Thanks in advance...
-r
PS: it is a simple update of a record but I get:
Out of memory during large request for 536875008 bytes...
God help me :(
On Thu, 16 Aug 2001 14:24:50 -0400
Dave Baker [EMAIL PROTECTED] wrote:
Compare the memory requirement two sets of perl scripts against the
memory requirement of doubling the total number of apache processes.
My personal opinion is that the latter will be a lot more expensive in
resources.
[EMAIL PROTECTED] wrote:
Rasoul Hajikhani writes:
Yes. It has three gig of ram. Is Template Toolkit memory intensive? I
was told that the swap was turned off on that machine.
Swap was completly turned off? That isn't good... should have a
small amount of swap... You may be asking
On Thu, 16 Aug 2001, Philip Mak wrote:
Hi,
I have two mod_perl programs on my site. One is in the directory inr2,
and the other is in the directory otherinr2.
These mod_perl programs have exactly the same code. Both of them do:
use cfg;
where cfg.pm is a file that's in both inr2 and
On Sun, Aug 12, 2001 at 10:17:32AM -0400, Barrie Slaymaker wrote:
On Sat, Aug 11, 2001 at 08:58:00AM -0600, The Doctor wrote:
Hopefully this will point you in the right direction. I would need more
data to figure it all out. As a next step, can you find the locations
of the perls in
On Sun, Aug 12, 2001 at 07:18:11PM -0400, Barrie Slaymaker wrote:
On Sun, Aug 12, 2001 at 03:55:26PM -0600, The Doctor wrote:
When I ran perl 5.6.1 it was identifying itself as perl 5.6.0 .
Identity crisis??
Dunno, but you can bet it's not right. Care to post the command and
results?
Hi there,
On Thu, 16 Aug 2001, Jonathan Edwards wrote:
Apache is set to:
StartServers 10
MaxClients 512
Is that to say that the max number of children is 20 (StartServers +
MaxSpareServers) or 512 (MaxClients)
MaxClients. But if you have 10M unshared in each child and only 500M
of RAM
On Mon, Aug 13, 2001 at 11:25:50AM +0800, Stas Bekman wrote:
On Sun, 12 Aug 2001, Barrie Slaymaker wrote:
On Sun, Aug 12, 2001 at 08:39:09AM -0600, The Doctor wrote:
/usr/libdata/perl5/i386-bsdos/Config.pm
so this is fine, on linux this is called /i{3|4|5|6}86-linux/ whereas on
I have two mod_perl programs on my site. One is in the directory inr2,
and the other is in the directory otherinr2.
These mod_perl programs have exactly the same code. Both of them do:
use cfg;
where cfg.pm is a file that's in both inr2 and otherinr2, but it's
different in these
At 4:02 PM -0600 8/16/01, The Doctor wrote:
On Sun, Aug 12, 2001 at 10:17:32AM -0400, Barrie Slaymaker wrote:
On Sat, Aug 11, 2001 at 08:58:00AM -0600, The Doctor wrote:
Hopefully this will point you in the right direction. I would need more
data to figure it all out. As a next step, can
Weirdly perl5.6.1 -V thinks it is perl 5.6.0 ?-S
Please paste the entire output of perl5.6.1 -V so that we can see
what's wrong.
Thanks,
Here it comes:
Script started on Thu Aug 16 16:12:49 2001
doctor.nl2k.ab.ca//usr/libdata$ find . -name \*Config.pm\* -print
./perl5/CPAN/Config.pm~
I have two mod_perl programs on my site. One is in the directory inr2,
and the other is in the directory otherinr2.
These mod_perl programs have exactly the same code. Both of them do:
use cfg;
where cfg.pm is a file that's in both inr2 and otherinr2, but it's
different in these
Thank you, much better. I can't make out the difference between the two
command lines (again, I ask you to please clean up your script output,
or just copy and paste from your terminal to your mailer, those ^Hs and
^]s make things hard to decipher).
Can you do a type perl perl5.6.0 perl5.6.1,
On Thu, Aug 16, 2001 at 04:10:16PM -0600, The Doctor wrote:
And that is a perl issue, but people around here are trying to be more
helpful that the perl lot.
Ofcourse people here are also a 'perl lot', so take care. We're only
concentrating on one aspect of perl, that related to Apache.
On Thu, Aug 16, 2001 at 06:39:19PM -0400, Barrie Slaymaker wrote:
Thank you, much better. I can't make out the difference between the two
command lines (again, I ask you to please clean up your script output,
or just copy and paste from your terminal to your mailer, those ^Hs and
^]s make
My apache server does not start up when I add
PerlModule B::TerseSize
to the httpsd.conf file. Or any PerlModule flag. Any one can tell me
why? I am trying to determine a leakage in my script...
thanks
-r
My apache server does not start up when I add
PerlModule B::TerseSize
to the httpsd.conf file. Or any PerlModule flag. Any one can tell me
why? I am trying to determine a leakage in my script...
Do you have B::TerseSize installed on your system? It's not a standard
module. Check your
I have learned recently(and the original poster as well) that despite two
files having different file names, and doing a require
/full/path/to/file.pl, modperl will only compile the file once because
they
both have the same package name.
No, I don't think that's correct. Perl will compile
On Thu, 16 Aug 2001 10:38:56 -0700 Ged Haywood wrote:
On Wed, 15 Aug 2001, Nick Tonkin wrote:
Somehow they are not getting setup right.
Yeah, no kidding, Joe.
He's only trying to help. :)
Yes, you're right. Please accept my apology to you, Joe, for my
gracelessness.
However,
On Thu, 16 Aug 2001, Nick Tonkin wrote:
( In the absence of any better ideas at this time, I'm gonna nuke
/usr/local/lib/perl5 completely and see what happens if I start over
again. )
On FreeBSD, better do a new installation of perl somewhere else
(/home/perl, /usr/local/perl/, ...
NT == Nick Tonkin [EMAIL PROTECTED] writes:
NT And especially why the weird error:
NT root@wm-server /tmp/libapreq-0.33make
NT Making all in c
NT Makefile, line 278: Need an operator
Are you on a BSD system? The make is probably incompatible. GNU make
(the default on Linux) uses different
NT And especially why the weird error:
NT root@wm-server /tmp/libapreq-0.33make
NT Making all in c
NT Makefile, line 278: Need an operator
Are you on a BSD system? The make is probably incompatible. GNU make
(the default on Linux) uses different syntax for some things. If
you're not
dougm 01/08/16 10:24:57
Modified:t/apache read.t
Log:
force http; test doesnt work witih t/TEST -ssl
Revision ChangesPath
1.2 +3 -0 modperl-2.0/t/apache/read.t
Index: read.t
===
RCS
dougm 01/08/16 20:51:37
Modified:t/response/TestAPI server_rec.pm
Log:
fix api/server_rec when running under t/TEST -ssl
Revision ChangesPath
1.3 +1 -1 modperl-2.0/t/response/TestAPI/server_rec.pm
Index: server_rec.pm
dougm 01/08/16 20:58:11
Modified:t/filter input_msg.t
Log:
force http scheme since ssl is not listening on this vhost port
Revision ChangesPath
1.3 +1 -0 modperl-2.0/t/filter/input_msg.t
Index: input_msg.t
dougm 01/08/16 21:07:45
Modified:t/response/TestAPI aplog.pm
Log:
loglevel setting not working under t/TEST -ssl (not sure if this is a bug of feature)
Revision ChangesPath
1.6 +5 -1 modperl-2.0/t/response/TestAPI/aplog.pm
Index: aplog.pm
43 matches
Mail list logo