Hi
I am trying to
install mod perl on the Apple OS X Server platform.
I can compile the
code OK, both as static and as a DSO but when I try to restart the apache
server, I get all sorts of errors.
example
:
dyld:
/usr/sbin/httpd multiple definitions of symbol
Hi there,
On Wed, 25 Apr 2001, David Campion wrote:
I am trying to install mod perl on the Apple OS X Server platform.
Best of luck!
example :
dyld: /usr/sbin/httpd multiple definitions of symbol _vhost_alias_module
/System/Library/Apache/Modules/mod_vhost_alias.so definition of
I recently began to experience many lingering
mod_perl processes which slow down my tcp connection.
I use Apache::Registry for all my mod_perl need.
Not the real handler.
The practical solution I found was to cut down the
number MaxRequestPerChild and kill off the processes
after a few
On Wed, 25 Apr 2001 [EMAIL PROTECTED] wrote:
I recently began to experience many lingering
mod_perl processes which slow down my tcp connection.
I use Apache::Registry for all my mod_perl need.
Not the real handler.
The practical solution I found was to cut down the
number
Hi there,
On Wed, 25 Apr 2001 [EMAIL PROTECTED] wrote:
like to know whether there is a compilation overhead if I set say
MaxRequestsPerChild 1 ??
http://perl.apache.org/guide
disk data ransfer rate will be order of magnitude less than if the
script were to remain in the memory all the
David Campion ([EMAIL PROTECTED]) said something to this effect on 04/25/2001:
I am trying to install mod perl on the Apple OS X Server platform.
I can compile the code OK, both as static and as a DSO but when I try to
restart the apache server, I get all sorts of errors.
example :
On Wed, Apr 25, 2001 at 12:10:01PM +0100, G.W. Haywood wrote:
Hi there,
On Wed, 25 Apr 2001 [EMAIL PROTECTED] wrote:
like to know whether there is a compilation overhead if I set say
MaxRequestsPerChild 1 ??
http://perl.apache.org/guide
I have read the guide cover to cover long ago
Thanks. I think that is what I really need :)
On Wed, Apr 25, 2001 at 08:19:21PM +0800, Stas Bekman wrote:
the two events contrudict and lead to the need to re-read the guide, and
especially this section:
http://perl.apache.org/guide/performance.html#Preloading_Registry_Scripts_at_S
:)
Hi,
I recently discovered the following on an Apache/mod_perl server.
I have Apache for win32, ActiveState's Perl and the mod_perl PPM installed
(on a Windows 2000 Pro OS, but read on anyway ;). All were downloaded and
installed last week so they are the latest versions.
Each time a page is
On Wed, 25 Apr 2001 [EMAIL PROTECTED] wrote:
In a different thread [EMAIL PROTECTED] said:
I have read the guide cover to cover long ago :)
In the other thread [EMAIL PROTECTED] has asked:
Not exactly sure how to preload these scripts. I have the following
the two events contrudict and
On Wed, Apr 25, 2001 at 07:19:25PM +0800, Stas Bekman wrote:
if I set say MaxRequestsPerChild 1 ??
Not if you preload your scripts at the server startup. But then you pay
the price of the time to spawn a new process, which has a very little
overhead under low load since Apache preforks
It sounds like you are globalising some variables and never freeing
them, to start with. You definitely need to run in strict and keep your
namespaces managed lest you have processes keep variables in Memory.
I've found that setting MaxRequestsPerChild in apache to a reasonable
amount minimises
A suggested new feature.
Apache-dso_module('mod_example.c') behaves like
Apache-module('mod_example.c') except it returns 1 if the
module is loaded as DSO, 0 if it's compiled in and undef
if it's not present at all.
I wrote this because of a few problems I had with the 'slight'
differences in
On Wed, Apr 25, 2001 at 10:02:06AM -0400, Brendan McAdams wrote:
Our application performance actually
improved across the board when we implements MaxRequests... (This
Do you have numbers to back this up? How does reading in a new
script every now and then IMPROVE anything compared to
Hello All,
I apologize if this is in a FAQ somewhere.
I have a script, lets call it test.pl. Test.pl requires in config.pl.
Test.pl uses variables (via use vars) from config.pl. These variables are
defined and given values in config.pl. AFter the first usage of test.pl,
the variables we are
http://perl.apache.org/guide/porting.html#Configuration_Files_Writing_Dy
Guide Good!
Warren D. Johnson wrote:
Hello All,
I apologize if this is in a FAQ somewhere.
I have a script, lets call it test.pl. Test.pl requires in config.pl.
Test.pl uses variables (via use vars) from
Kurt George Gjerde [EMAIL PROTECTED] writes:
Each time a page is downloaded the Apache service process claims more
memory. Well, not each time but like for every 20th download the task
manager shows Apache using 20-30K more...
A test showed that reloading the same page 2000 times raised
On Wed, 25 Apr 2001, Philippe M . Chiasson wrote:
A suggested new feature.
Apache-dso_module('mod_example.c') behaves like
Apache-module('mod_example.c') except it returns 1 if the
module is loaded as DSO, 0 if it's compiled in and undef
if it's not present at all.
I wrote this because
I have a rather large script I run through mod_perl and occasionally, I have
notice some users with stuck processes. It seems
like they are in some sort of infinite loop.
The CPU that the child is using is high, and the memory gradually grows until my
server would eventually start to
On Wed, 25 Apr 2001, Jason Terry wrote:
I have a rather large script I run through mod_perl and occasionally, I have
notice some users with stuck processes. It seems
like they are in some sort of infinite loop.
The CPU that the child is using is high, and the memory gradually grows
Sirs,
I have discovered that my printer for some reason omitted some characters
from the mod Perl installation
README file which caused subsequent compilation failures.
I have now rectified this and the install looks ok.
Apologies for any time wasted.
Thanks.
Regards,
Jim
something like Apache::Digest::FixMSHak.
MS decided that their version of digest security was better than
the RFC. i should be doable to add a re-write module that hacks
the MS hak back to stock values so that mod_digest works again.
people i've spoken to so far don't know if there is
On Wed, 25 Apr 2001, G.W. Haywood wrote:
Hi all,
On Wed, 25 Apr 2001, Remco Schaar wrote:
It is very hard to write perfect code,
True, but it's not hard to write code that doesn't leak memory.
void *p = NULL;
...
...
if( p ) { exit(POINTER_ERROR); }
void *p = malloc(n);
...
...
Hi Matt,
On Wed, 25 Apr 2001, Matt Sergeant wrote:
Easier still, just use boehm gc. ;-)
Can you get that for MS-DOS?
73,
Ged.
On Wed, Apr 25, 2001 at 10:59:51PM +0800, Stas Beckman wrote:
On Wed, 25 Apr 2001, Philippe M . Chiasson wrote:
A suggested new feature.
Apache-dso_module('mod_example.c') behaves like
Apache-module('mod_example.c') except it returns 1 if the
module is loaded as DSO, 0 if it's
On Wed, 25 Apr 2001, G.W. Haywood wrote:
Hi all,
Hi again,
On Wed, 25 Apr 2001, Remco Schaar wrote:
It is very hard to write perfect code,
True, but it's not hard to write code that doesn't leak memory.
void *p = NULL;
...
...
if( p ) { exit(POINTER_ERROR); }
void *p =
Hi all,
On Wed, 25 Apr 2001, Remco Schaar wrote:
It is very hard to write perfect code,
True, but it's not hard to write code that doesn't leak memory.
void *p = NULL;
...
...
if( p ) { exit(POINTER_ERROR); }
void *p = malloc(n);
...
...
free( p );
p = NULL;
...
...
By which I mean that I
On 25 Apr 2001, Joe Schaefer wrote:
Kurt George Gjerde [EMAIL PROTECTED] writes:
Hi,
Even if your script were coded perfectly, it is still possible for this
to happen in modperl.
Personally, I would consider an average growth rate of only .5kB/hit
absolutely wonderful :)
As far I ever
Quoting ed phillips [EMAIL PROTECTED]:
Francesco Pasqualini wrote:
- Original Message -
From: [EMAIL PROTECTED]
To: Francesco Pasqualini [EMAIL PROTECTED]
Cc: [EMAIL PROTECTED]
Sent: Friday, April 20, 2001 8:11 PM
Subject: Re: modperl/ASP and MVC design pattern
You
[EMAIL PROTECTED] wrote:
Francesco, I believe that Ian was joking, hence the yikes before the name,
so the above post is the documentation!
Ed
.. so the best environment for the MVC++ design pattern is parrot/mod_parrot :)
http://www.oreilly.com/news/parrotstory_0401.html
Thanks
On Wed, Apr 25, 2001 at 12:49:24PM -0400, Philippe M . Chiasson wrote:
There is also the strange case of mod_perl leaking memory on graceful
restarts when compiled as DSO. But I don't feel like getting into
this one quite yet.
I would believe that is caused by perl, it does keep its global
Hi,
I am using
perl 5.00503
mod_perl 1.22
apache 1.3.12
aix 4.3.3
I have recompiled perl 5.00503 after applying patch for dl_aix.xs. Then I
compiled my mod_perl with the following command
perl Makefile.PL \
USE_APXS=1 \
WITH_APXS=/usr/HTTPServer/bin/apxs \
EVERYTHING=1
It compiled without
Can mod_perl work with Apache 2.0? When I tried to compile mod_perl-1.25
against Apache 2.016 I get this error:
# perl Makefile.PL
Enter `q' to stop search
Please tell me where I can find your apache src
[] ../httpd-2_0_16
Configure mod_perl with ../httpd-2_0_16 ? [y]
*
On Wed, Apr 25, 2001 at 11:34:53AM -0700, Mohammed Azam wrote:
perl 5.00503
mod_perl 1.22
apache 1.3.12
aix 4.3.3
That appears to be an unfortunate combination that does not work
properly. Get APache 1.3.19, perl 5.6.1 and the newest modperl from CVS
and the patch I did mention here a few
Hi Doug,
Perl 5.6.0 breaks the readdir() function when running under mod_perl.
This is with the most recent versions of Apache and mod_perl, as well
as with older versions. I see the same problem reported in the
mailing list going back to December 2000, but no hint of a
resolution. Is there
I have the following config: Solaris 2.7, perl 5.6, php4 and mod_perl 1.25 compiled
statically into Apache 1.3.19. This exact same config works flawlessly on several
Suse machines and a few Red Hat machines. After building and testing the server, I
get the following error when trying to
Hello,
LSPerl 5.6.0 breaks the readdir() function when running under mod_perl.
LSThis is with the most recent versions of Apache and mod_perl, as well
LSas with older versions. I see the same problem reported in the
LSmailing list going back to December 2000, but no hint of a
LSresolution. Is
On Wed, 25 Apr 2001, Andrew Ho wrote:
LSPerl 5.6.0 breaks the readdir() function when running under mod_perl.
LSThis is with the most recent versions of Apache and mod_perl, as well
LSas with older versions. I see the same problem reported in the
LSmailing list going back to December 2000,
My Apache with modperl is acting weird with respect to memory usage.
When it first starts up, each process uses 10 MB of memory.
As time goes on, these processes' memory usage grows and grows. Right now
they're 20 MB (uptime 2 days). When I rebooted the machine two days ago,
they were using 80
Currently I think there is a slight bug in the latest mod_perl 1.x,
where PerlRequire doesn't work as require() in Perl per se on restart. A
few people have reported this behavior.
So as a quick workaround do this:
start.pl:
-
require real-startup.pl;
this require(),
On Thu, 26 Apr 2001, Stas Bekman wrote:
There is also the strange case of mod_perl leaking memory on graceful
restarts when compiled as DSO. But I don't feel like getting into
this one quite yet.
Hmm. My httpd was using 20 MB. I did apachectl graceful ten times, and
the usage jumped to
So ApacheCon was cool and loaded with mod_perl talks. You gotta read Nat's
comments from the last ApacheCon about mod_perl at his journal:
http://use.perl.org/journal.pl?op=displayuid=29start=5
Why? Remember last year we have talked about having a dedicated mod_perl
conference? And Nat promised
Hi,
I'm also experiencing issues using readdir() under mod_perl
v1.25/apache 1.3.19 on a perl 5.6.1 system freshly compiled in RH7.1 +
gcc 2.96/glibc 2.2. I _can_ get correct behavior when running readdir()
in perl -e on the command line, but when run thru mod_perl/apache it
returns
On Thu, 26 Apr 2001, Mathew Hennessy wrote:
Hi,
I'm also experiencing issues using readdir() under mod_perl
v1.25/apache 1.3.19 on a perl 5.6.1 system freshly compiled in RH7.1 +
gcc 2.96/glibc 2.2. I _can_ get correct behavior when running readdir()
in perl -e on the command line,
On Thu, 26 Apr 2001, Stas Bekman wrote:
sure, but that's a different matter. I say that PerlModule and PerlRequire
have a bug, which should be fixed. It's just that your problem made me
reiterate the problem.
patch below fixes. problem was the reference to
@Apache::ReadConfig::PerlConfig
Hi
i have succesfully compiled apache 1_3.19 under win 98 with
vc6 and dsw project
I'm trying to compile mod_perl 1_25 under windows 98 the same
way
i downloaded the source 1_25 and found themodperl.dsp for vc++ compiling
i followed the install.win32 notes but when compiling there
dougm 01/04/25 09:19:45
Modified:src/modules/perl mod_perl.c
Log:
fix #ifndef USE_ITHREADS
Revision ChangesPath
1.50 +1 -1 modperl-2.0/src/modules/perl/mod_perl.c
Index: mod_perl.c
===
dougm 01/04/25 08:25:46
Modified:pod modperl_style.pod
Log:
fix typo
Revision ChangesPath
1.3 +1 -1 modperl-2.0/pod/modperl_style.pod
Index: modperl_style.pod
===
RCS file:
dougm 01/04/25 22:30:46
Modified:.Changes
Apache Apache.pm
Log:
fix double-loading bug of Perl{Require,Module}s at startup time
Revision ChangesPath
1.588 +2 -0 modperl/Changes
Index: Changes
49 matches
Mail list logo