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/, ... wha
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.
Ho
NAME
Apache::DBILogConfig - Logs access information in a DBI
database
CHANGES
0.02 Thu Aug 16 22:17:00 2001
- Fixed error in parsing of DBILogConfig_log_format that caused things
to break when whitespace was used in parameters.
- Added support for the
--
I am trying to use mod_perl and a startup.pl file with cache lib
references (referenced in the httpd.conf) to speed up my cgis.
## This seems to be just a warning that something has changed. Is that right?
[Thu Aug 16 17:47:49 2001] Apache.pm: Subroutine Apache::WRITE
redefined at /Syst
If you use/require with the path as Perrin suggested, these libs will
compile in separately. One caveat, watch for clashing of exported symbols.
My personal preference is to call a config routine from a single package
that returns the desired info.
# file: foo/same_name.pl
use My::Configuration
> 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 comp
> 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
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
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
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.
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",
> > 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
> > d
>
> > >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
>./
On Thu, Aug 16, 2001 at 05:20:07PM -0400, Philip Mak wrote:
> But the code in "otherinr2" is getting the cfg.pm from "inr2" since they
> have the same filename and relative paths. How can I make the "use"
> command not act braindead about this? Is there a CPAN module that I can
> import to overloa
At 3:21 PM -0400 8/16/01, Robert Landrum wrote:
>Sorry for the slightly OT post...
>
>I found something interesting when playing with virtual hosts.
>
>We host anesthesiasafety.net as a virtual host along with serveral
>other domains and some of our users are typing ANESTHESIASAFTY.NET
>and it's
On Thu, Aug 16, 2001 at 06:11:49PM -0400, Robert Landrum wrote:
> 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 d
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
> 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 the
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/
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
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
>
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 q
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 i
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 directories.
> NT> And especially why the weird error:
>
> NT> root@wm-server /tmp/libapreq-0.33>make
> 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.
> "NT" == Nick Tonkin <[EMAIL PROTECTED]> writes:
NT> And especially why the weird error:
NT> root@wm-server /tmp/libapreq-0.33>make
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) u
http://sourceforge.net/project/showfiles.php?group_id=10914&release_id=48507
aphid downloads, compiles, and installs a secure Apache and Perl development
"sandbox" anywhere on a unix system where the user has permission to
write and enough space to store a complete system (around 300MB). The b
Sorry for the slightly OT post...
I found something interesting when playing with virtual hosts.
We host anesthesiasafety.net as a virtual host along with serveral
other domains and some of our users are typing ANESTHESIASAFTY.NET
and it's not matching in the "ServerAlias"es Is there a c
[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 b
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
> resou
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 :(
> 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
Lincoln Stein developed a very useful module for doing both Basic and
Digest user/password management. Titled HTTPD-User-Manage-1.58
I believe it is still available as:
http://www.genome.wi.mit.edu/~lstein/user_manage/user_manage.tar.gz
Check it out. I like it, anyway.
YMMV.
Peace.
> -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
... I didn't see the other thread that spawned from my orignal post...
rendering this reply redundant. Apologies
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 abo
> > > 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?
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
> ever
Hi there,
On Thu, 16 Aug 2001, Dave Baker wrote:
> On Thu, Aug 16, 2001 at 06:47:23PM +0100, Ged Haywood wrote:
> > If one Apache is listening to port 80 then no others can.
> Only one instance of apache can bind to the same port *on the same IP*.
Oops. Yes of course, I should have said...
73
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
everything. Currently, we only have one instance of Apache running, a
Hi there,
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. :)
> Anyone have any ideas how to set things up right?
Well it's a long shot from a great distance, but I wonder if you have
compiled everythi
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
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 ot
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-sta
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, 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';
>
>
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, 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 pr
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, 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 sugge
This is the last time I am replying on this topic to the list it has
gone way OT. But I would like to clarify. CPAN doesnt exactly force you
to upgrade everything on the planet but yes some modules depend on
features available in other modules only after a certain version number.
Yes as has been d
50 matches
Mail list logo