dougm 2002/08/20 09:49:12
Modified:.Changes
lib mod_perl.pm
Log:
bump version
Revision ChangesPath
1.37 +2 -0 modperl-2.0/Changes
Index: Changes
===
RCS
stas2002/08/20 21:44:14
Modified:xs/APR/PerlIO apr_perlio.c
Log:
improve errors handling
add extended debugging trace
Revision ChangesPath
1.21 +34 -11modperl-2.0/xs/APR/PerlIO/apr_perlio.c
Index: apr_perlio.c
stas2002/08/20 21:46:44
Modified:xs/APR/PerlIO apr_perlio.c
Log:
- IoIFP(io) *must* be always set on the valid io sv, otherwise it'll be
never closed and fh and memory leaked. as i saw from doio.c, the solution
is to simply copy IoOFP.
- add IoTYPE_WRONLY and
Greetings.
On Mon, 19 Aug 2002, Pierre Vaudrey wrote:
with the following starnge error (The Title is displayed but not the
vignette.gif file)
[Mon Aug 19 07:22:24 2002] [error] Missing right curly or
square bracket
at /Library/WebServer/Documents/perl/vignette.gif line 1,
at
At 06:24 PM 8/19/02 -0700, Randy J. Ray wrote:
Well, my Cuse AutoLoader would be _outside_ any of the loaded modules in
the mod_perl startup.pl script after all the modules necessary for proper
execution of _your_ mod_perl environment, are loaded.
I see... you mean to have a line like this:
Greetings.
People often seem to get bent out of shape about putting a
few Location directives in httpd.conf,
I suspect that it may be due to the intimidating length that httpd.conf has
reached in these times. I found that separating customizations in breakaway
'Include'd .conf files - and
Le mardi 20 août 2002, à 09:32 AM, Alessandro Forghieri a écrit :
Greetings.
On Mon, 19 Aug 2002, Pierre Vaudrey wrote:
with the following starnge error (The Title is displayed but not the
vignette.gif file)
[Mon Aug 19 07:22:24 2002] [error] Missing right curly or
square bracket
at
Hi,
I've got a bit of an issue with Cache::Cache, and while I know it's a bit
off topic my e-mail to the module maintianer has dissapeared into the
nether regions of nowhere. I know that alot of people here use the module,
especially since it was the cookbook and Perrin's articles that put me
On Tue, 20 Aug 2002, Chris wrote:
my $timeout1 = $Cache-get_object('1')-get_expires_at();
my $timeout2 = $Cache-get_object('1')-get_expires_at();
... ETOOMUCHCUTNPASTE.
:-)
- ask
--
ask bjoern hansen, http://www.askbjoernhansen.com/ !try; do();
On Sun, 18 Aug 2002, Jonathan Lonsdale wrote:
Here's a few approaches I thought of:
In a previous life[1] I made a system that was configured like
perl
my $site1 = new Foo::Site(site = 'www.example.com');
$site1-register_handler(
new Foo::ImageHandler(path = '/images/', format =
Hi,
I am running Solaris 8 and have installed Apache 2:
bash-2.03# /usr/apache/bin/httpd -v
Server version: Apache/2.0.39
Server built: Aug 20 2002 11:26:54
I also have installed perl 5.8.0:
bash-2.03# perl -v
This is perl, v5.8.0 built for sun4-solaris
I am trying to install mod_perl 2
--- Perrin Harkins [EMAIL PROTECTED] wrote:
There are a few ways to deal with this. The
simplest is to use the
sticky load-balancing feature that many
load-balancers have. Failing
that, you can store to a network file system like
NFS or CIFS, or use a
database. (There are also
Tom Hibbert wrote:
Hi,
I am running Solaris 8 and have installed Apache 2:
bash-2.03# /usr/apache/bin/httpd -v
Server version: Apache/2.0.39
Server built: Aug 20 2002 11:26:54
I also have installed perl 5.8.0:
bash-2.03# perl -v
This is perl, v5.8.0 built for sun4-solaris
I
On Mon, Aug 19, 2002 at 06:54:01PM -0700, md wrote:
I can definitely get it all from the db, but that doesn't
seem very efficient.
Don't worry about whether it *seems* efficient. Do it right, and then
worry about how to speed that up - if, and only if, it's too slow.
Premature optimisation is
We do see some slowdown on our langauge translation db
calls since they are so intensive. Moving to a 'per child'
cache for each string as it came out of the db sped page
loads up from 4.5 seconds to .6-1.0 seconds per page which
is significant.
Currently we are working on a 'per machine'
On Tue, 20 Aug 2002 [EMAIL PROTECTED] wrote:
Currently we are working on a 'per machine' cache so all
children can benefit for each childs initial database read
of the translated string, the differential between
children is annoying in the 'per child cache' strategy.
Sounds like you want
Hi, I'm new here so tell me if I'm doing something wrong :)
I posted a report to
http://nagoya.apache.org/bugzilla/show_bug.cgi?id=10820 but they said it
seems to be a mod_perl bug.
here goes:
-
If you run the following perl code (on Apache 1.3.2x (win32) - mod_perl
1.27_01-dev -
We are investigating using IPC rather then a file based
structure but its purely investigation at this point.
What are the speed diffs between an IPC cache and a
Berkely DB cache. My gut instinct always screams 'Stay Off
The Disk' but my gut is not always right.. Ok, rarely
right.. ;)
John-
md wrote:
I haven't looked at the cache modules docs yet...would
it be possible to build cache on the separate
load-balanced machines as we go along...as we do with
template caching?
Of course. However, if a user is sent to a random machine each time you
won't be able to cache anything
The URL
http://perl.apache.org/dist/mod_perl-1.99_05.tar.gz
has entered CPAN as
file: $CPAN/authors/id/D/DO/DOUGM/mod_perl-1.99_05.tar.gz
size: 577620 bytes
md5: ccf3b20a1e48b42750a66c8169cd0a36
Changes since 1.99_04:
fix PerlOptions +ParseHeaders to only parse once per-request
Thanks...you've given me plenty to work with. Great
explination. This is good pragmatic stuff to know!
__
Do You Yahoo!?
HotJobs - Search Thousands of New Jobs
http://www.hotjobs.com
[EMAIL PROTECTED] wrote:
We are investigating using IPC rather then a file based structure but
its purely investigation at this point.
What are the speed diffs between an IPC cache and a Berkely DB cache. My
gut instinct always screams 'Stay Off The Disk' but my gut is not always
Thanks, you just saved us a ton of time.
Off to change course ;)
J
On Tue, 20 Aug 2002 13:12:29 -0400
Perrin Harkins [EMAIL PROTECTED] wrote:
[EMAIL PROTECTED] wrote:
We are investigating using IPC rather then a file based
structure but
its purely investigation at this point.
What are the
If module A depends on module B (uses methods or subroutines from module
B), is there a good way to test that module A loads module B (i.e. has a
use statement)? I frequently run into the following scenario:
1. Write one or more new modules plus a handler that uses them.
2. One or more of
Matthew Pressly wrote:
If module A depends on module B (uses methods or subroutines from module
B), is there a good way to test that module A loads module B (i.e. has a
use statement)? I frequently run into the following scenario:
1. Write one or more new modules plus a handler that
Just to jump in here - as I understand it you can split a hash across
multiple threads if you preload it before apache forks. So load it in your
startup.pl and get it in memory prior to forking. It'll be part of the
shared memory since you aren't writing to it. Or at least that's how I
Does any body has performance data regarding
mod_perl 2.0 vs mod_perl 1.0?
What is the stability of mod_perl 2.0? Any body using it in production?
thanks.
I havent had much luck with that but we will look at it
again and see what we can get from it. We want to avoid
preloading all data per child direct from the database but
I wouldnt mind doing it on startup for the root process
and then copying it to each child.
J
On Tue, 20 Aug 2002
Not in the MS house that I am living in right now :^(
On Tue, 20 Aug 2002, Perrin Harkins wrote:
Ian Struble wrote:
And just to throw one more wrench into the works. You could load up only
the most popular data at startup and let the rest of the data get loaded
on a cache miss.
Sorry for the late reply - been away for a bit.
Everything I've read as an SA (for Solaris at least - though I would
expect the other *nices to be similar) was to never set a user space
(non O/S) process to less than -15. Other than that, it's another of
those YMMV, measure before and after,
30 matches
Mail list logo