Yes, I agree. But as (I thought) I had mentioned in an early post, it
should be possible to turn on this caching behavior for each individual
request before a call to $r->content or $r->read.
Cheers
Dmitry
On 28 Oct 1999, Greg Stark wrote:
>
> That makes sense for small pieces of data such as
Two things wrong,
1) as others have pointed out you need Options +Includes
2) you need a space before the --> otherwise it's misparsed
(you must _not_ have a space in or after the
>
> Normally, on other web sites this is a painless procedure. The httpd.conf
> is pretty much unmodified as
Might I add ...
As I came to this a bit late, may I suggest some "conservative" numbers
to work up from:
- Assume each httpd with mod_perl will eat up 6mb of private memory if
you set max-requests per child fairly low (e.g. 35).
- Take your real memory. Subtract 32Mb. Divide remaining memory by
On Wed, 27 Oct 1999 23:24:58 -0500
Ken Williams <[EMAIL PROTECTED]> wrote:
Ken> I think a better solution would be to make PerlRun use real object-oriented
Ken> thinking (method handlers), something like this:
Ken>
Ken> sub handler ($$) {
Ken> my($class, $r) = @_;
Ken> my $p
Dmitry Beransky <[EMAIL PROTECTED]> writes:
> My apologies for continuing this topic, but I've been thinking some more
> about this issue over the weekend. I'm still perplexed by this seemingly
> arbitrary limitation on the number of times a request body can be read. It
> seems that, at lea
Greg Stark wrote:
>
> A lot of people have talked about running a proxy in front of your mod_perl
> processes, well a word of caution, maybe squid is more efficient, but
> mod_proxy does a double fork at the end of every request. This is part of the
> caching file garbage collection but it happen
A lot of people have talked about running a proxy in front of your mod_perl
processes, well a word of caution, maybe squid is more efficient, but
mod_proxy does a double fork at the end of every request. This is part of the
caching file garbage collection but it happens even if you don't have cac
I think a better solution would be to make PerlRun use real object-oriented
thinking (method handlers), something like this:
sub handler ($$) {
my($class, $r) = @_;
my $pr = $class->new($r);
...
}
My personal philosophy is that any given class's name should only b
Hello All
I have made a module derived from PerlRun. It overrides only readscript()
method in PerlRun. First I wrote as follows (essencial part only)
package Apache::PerlRunFake;
use Apache::PerlRun;
@ISA = qw(Apache::PerlRun);
sub readscript {
...
}
*handler = \&
Dan Mahoney <[EMAIL PROTECTED]> wrote:
>I've got a weird problem here involving DBI under
>mod_perl.
>
[snip]
Hopefully you have a startup script you use to load various modules
into the server memory. If so, could you add the following to it:
BEGIN {
$ENV{DBI_TRACE} = 2;
}
This will cause D
> praveen wrote:
>
> Sir,
>
> We have recently installed our server having the configuration as- Linux ,
>modperl,apache, samba.
> The problem we are facing is after few minutes of working server hangs giving the
>error message as "out of memory" for all the above configuration.
> Please h
I've got a weird problem here involving DBI under
mod_perl.
I have a simple Perl script that works from the
command line:
-
#!/usr/local/bin/perl
use strict;
use DBI;
my ($dbh, $sth, $f, $head) = undef;
$dbh = DBI->connect("dbi:m
I think I just found the bug. Reading source code can be fun! :)
Seems the MySQL backend was having the problems. Restarting it cleared
up the errors. I'm not sure if there's something about Apache::DBI
aggrevating the daemon or not (I don't need to pursue this further
right now), but it's wor
On Tue, 26 Oct 1999, Tim Bunce wrote:
> >
> > Can't locate object method "trace_msg" via package "DBI" at
> > C:\Perl\site\5.00503\lib/DBI.pm line 311.
> > END failed--cleanup aborted.
>
> That's a known bug that was fixed in DBI 1.10 (I believe).
>
Just FYI, I had the problem in DBI 1.13.
On Tue, 26 Oct 1999, Gerald Richter wrote:
> >
> > I have been digging around in the FAQ and archives for information about
> > people running mod_perl on a windows box and also using Apache::DBI, but
> > have come up with nothing. I am under the impression that it is not
> > going to work bec
On Wed, 27 Oct 1999, Robin Berjon wrote:
> At 14:02 27/10/1999 -0400, Gunther Birznieks wrote:
> >The advantage of using sendmail is
> >
> >[1] a centralised MTA config.
> >[2] Graceful handling of problems and requeueing of messages if the SMTP
> >server specified by Net::SMTP would normally be
> Is there a way to limit the maximum amount of memory that a perl child can
> use?
Apache::SizeLimit
Apache::GTopLimit (this one lets you control the minimum of shared memory
as well)
___
Stas Bekman mailto:[EMAIL PROTECTED]
At 14:02 27/10/1999 -0400, Gunther Birznieks wrote:
>The advantage of using sendmail is
>
>[1] a centralised MTA config.
>[2] Graceful handling of problems and requeueing of messages if the SMTP
>server specified by Net::SMTP would normally be down. eg automatic
>resilience based on MX record rer
Sir,
We have recently installed our server
having the configuration as- Linux , modperl,apache, samba.
The problem we are facing is after few minutes of working
server hangs giving the error message as "out of memory" for all the
above configuration.
Please help me as soon as possibl
Hi folks,
I'm moving the FreeBSD port for mod_perl from an httpd binary
replacement to a DSO addition using apxs.
I'm not sure what changed between 2 weeks ago and now, but I'm finding I
have to patch the apaci/configure file as follows:
--- apaci/configure.origTue Oct 26 15:23:06 199
I have recently upgraded from RH6.0 to RH6.1
I'm using Apache 1.3.9, mod-perl 1.21 with perl5.00503 recompiled for
the occasion, as well as mod_perl, and it core dumps just before
spawning child httpd processes.
I had no trouble before on RH6.0 with Apache 1.3.6/mod_perl 1.21.
I use a httpd.conf w
Hi folks,
I haven't gotten any response about this. My email to Eric Bartley (the author
of Apache::AuthCookie) bounced - does anyone know how to contact him, or
whether there's a new maintainer?
If we can't find him, I suppose we should either make a new module for this
(Apache::CookieAuth?) o
On Tue, 26 Oct 1999, Dave Mee wrote:
|Hello, mod_perloids.
|
|I'm having a gutfull of trouble sending mail under mod_perl. I'm doing
|it by the books, to wit, the cookbook and the bigbirdie book, under rh
|linux 5.2.
|
|the code is
|
| warn ("MAIL: Opening sendmail... path is \"".$sendmailpat
Hi,
Our group is looking for a full-time mod_perl developer to work on a
customizable portal (ala "My XYZ") to our research information. Our
production environment consists of plain CGI scripts, mod_perl handlers and
Apache::ASP pages.
Job qualifications include:
+ extensive experience wit
I have problems with Apache::Roaming. "make test" always shows:
> Skip ./blib/lib/Apache/Roaming/LiPrefs/Config.pm (unchanged)
> Skip ./blib/lib/Bundle/Apache/Roaming.pm (unchanged)
> Skip ./blib/lib/Apache/Roaming/LiPrefs.pm (unchanged)
> Skip ./blib/lib/Apache/Roaming.pm (unchanged)
> PERL_DL_N
I have found the problem over the weekend. It apears to be a problem with my
EmbperlFilter and ApacheSSI. I forgot to mention this important piece of
information.
Looking back through the list I found reference to the fact that Cookies and
Embperl do not work well through the filter. Looking thro
Sirs,
I wish to use the mod-perl "camel feather" logo at the bottom of my U.S.
government
web page, but I don't want, and in fact am forbidden from having a
"Camel logo belongs to O'Reilly and is used by permission".
May I use the mod-perl logo without the permission statement.
Page in questi
The advantage of using sendmail is
[1] a centralised MTA config.
[2] Graceful handling of problems and requeueing of messages if the SMTP
server specified by Net::SMTP would normally be down. eg automatic
resilience based on MX record rerouting can be nice.
Although in a mod_perl situation, I u
On Wed, 27 Oct 1999, Jason Terry wrote:
> Is there a way to limit the maximum amount of memory that a perl child can
> use?
Have you tried looking at the core function RLimitMEM?
http://www.apache.org/docs/mod/core.html#rlimitmem
It's worth a try. Don't know if this is excactly what you're loo
> "JT" == Jason Terry <[EMAIL PROTECTED]> writes:
JT> Is there a way to limit the maximum amount of memory that a perl child can
JT> use?
Yes.
I assume you also want to know what that method is... so I'll tell ya.
Use the Apache::Resource module.
--
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
Is there a way to limit the maximum amount of memory that a perl child can
use?
On Wed, 27 Oct 1999, Stas Bekman wrote:
>
> Something related to a recent (few weeks ago?) discussion of session
> information passing ...
>
> This thread is more of a social content, but worth reading...
> http://slashdot.org/article.pl?sid=99/10/22/0249212&mode=thread
>
> It provides more de
"G.Richter" wrote:
>
> >
> > I'd like to know if the latest Embperl works with Apache::Filter?
> > I.e. can I use Apache::Filter to make redirection calls in Embperl
> > documents work when using a chain?
> >
> > I'm thinking of
> >
> > PerlHandler MyChain::Embperl MyChain::Gzip
> >
> > where MyC
On Wed, 27 Oct 1999, Francesc Guasch wrote:
> what's the ld version you use ?, make sure you compiled perl using the
> solaris hints you can find in the perl sources.
I've got GNU ld 2.9.1, but the perl Configure said GNU ld won't build
perl, so it used /usr/ccs/bin/ld (version 3.0). I compile
Something related to a recent (few weeks ago?) discussion of session
information passing ...
This thread is more of a social content, but worth reading...
http://slashdot.org/article.pl?sid=99/10/22/0249212&mode=thread
It provides more details why people block cookies, which makes developer's
l
Alex Menendez <[EMAIL PROTECTED]> wrote:
>this destroy routine is definitely a problem (may or may not be the cause
>of the error though) apache::dbi over-rides the dbi connect method in
>order to check an internal hash of cached db handles so that an existing
>connection can be returned rather th
Jon J schrieb:
> That is what I did for our site. We have a members only section that
> allows them to have web access to some configurable pieces of their
> services. We store their encrypted account password as a column in the
> table that hold account info. When they try to access the protecte
On Tue, Oct 26, 1999 at 10:39:10AM -0400, Vivek Khera wrote:
> > "TD" == The Doctor <[EMAIL PROTECTED]> writes:
>
> TD> When I attempt to start perlified httpsd, I get
> TD> no symbol: PL_dowarn.
>
> TD> Any pointers?
>
> Yes, but it is dangling:
>
> ldd httpsd
>
> Now figure out how to
Dan Rench wrote:
>
> I'm having problems with modules that use DynaLoader (Data::Dumper and
> Storable, specifically) under mod_perl on Solaris machines.
>
> These modules work fine in standalone scripts, or when run under mod_cgi
> or mod_fastcgi, but as soon as I put a "use Storable" in a mod_
I have problems with Apache::Roaming. 'make test' always shows:
> Skip ./blib/lib/Apache/Roaming/LiPrefs/Config.pm (unchanged)
> Skip ./blib/lib/Bundle/Apache/Roaming.pm (unchanged)
> Skip ./blib/lib/Apache/Roaming/LiPrefs.pm (unchanged)
> Skip ./blib/lib/Apache/Roaming.pm (unchanged)
> PERL_DL_N
>
> I'd like to know if the latest Embperl works with Apache::Filter?
> I.e. can I use Apache::Filter to make redirection calls in Embperl
> documents work when using a chain?
>
> I'm thinking of
>
> PerlHandler MyChain::Embperl MyChain::Gzip
>
> where MyChain::Embperl and MyChain::Gzip uses the f
Hi Gerald, Hi Ken,
I'd like to know if the latest Embperl works with Apache::Filter?
I.e. can I use Apache::Filter to make redirection calls in Embperl
documents work when using a chain?
I'm thinking of
PerlHandler MyChain::Embperl MyChain::Gzip
where MyChain::Embperl and MyChain::Gzip uses t
42 matches
Mail list logo