On Wed, 15 Dec 2004, colin_e wrote:
> Randy Kobes wrote:
>
> >Due to the large volume of modules on CPAN, ActiveState uses
> >an automated build system for their ppm packages...
> >
> I guessed I was looking at the result of automated build
> tests. However I naiively thought that Apache and mod_p
On Wed, 15 Dec 2004, Stas Bekman wrote:
> sdfgsd sergserg wrote:
> [...]
> > /usr/src/mp2/xs/APR/Base64/APR__Base64.h: In function
> > `MPXS_apr_base64_encode':
> > /usr/src/mp2/xs/APR/Base64/APR__Base64.h:37: static
> > symbol `MPXS_apr_base64_enco de' is marked dllexport
> Sorry, but I've never
Hi,
The complete "Practical mod_perl" book [1] is now available online under
the terms of the CreativeCommons [2] "Attribution Share-Alike License" [3].
Attribution: The licensor permits others to copy, distribute, display, and
perform the work. In return, licensees must give the original author
Perrin Harkins wrote:
On Wed, 2004-12-15 at 15:55 -0700, Dave Buchanan wrote:
My general question is this: What more can I do to keep shared memory
shared and not have each child so big?
The collected wisdom on this subject is at:
http://perl.apache.org/docs/1.0/guide/performance.html
It covers t
What can I do to fix problems like Data::Dumper's XSLoader problem?
Exercise that code path in your startup.pl.
I figured the same and tried that. It still must have loaded it again.
--
Report problems: http://perl.apache.org/bugs/
Mail list info: http://perl.apache.org/maillist/modperl.html
List
On Wed, 2004-12-15 at 15:55 -0700, Dave Buchanan wrote:
> My general question is this: What more can I do to keep shared memory
> shared and not have each child so big?
The collected wisdom on this subject is at:
http://perl.apache.org/docs/1.0/guide/performance.html
It covers the DBI loading is
Hello,
I am designing a large system with the intent on everything running
mod_perl with all the libraries pre-loaded into memory at system startup.
At system startup the parent http-worker process is 28M RSS and the children
are about 1.9 MB RSS. After the first web request however, the chi
sdfgsd sergserg wrote:
Builds fine. There are three warnings BTW:
cc: Info: modperl_global.c, line 165: Extraneous semicolon. (extrasemi)
MP_GLOBAL_IMPL(pconf, apr_pool_t *);
---^
cc: Info: modperl_global.c, line 166: Extraneous semicolon. (extrasemi)
MP_GLOBAL_IMPL(
Michael Peters wrote:
Arshavir Grigorian wrote:
Hi,
I have a module called Application that pretty much acts as a
dispatcher and handles the root URI of my application.
The problem is the images that I would like to put under the same URI
path, but can't do because I don't know how to return the
sdfgsd sergserg wrote:
I don't have root access to this macine and I can't edit /etc/hosts. This is
the content of /etc/hosts:
# @(#)B11.23_LRhosts $Revision: 1.9.214.1 $ $Date: 96/10/08 13:20:01 $
#
# The form for each entry is:
#
#
# For example:
# 192.1.2.34hpfcrm loghost
#
# See t
I don't have root access to this macine and I can't edit /etc/hosts. This is
the content of /etc/hosts:
# @(#)B11.23_LRhosts $Revision: 1.9.214.1 $ $Date: 96/10/08 13:20:01 $
#
# The form for each entry is:
#
#
# For example:
# 192.1.2.34hpfcrm loghost
#
# See the hosts(4) manual page
Builds fine. There are three warnings BTW:
cc: Info: modperl_global.c, line 165: Extraneous semicolon. (extrasemi)
MP_GLOBAL_IMPL(pconf, apr_pool_t *);
---^
cc: Info: modperl_global.c, line 166: Extraneous semicolon. (extrasemi)
MP_GLOBAL_IMPL(server_rec, server_rec
No, the name is mod_fastcgi.c. With this the patch works and all tests pass.
While under suse I ran make test (without the patch). The server didn't die
when testing hooks/hookrun.t, like under win32, and there are another two tests
failing:
t/hooks/stacked_handlers2...request has
Arshavir Grigorian wrote:
Hi,
I have a module called Application that pretty much acts as a dispatcher
and handles the root URI of my application.
The problem is the images that I would like to put under the same URI
path, but can't do because I don't know how to return the request back
to Apach
Hi,
I have a module called Application that pretty much acts as a dispatcher
and handles the root URI of my application.
The problem is the images that I would like to put under the same URI
path, but can't do because I don't know how to return the request back
to Apache from Application when th
Do we know anyone at netcraft who can give us figures for AP2/MP2
commercial uptake?
The main problem with netcraft and friends, is that most setups have
ServerTokens off, or running modperl as a backend so it's impossible to know.
--
__
On Wed, 2004-12-15 at 14:14 -0500, [EMAIL PROTECTED] wrote:
> I use Class::DBI to connect to several databases from within mod_perl.
> Occasionally a request will hang and there will be a slew of "attempt
> to free unreferenced scalar" messages in the error_log. I am assuming
> this is because of m
What can I say?, an incredibly detailed and helpful response. Thanks
Randy. Bear with
me while I go through this to make sure I understand it:-
Randy Kobes wrote:
Due to the large volume of modules on CPAN, ActiveState uses
an automated build system for their ppm packages...
I guessed I was looki
We're starting on a project that will involve remote
data collection, with both scheduled events and on-demand requests.
The data collection involves getting status info from remove
servers, and a given request could involve several hundred such servers.
Therefore there are considerabl
Perrin Harkins wrote:
** Yes the obvious solution to this is to go with threaded
Actually, reports so far are that running mod_perl 2 with threaded MPMs
on Linux actually takes more memory because it breaks the copy-on-write
sharing. Preforking is more efficient.
I'd like to second Perrin. Start
Torsten Foertsch wrote:
Hi,
I want my test suite run once with mod_ssl.so loaded and once without. My
TEST.PL looks this:
use strict;
use warnings FATAL => 'all';
use lib qw(lib);
use Apache::TestRunPerl ();
my $I=Apache::TestRunPerl->new;
$I->run(@ARGV);
Apache::TestConfig::autoconfig_skip_modul
colin_e wrote:
[...]
What i'm unclear on is the output line from the script-
'SCRIPT_FILENAME' => 'I:/WWW/public/testapp',
This is the publicly-visible URL of my script. Fine, but does the
environment
give me any way to find the physical location of my script (i.e.
'I:/WWW/private/lib/tes
On Wed, 2004-12-15 at 17:52 +, Gareth Harper wrote:
> Having tweaked mod_perl with some preloading and other things a pmap on
> solaris shows our apache processes using 4-5Mb of private memory (mainly
> heap), the full process size is around 20Mb.
Sorry to break it to you, Gareth, but that's
On Wed, 2004-12-15 at 20:32 +, Vadim wrote:
> it looks like i missed something important...
> So how to get Response data in the PerlCleanupHandler script?!
It's already sent by then. What are you trying to do? Do you want to
filter it? Which version of mod_perl are you using?
- Perrin
-
sent to [EMAIL PROTECTED] and [EMAIL PROTECTED]
I use Class::DBI to connect to several databases from within mod_perl.
Occasionally a request will hang and there will be a slew of "attempt to free
unreferenced scalar" messages in the error_log. I am assuming this is because
of multiple proce
Hi.
it looks like i missed something important...
So how to get Response data in the PerlCleanupHandler script?!
--
vad
--
Report problems: http://perl.apache.org/bugs/
Mail list info: http://perl.apache.org/maillist/modperl.html
List etiquette: http://perl.apache.org/maillist/email-etiquett
We're implementing a mod_perl module for a pretty high traffic site,
I've run some benchmarks and our mod_perl code, doing the same job as
our current (proprietry module) is 30-40% faster. However, the memory
usage of mod_perl is substantially larger**.
Having tweaked mod_perl with some prelo
The uploaded file
libapreq-1.33.tar.gz
has entered CPAN as
file: $CPAN/authors/id/S/ST/STAS/libapreq-1.33.tar.gz
size: 328933 bytes
md5: f5d2c36ae545aac6fd26cb03307df52b
The reason for this jump from 1.3 to 1.33 is a weird versioning system
used previously with libapreq1, from now on ne
On Wed, 15 Dec 2004, Render Web wrote:
> Randy Kobes wrote:
>
> > I've helped developed mp2 for Win32, and on that platform
> > there's an enormous gain compared to mp1 - mp1 is
> > essentially single threaded, which prevents parallel
> > processing of requests, whereas mp2 is multi-threaded. Abov
sdfgsd sergserg wrote:
Last time I had to do a similar workaround for AIX. Please see this
section in lib/Apache/Build.pm and see if you can adjust the build to do
something similar on cygwin. I'm not familiar with the linker/loader on
that platform to tell you exactly what needs to be done.
I'
sdfgsd sergserg wrote:
Ooops, I've missed this one:
Writing Makefile for ModPerl::XS
Writing Makefile for mod_perl
[warning] mod_perl static library will be built as mod_perl.a
[ error] oh nuts, server dumped core
ldd /house/doink123/httpd-2.0.52/.libs/lt-httpd
443239:/house/doink123/httpd-2.0.52
sdfgsd sergserg wrote:
No, the name is mod_fastcgi.c. With this the patch works and all tests pass.
Thanks, fixed.
While under suse I ran make test (without the patch). The server didn't
die when testing hooks/hookrun.t, like under win32, and there are
another two tests failing:
[...]
t/hooks/hookr
So this was a bug in PAUSE. I don't know when it's going to be fixed, but
we have a workaround for it. In any case Andreas has reindexed A-T so now
asking for A-T dependency will fetch just A-T. Note that some CPAN mirrors
still didn't update their mirrors (the re-index was run yesterday).
--
_
Torsten Foertsch wrote:
The uploaded file
Apache-ModSSL-0.02.tar.gz
has entered CPAN as
file: $CPAN/authors/id/O/OP/OPI/Apache-ModSSL-0.02.tar.gz
size: 7435 bytes
md5: 19d4b18197c73cb2c3d9ec7dd531cb44
This MP2 module adds 2 functions to Apache::Connection: is_https() and
ssl_var_lookup(
On Wed, 15 Dec 2004, colin_e wrote:
> Further to this, I went looking at the specific case of
> Apache-CGI-Builder. I was hoping to use the CGI::Builder
> framework, and was disappointed to find that the Apache
> handler i/f was not available.
>
> Sure enough, the ActiveState module status list-
>
The uploaded file
Apache-ModSSL-0.02.tar.gz
has entered CPAN as
file: $CPAN/authors/id/O/OP/OPI/Apache-ModSSL-0.02.tar.gz
size: 7435 bytes
md5: 19d4b18197c73cb2c3d9ec7dd531cb44
This MP2 module adds 2 functions to Apache::Connection: is_https() and
ssl_var_lookup().
$c->is_https
Further to this, I went looking at the specific case of
Apache-CGI-Builder. I was hoping to
use the CGI::Builder framework, and was disappointed to find that the
Apache handler i/f
was not available.
Sure enough, the ActiveState module status list-
http://ppm.activestate.com/BuildStatus/5.8.h
Platforms: Solaris 9, Win XP
Apache: 2.0.52
Perl: ActiveState Perl 5.8.4
I'm making the first tentative steps in getting scripts running under
mod_perl.
At this point i'm aiming to "encapsulate" a mod_perl script and all it's
supporting images
etc., so to the client they all appear under a singl
>Last time I had to do a similar workaround for AIX. Please see this
section in lib/Apache/Build.pm and see if you can adjust the build to do
something similar on cygwin. I'm not familiar with the linker/loader on
that platform to tell you exactly what needs to be done.
I'll be experimenting o
Stas Bekman wrote:
Tricky. But in this kind of case, case why not having a perl program
which will maintain all the details and generate the right .pl|.conf
files on demand? In this way you could easily keep all the common and
different parts of config in one place and have one point control.
I have recently switched to using ActiveState perl on my production
Solaris box as well as on my
Windows machine for several reasons, including the fact that it's
considerably easier to get PPM
working under ActiveState.
However a big disappointment when I went looking for modules was the
sorry
I upgraded to the latest version of Embedperl and ran
the same code from my previous post. IT no longer
segfaults but I get the following error...
Embperl::Execute({
req_rec=>$r,
inputfile=>$file,
param =>[$params],
Hi, I have been using log handler to setup some Environment variable to
be logged into apache log with a customized log format.
ie.
In apache conf --
...
PerlLogHandler My::Logger
...
LogFormat "%h %l %u %t \"%r\" %>s %b \"%{Referer}i\" \"%{User-Agent}i\
\"%{username}e\"" custom2
in s
Hi,
I want my test suite run once with mod_ssl.so loaded and once without. My
TEST.PL looks this:
use strict;
use warnings FATAL => 'all';
use lib qw(lib);
use Apache::TestRunPerl ();
my $I=Apache::TestRunPerl->new;
$I->run(@ARGV);
Apache::TestConfig::autoconfig_skip_module_add('mod_ssl.c')
Randy Kobes wrote:
Jayce^ wrote:
I've helped developed mp2 for Win32, and on that platform
there's an enormous gain compared to mp1 - mp1 is
essentially single threaded, which prevents parallel
processing of requests, whereas mp2 is multi-threaded. Above
that, Apache2 on Win32 also has significant
45 matches
Mail list logo