Ever considered using ActivePerl instead? It's rather well supported.
Rob Allen wrote:
Still having newbie troubles with IndigoPerl. It all installed
correctly and the service is up and running. I can start/stop Apache
consistently with no troubles. There are no errors reported in the
error
I have a Windows test machine I can use to test your module, but I do
not have a compiler. Do you have a ppd version I can use?
Philip M. Gollucci wrote:
Please download, test, and report back on the following
candidate tarball:
http://people.apache.org/~pgollucci/apreq2/libapreq2-2.08-RC1.t
I'm trying to explore using sessions in my application. It seems that my
option is restricted to Apache::Session. Please let me know if other
session modules exist for my platform.
My test codes are as follows:
First run (to generate the session):
my %session;
eval
{
tie %sessi
Hi all,
On my mp2 machine I see a lot of this exit status code generated. And
when it does, my Apache2 stop serving for a while (I guess it's just
restarting).
Goggling this number seems to indicate that a lot of people are
experiencing this problem, but nobody really seems to have a solutio
I can give a brief account of my experiences with MP2 development on
both Windows and non-Windows platforms.
Generally, I choose to develop on the Windows environment for various
reasons; most of them out of convenience and comfort. Coming primarily
from a Windows environment (in terms of asso
x was discontinued a few years ago, I think shortly after the
Sophos acquisition. I've recently seen it quietly reappear in standard
ActivePerl distributions, but not sure where (if anywhere) the great
folks at ActiveState are going with it...
Issac
Philip M. Gollucci wrote:
Foo Ji-Haw wrote:
Just want to do a quick poll here.
Most of the comments I read here, come from people who use the Linux/
BSD platform. Is there anybody who actually deploy the Windows combo on
a production server? For those who do, do you have any issues that are
Windows-specific?
For me for example, my gri
Hi all,
I don't know if this make sense to fix, since apparently the ppd has
been around for a while, and nobody reports the problem...
The PPD for Apache2::PAR cannot be used for mp2 since 1.99. The module
names and all are outdated.
I've tried to fix the problem, mainly changing the names
How do you know it isn't just the operating system caching the disk
fetches? The docs certainly make it sound like a query cached with
LIMIT will not be useful when different LIMIT values are applied.
Because I run it from the command line, and Windows ain't that smart.
Trust me. :)
- Pe
Perrin Harkins wrote:
Jeff wrote:
Your application simply uses approach (b) and MySQL does the rest
automatically. So if you
Have you tried this? I was under the impression that MySQL would just
stop when it finds enough row to satisfy LIMIT, so it wouldn't cache
the whole result set.
I have
Hello Carl,
Nope that's right, so you load up one image. The perl process
allocates itself 100MB of memory for it from the OS. Then doesn't
release it back to the OS once it's finished with.
The perl process will re-use this memory, so if you process another
image you don't grab another 100
Hey Carl,
The only place where forking is useful is where you want something to
continue processing after sending the response back to the client.
You can achieve the same effective result by calling
$r->child_terminate()
(assuming your using pre-fork). The currently running child exits at
th
Apache::Reload doesn't always work too. two scenarios
...
I use Apache2::Reload myself for my development box. There's an extra
scenario you missed out:
1. If you change the inheritance of the package, you'll get an error too.
But having said that, I find Apache2::Reload very handy for easy
I've fixed a lot of old CGI scripts over the past year and all new
stuff to work in our MP2 environment and everything seems to be
running excellent -- I mean GREAT, really.
Yes. I've never looked back myself. :)
If you're going all the way into modperl (arguably depending on your
needs), yo
Thanks for the tip Perrin. Now I can move forward. :)
Perrin Harkins wrote:
Foo Ji-Haw wrote:
Can anyone recommend an alternative solution to my problem?
Nowhere near as fast, but MLDBM::Sync is solid and well-tested on
Windows.
- Perrin
Hi all,
Some time back I poll the community for a means to access variables
across processes, and the good people suggested Cache-FastMmap.
I'd like to use it, but there does not seem to be any ppm version for
the Windows platform (I've looked at theoryx5 and bribes, in addition to
the stand
Sure, libapreq and its included modules are the fastest way to parse
parameters and handle cookies. However, hardly anyone needs that
speed. Most people are spending all of their time talking to a
database or doing other I/O tasks, or have pretty minimal web traffic,
or both.
That's true. I
much stuff from Apache2::RequestRec as
possible.
Perrin Harkins wrote:
Foo Ji-Haw wrote:
So what you are saying, is that it is generally fine in a production
environment to continue using CGI::Cookie?
Yes.
But it does not infer that using CGI is just as well right?
The CGI.pm module? T
Some people have existing code using CGI::Cookie, or want their new
code to work under CGI. The performance difference is pretty small
in any significant web app.
Hey Perrin,
So what you are saying, is that it is generally fine in a production
environment to continue using CGI::Cookie? But
to do that to
process the page based on the user). Following the mailing list thread,
is the only/ preferred way to use the bucket brigade?
Fred Moyer wrote:
On Mon, 13 Mar 2006, Foo Ji-Haw wrote:
Wow, a little tangent to the topic here: I didn't know that you can
do this
PerlResponseHandl
Apache2::Cookie is one of the glue modules for libapreq2. You have to
install libapreq2 to get Apache2::Cookie.
Ok. I am crazy about libapreq2 because it is a direct replacement to
CGI. I thought this is the preferred way against continuing CGI (for
performance reasons) in the modperl envir
Wow, a little tangent to the topic here: I didn't know that you can do this
PerlResponseHandler Apache2::Const::OK
Is that 'legal'? It's interesting to know, but I wouldn't know of a
practical use for this trick.
Another question: why do you use CGI::Cookie in place of Apache2::Cookie?
Last qu
Philippe M. Chiasson wrote:
Vipul Ved Prakash wrote:
Thanks, Philippe. For some reason I thought I had to use Apache's
memory management abstractions for this.
Out of curiosity, will using pnotes work just as well for your purpose?
There's a few recipes here:
http://perl.apache.org/docs/2.0/user/coding/cooking.html#Sending_Cookies_Using_libapreq2
Would using t Apache2::Cookie work just as well?
Excellent lateral solution! Thanks Tyler.
Tyler MacDonald wrote:
Foo Ji-Haw <[EMAIL PROTECTED]> wrote:
The basis for the need is because I am thinking of having my process
call itself (but another uri) to activate another process.
Appreciate any tips you can offer.
Hi all,
I'm wondering if modperl can do the following:
When responding to a http post/get, it will send a simple response to
the client, close the connection, but continue to do some processing.
Pseudo-code is as follows:
sub handler
{
my $r = shift;
print "OK";
$r->flush;
$r->cl
Thanks for the web links. I already have book by Damian, and it's a good
read.
- Original Message -
From: "Tyler MacDonald" <[EMAIL PROTECTED]>
To: "Foo Ji-Haw" <[EMAIL PROTECTED]>
Cc: "Michael Greenish" <[EMAIL PROTECTED]>; "m
> On Feb 16, 2006, at 10:18 PM, Foo Ji-Haw wrote:
> > I think the biggest complaint about Perl, is that it is too
> > symbolic (which
>
> I thought that its ugly code - caused in part by no standard coding
> practices, and far too many people pushing 'theres mo
I think people choose templating engines depending on how they want to use
it. For me, HTML::Template is fairly ideal because it encourages me to focus
on the business logic, and abstracts the presentation fairly well. By
allowing only simple tag replacements and loops, it has so far allowed me to
> Did you ever try Template Toolkit? I'd say it's probably more popular than
> HTML::Template, and much less restrictive (although you also have more
rope to
> hang yourself too) and can do everything that you mentioned below.
What's the draw of Template Toolkit? I am a heavy user of HTML::Template
> I knew that perl could do OO and I couldn't find
> design patterns to go to the next step.
You brought up a good point. I wish someone will write a Design Patterns
book based on Perl...
I've read up on Ruby (to understand the growing interest around it). It
looks Perlish, and it's an interesting
> Just an FYI, Perl 6 will use the dot notation for calling methods.
I did an O'Reilly read on Perl 6. The new syntaxes for variable manipulation
is a bit rough going for sunk-in Perl5 people like me.
But more importantly: when will it ever be ready?!? ( I know there are no
answers to this...)
I think the biggest complaint about Perl, is that it is too symbolic (which
I agreed when I started with Perl myself), making the learning curve steep.
But looking back, I am now much better able to focus on the problem
statement. Perl's TIMWTOWTDI attitude allows me to develop creatively, and
cate
Not to be racist, I am STILL cleaning up codes from an
outsourced developer, despite their investment in OOP coding. It's not about
procedural, or OO. It's the programming foundation and learning the best
practices.
So go now and buy a Stas/ Damian (O'Reilly) book!
:)
More importantly, h
To give you some confidence in ActivePerl+mod_perl
on Win32, I have 2 years back implemented a mini ERP system ENTIRELY on this
same platform, with a call centre, reception, billing and invoicing, and
other administrative components. It sits on a 2 simple servers: 1 for the
application, and
One of my hopes for mod_perl, is that it will evolve into a web
server-independent layer, that can be put on IIS as well (for example). I do
agree that Apache is a much stronger platform than IIS, but it is a bit iffy
to put all the eggs in the same basket...
- Original Message -
From: "A
The cause may be in your installation process
(which should not be difficult). Maybe you relook the steps, or share the steps
you took.
- Original Message -
From:
Jason J. Czerak
To: Foo Ji-Haw
Cc: modperl@perl.apache.org
Sent: Thursday, February 16, 2006 10:28
I have not much experience with ActivePerl on non-Win32
platforms, so this is mostly my conjecture:
While ActivePerl is available on most popular platforms,
it's strengths are mostly on the Windows platform, where many administrative and
windows-centric components can be controlled. I have
Why don't you try ActivePerl instead of cygwin
?
- Original Message -
From:
Jason J. Czerak
To: modperl@perl.apache.org
Sent: Thursday, February 16, 2006 4:28
AM
Subject: mod_perl 2.0.0 + Apache 2.0.55
on Cygwin Win2k3
I have an application that is based on Apa
Title: MP2 PerlTransHandler and VirtualHosts
I'd like to ask a question in tangent to
yours:
What happens you load a package via
PerlPostConfigRequire? I usually 'require' a script, but if it is possible to
execute a package instead, that may be better.
- Original Message -
From
modperl and Apache::* libraries are generally for the Apache platform.
modperl2 and Apache2::* libraries are for the Apache2 platform. so if you
end up installing modperl on your Apache2, you've stumbled on the wrong end.
Take note that not all Apache2 modules are labelled this way. For example
Ap
Is 2.07 out already? http://theoryx5.uwinnipeg.ca/ppms/ still lists it as
2.06-dev
- Original Message -
From: "Ryan Perry" <[EMAIL PROTECTED]>
To: "ben syverson" <[EMAIL PROTECTED]>
Cc:
Sent: Monday, February 13, 2006 5:44 AM
Subject: Re: More on httpd2.2, libapreq2, apr and mod_perl2 n
You're lucky already. You didn't see what happens on the same script running
on Win32 Apache2...
- Original Message -
From: "Ken Perl" <[EMAIL PROTECTED]>
To:
Sent: Sunday, February 12, 2006 3:02 PM
Subject: detecting server start, stop, graceful in startup.pl
> >From the Apache2::Serv
Speaking of which, when will the mp2 version of Practical Mod Perl be coming
out? I'm sure Stas will make a handsome lot (I would use 'bomb' but these
are sensitive times...) when he releases it, cause we're all depending so
much on the book...
- Original Message -
From: "Frank Wiles" <[E
That's hard to say. I've been using mp2
professionally, and so far installing libapreq2 has been pretty painless; both
on Win32 and FreeBSD platforms. Win32 is pre-packaged, so it's quite
predictable. FreeBSD's version is compiled from source, but still it's
problem-free.
You really need t
How about returning a self-designed error page, instead of using Apache's?
- Original Message -
From: "Geoffrey Young" <[EMAIL PROTECTED]>
To: "Andrew Ho" <[EMAIL PROTECTED]>
Cc: "mod_perl List"
Sent: Sunday, February 05, 2006 2:24 AM
Subject: Re: How to set Content-Type header on custom
Try
PerlSwitches "-Ic:/ps"
- Original Message -
From: "Pete Alvin" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>;
Sent: Sunday, January 22, 2006 1:28 AM
Subject: Re: Edit .pm file; Why must bounce Apache?
> Thanks! I'm 90% of the way there. But I have a @INC issue:
>
> I've been usin
en creates the worker process, which loads up and
restarts once?
Let me know if I don't make any sense...thanks.
- Original Message -
From: "Randy Kobes" <[EMAIL PROTECTED]>
To: "Foo Ji-Haw" <[EMAIL PROTECTED]>
Cc: "William A. Rowe, Jr." <[EM
Thanks Randy, for the pointer. Will give it a good read.
- Original Message -
From: "Randy Kobes" <[EMAIL PROTECTED]>
To: "Foo Ji-Haw" <[EMAIL PROTECTED]>
Cc: "William A. Rowe, Jr." <[EMAIL PROTECTED]>;
Sent: Wednesday, January 18, 200
share your source of information on this issue? Thanks.
- Original Message -
From: "William A. Rowe, Jr." <[EMAIL PROTECTED]>
To: "Foo Ji-Haw" <[EMAIL PROTECTED]>
Cc:
Sent: Wednesday, January 18, 2006 5:01 AM
Subject: Re: restart_count() on Win32
>
> > Just for curiosity how long do you think Geoff Apache1.x will be
> > maintained
>
> for a very, very long time.
According to the Yahoo! slides you gave, they are planning a shift to
Apache2.2 this year...they are side-stepping Apache2?!?
> mind you, with both apache 1.3 and mp1 it may seem lik
Hello Tom,
Thanks for confirming for me it is a Windows Thing.
- Original Message -
From: "Tom Schindl" <[EMAIL PROTECTED]>
To: "Foo Ji-Haw" <[EMAIL PROTECTED]>
Cc:
Sent: Tuesday, January 17, 2006 5:43 PM
Subject: Re: restart_count() on Win32
Hi,
(). If I can figure out how to do
initialise once, I can even try to spawn threads properly.
Can anyone confirm if this is a Windows Thing, or it happens to FreeBSD/
Linux installations as well?
- Original Message -
From: "Tom Schindl" <[EMAIL PROTECTED]>
To: "Foo Ji-H
Hello all,
I am trying my luck again on this issue, which I
never quite understood/ resolved.
Whenever Apache starts/ restarts, it actually does
this twice (the second time to see if it can restart properly).
In my httpd.conf:
PerlModule startup
in startup.pm:
package startup;
use str
Thanks for helping to look Philip. :)
- Original Message -
From: "Philip M. Gollucci" <[EMAIL PROTECTED]>
To: "Foo Ji-Haw" <[EMAIL PROTECTED]>
Cc: "mod_perl List"
Sent: Tuesday, January 10, 2006 1:14 AM
Subject: Re: Where to find Apache2::PAR
Hey Randy,
You're one amazing guy. Did your wife tell you that? :)
Anyway for the effort. Appreciate it. Will definately try it out.
- Original Message -
From: "Randy Kobes" <[EMAIL PROTECTED]>
To: "Philip M. Gollucci" <[EMAIL PROTECTED]&g
Hi all,
I've been using PAR and mp2. Just thought to try
out Apache2::PAR, but realise that it does not come with the mp2 installation.
Checked out http://www.bribes.org/perl/ppm/ but
it's not there either.
Appreciate if anyone can point me in the right
direction to the ppd repository. T
Apologies. Sent to the wrong audience. :P
Quick tip from the Net:
2 different styles of expressing the same thing:
rect.moveLeft: 25 Down: 30
vs
Point p = rect.getLocation();
rect.setLocation( p.X() - 25, p.Y() + 30 );
I know it's not exactly the most efficient, but will it work if we continue
with the current MPM model. The difference is that both the server and the
client use SOAP as the means of communication. When an event occurs, Apache
will delivers the event message via the client's SOAP interface. This wa
I usually go for the easy way out: buy more machines!
- Original Message -
From: "Andreas J. Koenig" <[EMAIL PROTECTED]>
To: "Matt Sergeant" <[EMAIL PROTECTED]>
Cc: "Stas Bekman" <[EMAIL PROTECTED]>; "JT Smith" <[EMAIL PROTECTED]>;
Sent: Wednesday, December 21, 2005 6:25 AM
Subject: Re:
I think from a business perspective it's more on perceived value. If the
client does not care about the choice of language, or is more concerned
about being able to easily find freelance support, then Perl sounds like a
Bad Idea. Most business people know only about Java, .NET, and ASP.
But if the
Have you tried syswrite()? If I read the manual right, it returns undef if
the socket is broken.
- Original Message -
From: "Ivan Heffner" <[EMAIL PROTECTED]>
To: "David Nicol" <[EMAIL PROTECTED]>
Cc: ; "Foo Ji- [EMAIL PROTECTED]"
<[EMAIL PROTECTED]>
Sent: Wednesday, December 21, 2005 3:4
Just went to your company web site and read that you got the White Camel
award. Congrats, both on the award and your new career!
We're talking to the Director of Development here guys... :)
- Original Message -
From: "Stas Bekman" <[EMAIL PROTECTED]>
To: "JT Smith" <[EMAIL PROTECTED]>
Cc
I just asked this question elsewhere, and got a good working response. Below
is my trivialised code:
my $BytesRead = $sock->sysread($buffer,1024);
if (!defined($BytesRead))
{
print "WARNING: Connection lost!\n";
exit;
}
Because sysread is blocking (I do
All right!
- Original Message -
From: "Allison Randal" <[EMAIL PROTECTED]>
To: "Stas Bekman" <[EMAIL PROTECTED]>
Cc: "mod_perl List"
Sent: Friday, December 16, 2005 5:42 AM
Subject: Re: Re: Good mp2 books?
> Stas and I are working on an MP2 book, called simply "mod_perl 2.0
> User Gu
Thanks for the tip Randy.
- Original Message -
From: "Randy Kobes" <[EMAIL PROTECTED]>
To: "Foo Ji-Haw" <[EMAIL PROTECTED]>
Cc:
Sent: Sunday, December 04, 2005 11:29 PM
Subject: Re: Installing modperl with non-ActivePerl perl (eg. PXPerl)
> O
Hello all,
I recently stumbled upon this Perl distribution
called PXPerl (for Windows). It sounds amazing, offering to compile modules
directly from CPAN (and works with 3 major free compilers).
But I gotta ask this: I've been using ActivePerl +
modperl for the longest time. Can modperl w
Ok, I've figured out why PerlOptions -ParseHeaders
does not work. It should be
PerlOptions +ParseHeaders
- Original Message -
From:
Foo Ji-Haw
To: modperl@perl.apache.org
Sent: Friday, November 25, 2005 7:00
PM
Subject: how to disable sending of
headers?
Hi all, I'm using Apache+MP2+Soap::Lite as a
service platform.
One thing I notice is that my soap method returns
the standard headers, plus the ones that the soap generates. Below is a sample
of the actual response:
Date: Fri, 25 Nov 2005 10:56:32 GMTServer:
Apache/2.0.52 (Win32) mod_perl/
Try perl.apache.org for the library documentation, as well as configuration
and installation tips.
- Original Message -
From: "Rony Liemmukda" <[EMAIL PROTECTED]>
To:
Sent: Tuesday, November 22, 2005 3:39 PM
Subject: [ModPerl 2.0] Need help to start my project...
> Hello,
>
> We have t
Hi all, I'd like to write a script that runs only
once during serstart start/ restart. Below are my system specs
OS: Windows 2000 Server
Apache: 2.0.52 (Win32) mod_perl/2.0.1
Perl/v5.8.6
I've read up on Apache2::ServerUtil::restart_count
on http://perl.apache.org/docs/2.0/api/Apache2/Server
I don't think closure is something that is something to avoid. When used
wisely (and perhaps with a bit of experience) it can be rather useful. I
have not used it myself, but I see the potential for it.
Thanks for the enlightenment Perrin.
- Original Message -
From: "John ORourke" <[EMAI
rrect?
- Original Message -
From: "Pratik" <[EMAIL PROTECTED]>
To: "Foo Ji-Haw" <[EMAIL PROTECTED]>
Cc:
Sent: Sunday, October 09, 2005 10:21 PM
Subject: Re: how to share data among modperl processes
> Unless you are running the application in multiple server env
If 'LoadModule perl_module
modules/mod_perl.so' is the only line you put in your httpd.conf, you are
definately missing a few things. Do read up on the documentation in
perl.apache.org for details. Snippet from the site:
Alias /perl/
/home/httpd/httpd-2.0/perl/ SetHandler
perl-scri
Hi all,
I have a simple need where a process can take
minutes to complete. But I want to display some progress bar of sorts to the
user.
My idea is to have the handler call the local url
which does the heavy lifting. Something like this:
http://localhost/job/dojob => launches
=> http://l
Thanks for the link. I stand corrected on the book sales then.
- Original Message -
From: "Perrin Harkins" <[EMAIL PROTECTED]>
To: "Foo Ji-Haw" <[EMAIL PROTECTED]>
Cc: "Boysenberry Payne" <[EMAIL PROTECTED]>; "mod_perl"
Sent: T
> That's completely untrue. No mod_perl development is waiting for Perl6
> in any way.
I agree on your point on mod_perl development. I am glad that it has finally
moved out of 1.999 and into its own namespace this year. I'm still
experiencing some problems with Apache2::Cookies, but that's anothe
I know what you mean.
I have this feeling that Perl is generally 'frozen' until Perl 6 comes out.
Otherwise things must 'move along' quietly. Publishers (O' Reilly) are
complaining that Perl is not a sellout it used to be. That probably caused
the print slump as well.
- Original Message -
I would go with Frank's mod-redirect/ mod-rewrite alternative. It makes for
cleaner code. The downside though is that if your code references images in
the same directory via relative links, then you may have a problem.
- Original Message -
From: "Frank Wiles" <[EMAIL PROTECTED]>
To: "Oct
> The other solution is to have your handler detect that the incoming
> request is for static content and return Apache2::Const::DECLINED
> which should pass control back to the normal static file processing
> in Apache.
I didn't know about DECLINED passing control back to normal flow. That
Do they have a SOAP::Lite::Simple::Java as
well?
- Original Message -
From:
Leo Lapworth
To: John ORourke
Cc: mod_perl Mailing List
Sent: Friday, September 23, 2005 4:06
PM
Subject: Re: Apache2::SOAP newbie
On 23 Sep 2005, at 08:44, John ORourke wrote
Yes, you need to do a bit of 'massaging' of the output SOAP XML to make the
.NET server happy. Most of the simple function calls may not work, so you
have to do a bit of a runaround instead. Let me know if you need some
examples.
- Original Message -
From: "Kurt Hansen" <[EMAIL PROTECTED]
Hi all,
I wonder if you have the same problem as me when
trying to use PAR to create a standalone .EXE program. I'm using the latest PAR
with ActiveState perl 5.8.7.
When I try to run the .EXE program, a dialog box
pops out and show m the 'PL_memory_wrap' error. I've just upgraded my Perl
Hi all,
I am trying to see if mp2 is able to support
modules that create Win32::OLE objects, process it, then destroy
them.
I have a very simple script to try this
task:
use strict;use warnings;use Apache2::Const
-compile => qw(FORBIDDEN OK);use Apache2::RequestRec;use
Apache2::Request;
Hello all,
I am using the following setup:
Apache/2.0.52 (Win32) mod_apreq2-20050712/2.1.3-dev
mod_perl/2.0.1 Perl/v5.8.7
I get the request cookie names like
this:
my $jar =
Apache2::Cookie::Jar->new($r);
my @keys = $jar->cookies();
I notice that the @keys list includes not just the
co
There's not much changes to mp2, from your usage
angle.
In mp1, you use Apache::Request
In mp2, the module is now called
Apache2::RequestUtil. But it has generally the same methods as its mp1
equivalent, including ->request().
You get the Apache2::RequestUtil the same way as in
mp1:
sub h
look nice. :)
- Original Message -
From: "Stephane GUIBOUD-RIBAUD" <[EMAIL PROTECTED]>
To: "Foo Ji-Haw" <[EMAIL PROTECTED]>
Cc:
Sent: Tuesday, September 13, 2005 5:21 PM
Subject: Re: Why does my MP2 crash intermittently?
> Foo Ji-Haw wrote:
>
&
ter *
my_perl=0x01a43a64, unsigned long> count=0, void * * handles=0x,
unsigned long timeout=30, unsigned> long * resultp=0x)
Line 1950 + 0x18 C> perl58.dll!win32_sleep(unsigned int
t=300) Line 2135 + 0x16 C>
perl58.dll!PerlProcSleep(IPerlProc * piPerl=0x015d278
t; <[EMAIL PROTECTED]>
To: "Foo Ji-Haw" <[EMAIL PROTECTED]>
Cc:
Sent: Tuesday, September 13, 2005 3:45 PM
Subject: Re: Why does my MP2 crash intermittently?
> I had the same problem. The only way to solve it was to use the
> Apache2::Reload module. By using this
y and your computer generates the error message. "
Gotta love Microsoft eh??? Mike
- Original Message -
From:
Foo
Ji-Haw
To: modperl@perl.apache.org
Sent: September 12, 2005 10:51 PM
Subject: Why does my MP2 crash
intermittently?
Hello all,
I have set up my MP2 application, which in the
course of development has been reasonably stable. But when I put it under
reasonably load (I have a daemon with 5 threads that call it periodically, and I
browse around the pages with 2 other collegues), sometimes I get this error (s
Hello Perrin,
I meant the time it takes to render the output, as in calling
$template->output;
Thanks for your help anyway.
- Original Message -
From: "Perrin Harkins" <[EMAIL PROTECTED]>
To: "Foo Ji-Haw" <[EMAIL PROTECTED]>
Cc:
Sent: Tuesday, Sept
I would think that HTML::Template is faster, for the simple argument that it
does not need to parse the XSLT and XHTML, though the library may be
C-compiled.
- Original Message -
From: "Perrin Harkins" <[EMAIL PROTECTED]>
To: "Praveen Ray" <[EMAIL PROTECTED]>
Cc:
Sent: Tuesday, September
.
Running it by a cache (cache=>1) seems to make the NEXT interation faster
though. But the first one is always slow.
- Original Message -
From: "David Hodgkinson" <[EMAIL PROTECTED]>
To: "Foo Ji-Haw" <[EMAIL PROTECTED]>
Cc:
Sent: Monday, September 05,
Hi all,
I'm a happy user of HTML::Template on my mp2 setup.
But when it comes to performance, I notice that to populate a loop of some 1500
records, the system takes 2-3 seconds on my P4 2GHz machine. I think that's way
too long, especially on a development machine.
I tried to load the te
Hi all,
I have a small setup development setup on a Windows
2000 Server+Apache 2+ActivePerl 5.8.6+mod_perl 2.0.1. With a setting of 5
threads per child.
I have 3 external clients hitting the server
simultaneously doing batch SOAP calls, plus my local web browser which I browse
around my
I agree with Eric. I love SOAP for the same reasons. You can argue until
the cow comes home and there will still be PHP lovers and Perl lovers
(and some .NETters as well). Diversity is important. But creating a
happy unity is key.
Eric wrote:
At 10:07 AM 8/6/2005, Tony Clayton wrote:
Quoti
Try:
return Apache2::Const::OK;
;)
Ronni wrote:
I have spent many days now searching through the archives and although
they are close to what I am seeing none are exactly like what I have.
I am using Apache 2 and installing ModPerl 2 on a Linux Mandrake 10.1
box. Apache 2 is a recent insta
here?
Perrin Harkins wrote:
On Thu, 2005-06-23 at 12:16 +0800, Foo Ji-Haw wrote:
$r->headers_out->add('Expires'=>CGI::Util::expires('now','http'));
Notice that I have to 'use CGI::Util' to set this to work. CGI::Util
does not expose the
1 - 100 of 139 matches
Mail list logo