hi,
the app i wrote is run under Apache::Registry only. i
am wondering if SetEnv/PassEnv will cause any problem
in this case (since setenv and passenv only affect
%ENV for content generation phase and beyond)?
also, a question on apache.. i have tried the
following under plain CGI
SetEnv PATH
Hi, all
I got curious when reading 'performance tuning' in
mod_perl doc.
two questions.
1. SQL statement parsing is mentioned in the doc:
http://perl.apache.org/docs/1.0/guide/performance.html#toc_Eliminating_SQL_Statement_Parsing
i am curious that if it is a general practice(caching
sql
2. Upload and Download of Big Files
http://perl.apache.org/docs/1.0/guide/performance.html#toc_Upload_and_Download_of_Big_Files
it mentions that serving static file from the
front-end server but also mentions the following:
This of course assumes that the script requires
none
of the
i still have few questions, would you please answer
them for me? see below..
--- Perrin Harkins [EMAIL PROTECTED] wrote:
On 5/7/07, James. L [EMAIL PROTECTED] wrote:
the files i need to parse are usually in size of
2M -
10M. will the mod_perl server(2G Mem) use up the
memory pretty quick
--- Perrin Harkins [EMAIL PROTECTED] wrote:
On 5/11/07, James. L [EMAIL PROTECTED] wrote:
even if i am using an iterator object and call
it.next
in TT, doesn't TT actually keep the rendered
template
page into one variable and dump it to the browser?
in
that case, the memory consumed
--- Perrin Harkins [EMAIL PROTECTED] wrote:
On 5/10/07, Andy Armstrong [EMAIL PROTECTED] wrote:
Unless I'm misunderstanding you that's not true.
When a value's
reference count goes to zero the memory is freed -
at least to Perl
if not to the OS.
No, it's not. I know it's
--- Perrin Harkins [EMAIL PROTECTED] wrote:
On 5/11/07, James. L [EMAIL PROTECTED] wrote:
On 5/10/07, Andy Armstrong [EMAIL PROTECTED] wrote:
Unless I'm misunderstanding you that's not true.
When a value's
reference count goes to zero the memory is freed -
at least to Perl
--- Perrin Harkins [EMAIL PROTECTED] wrote:
sub parse {
my ($class,$file) = @_;
my @data;
open my $F, $file or die $!;
while ( my $line = $F ) {
my @fields = split /=/, $line;
push @data, [EMAIL PROTECTED];
}
close $F;
return [EMAIL PROTECTED];
}
If
hello,
few beginner questions on using mod_perl.
1. memory usage.
i have an app that reads/parses a file line by line
then passes the data to TT for html output. each http
request may request different files. my question is
once the app produce the html, does the memory
allocated by the
--- Perrin Harkins [EMAIL PROTECTED] wrote:
On 5/6/07, James. L [EMAIL PROTECTED] wrote:
my question is
once the app produce the html, does the memory
allocated by the parsed data get released to perl?
that memory will be reused by other mod_perl app?
No, Perl doesn't work that way
--- Frank Wiles [EMAIL PROTECTED] wrote:
On Thu, 15 Mar 2007 12:54:37 -0700 (PDT)
James. L [EMAIL PROTECTED] wrote:
mod_perl 2 seems solve the problem with virtual
host
which will require us to adopt apache 2 and use
virtual host.
my understanding may be false but i would like
just how
much time do you have to spend programming to get it
to work as you'd
like. with the frameworks, there's even less
programming that you need
to do.
good luck.
-Original Message-
From: James. L [mailto:[EMAIL PROTECTED]
Sent: Thursday, March 15, 2007 3:55 PM
having
--- Clinton Gormley [EMAIL PROTECTED] wrote:
we are exploring the idea of writing medium to
large
Perl apps in the future which will require
mod_perl.
the current environment is apache 1.3. having
read
modperl's doc and i am concerned about running
multiple unrelated mod_perl apps
hello,
i am doing a little research on adopting Perl into our
dev group.
we are a small team (8) that mostly programming in
Java . since half of the team has a little or ok
knowlege of Perl, we have been experimenting Perl in
smaller projects to avoid a lot of java related
overhead. most of
Actually, gnu make is not standard on OpenBSD. gmake is an easily added package,
though. (See http://www.openbsd.org/3.4_packages/i386.html)
Here's the quickest way to verify that your make isn't gmake. A make -v on a
standard OpenBSD install will return the error unknown option -- v.
-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]
Sent: Thursday, September 09, 2004 3:38 AM
To: Joe Orton
Cc: [EMAIL PROTECTED]; Ken Simpson; [EMAIL PROTECTED]; Stas
Bekman
Subject: Re: [mp2] NetBSD-1.6.2 modperl 1.99_16 httpd 2.0.51-dev make
test errors
I wasn't
Summary of problem: following failed during make test for
mod_perl-1.99_16:
t/filter/both_str_con_add.t
t/protocol/echo_block.t
t/protocol/pseudo_http.t
The platform:
- OpenBSD 3.5-stable (GENERIC) #0: Thu Aug 12 23:59:05 EDT 2004 (i.e.,
patched)
- perl v5.8.2 built for i386-openbsd
17 matches
Mail list logo