"Jim Helm" <[EMAIL PROTECTED]> wrote:
>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, and if it
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, and
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.
Jie Gao wrote:
> There are cases in which it is desirable to expire an entry which
> hasn't been used for a certain period of time; authenticated sessions
> data, for example.
Okay, so you're looking for a session module rather than a cache.
Apache::Session doesn't handle expiration, but you cou
What is the most effecient way of preloading modules to use for mod_perl? I
currently use a startup.pl within my httpd.conf, but I know I will not have
access to this configuration file on my shared hosting account.
Scott Anderson
BTS/Payright
[EMAIL PROTECTED]
206-242-7088 xt231
On Tue, 20 Aug 2002, Perrin Harkins wrote:
> Jie Gao wrote:
> > I wish some of these modules would be able to "touch" cached data so that
> > it would expire cache entries on "last-accessed" rather than on the time
> > the entries were created.
>
> Why? People used to do that with cached beca
Jie Gao wrote:
> I wish some of these modules would be able to "touch" cached data so that
> it would expire cache entries on "last-accessed" rather than on the time
> the entries were created.
Why? People used to do that with cached because they had limited space
and wanted to purge the cach
On Tue, 20 Aug 2002, Perrin Harkins wrote:
> Date: Tue, 20 Aug 2002 13:12:29 -0400
> From: Perrin Harkins <[EMAIL PROTECTED]>
> To: [EMAIL PROTECTED]
> Cc: Dave Rolsky <[EMAIL PROTECTED]>, [EMAIL PROTECTED]
> Subject: Re: Apache::Session - What goes in session?
>
> [EMAIL PROTECTED] wrote:
> > We
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.
>
> That is one technique that we have used for some customer session
> servers. It allowed each server t
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.
That is one technique that we have used for some customer session
servers. It allowed each server to start up in well under a minu
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 16:39:4
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.
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
underst
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
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 th
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.
>>
>>
[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
> r
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
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
ad
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
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-
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 - a
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
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' cac
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 i
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-
--- 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
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 an
> 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.
>
Ick... My bad there. That explains one problem. Thanks.
Still I get the same values for $timeout before f
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
my $site1 = new Foo::Site(site => 'www.example.com');
$site1->register_handler(
new Foo::ImageHandler(path => '/images/', format => 'png'
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();
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
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
>>
At 06:24 PM 8/19/02 -0700, Randy J. Ray wrote:
>>Well, my C 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:
>use Auto
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
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
36 matches
Mail list logo