Why do you have set MOD_PERL in the environment when running on the command
line? Whether it's Apache or Apache2 doesn't matter it doesn't make sense to
run modules which rely on apache-API from the commandline does it?
Tom
> --- Ursprüngliche Nachricht ---
> Von: Thomas Hilbig <[EMAIL PROTECTED]
Hi,
you are right Jonathan at the moment there's no real DB-Pool implementation
available like one knows it e.g. from Java.
a. Connection-Pool(Connection1, Connection2)
b. Apache-Child-1 "Request-Starts":
-> Connection1 = Pool->fetchConnection();
-> Connection1->executeQuery("SELECT * FROM
Without seeing any code about what you are doing we cann't say much.
Tom
> --- Ursprüngliche Nachricht ---
> Von: Fredrik Lindmark <[EMAIL PROTECTED]>
> An: modperl@perl.apache.org
> Betreff: The apache CPU race..
> Datum: Tue, 6 Dec 2005 03:36:05 -0200
>
>PID COMMAND %CPU TIME #TH #
The description of the problem really looks like that, so I could only
second Perrins suggestion to show us the code in question. I looks like that
you are hitting perl-processes which have a closure or something else and in
mod_perl the code is not recompiled everytime.
Tom
> On Fri, 2005-04-15
Hi,
am I too stupid or does anybody see the problem with the code above doesn't
push an output-filter? When uncommenting PerlOutputFilterHandler line the
filter is invoked but I cannot push them dynamically. Why?
-8<-
PerlSetVar AxDebugLevel 9
PerlFixupHan
Hi,
you'll have to give us more background information. I hope to get you right
but using globals to pass things between request doesn't work because you
can never tell which Apache-Child is used. This is true e.g. mp1 and mp2
with apache in prefork mode.
Take this:
1. Apache-starts and forks to
[...]
As already stated by Joe you have two possibilities:
1. Use Hashslice-Sytanx (very short hand)
my %hash = ();
foreach( $r->param() ) {
@hash{$r->param($_)} = ( 1 );
}
2. For a more verbose version you should use a inner foreach:
my %hash = ();
foreach( $r->param() ) {
foreach( $r-
I think when you don't use raw_values => 1 as parameter you have
to pass your data as references because Storable expects references.
Maybe you could point the module author to mention that in the modules
man-page.
When searching how to use things often the test-suite gives you a good
pointers wh
On Sat, 2004-02-14 at 00:46, Morbus Iff wrote:
> >> (my MaxRequestsPerChild is set to 30)
>
> The webhost uses iHTML for ecommerce thingies, and our experience
> with various boxes and server versions is that weird shit happens
> if iHTML isn't cleaned out regularly. This may not be the case (the
Please always also reply to the list.
No idea I need to see more code to say what's going wrong there. Have
you thought about using one of the session modules available from CPAN?
e.g. http://search.cpan.org/~jbaker/Apache-Session-1.54/Session.pm where
you can store sessions in MySQL, ...
Tom
O
Hi,
although that's more perl than mod_perl related I'd do the following:
1) make Perl-Modules out of e.g. mysql.pl e.g. MyModule::MySQLSupport
2) load them using use MyModule::MySQLSupport in webapp.pl which should
also be a Perl-Module under mod_perl e.g. MyModule::WebApp
3) When you are us
That's no problem at all. I'm running on our production server an
apache2 on port 80(without mod_perl) with an proxy forward to a
mod_perl-apache2 and a mod_perl-apache1.
Although in our case mod_perl1 has its own perl because of various
reasons.
Tom
On Wed, 2004-01-07 at 08:27, Malka Cymbalista
Hello again,
for Apache2 take a look at
http://search.cpan.org/~stas/Apache-Filter-HTTPHeadersFixup-0.01/lib/Apache/Filter/HTTPHeadersFixup.pm
Tom
On Mon, 2003-12-29 at 11:27, Thomas Schindl wrote:
> Why don't you use Apache2/mod_perl2 where you can create
> Protocol-Handlers
I don't think that this is a mod_perl related problem because:
When loading files using require perl remembers that it had already
included them and does not load them once more.
I'd guess that calls 3,4,5 are handled by a Apache-child's 1/2 which
have already loaded the required file.
If you re
Why don't you use Apache2/mod_perl2 where you can create
Protocol-Handlers?
http://perl.apache.org/docs/2.0/user/handlers/protocols.html
Tom
On Sat, 2003-12-27 at 17:03, Jan Algermissen wrote:
> Hi,
>
> I am working on an implementation of a notification system based on HTTP
> and I need to wri
Apache::Request is not part mod_perl itself, but sure it is CPAN-Module
take a look there http://search.cpan.org/~joesuf/libapreq-1.3/
Tom
On Mon, 2003-12-15 at 18:45, Chris Ochs wrote:
> Am I nuts or does Apache::Request not exist in mod perl 1.28? I decided to
> get familiar with using content
What submit-method are you using? GET/POST maybe you are exceeding the
GET-Maximum?
What are you using CGI.pm or Apache::Request? You could retrieve params
using @names = $cgi->param().
OT: You could also use placeholders, prepare the query once and execute
it with your data within the loop.
To
Hi,
I had completely the same problem myself, starting Apache with AxKit.
http://www.gossamer-threads.com/archive/mod_perl_C1/modperl_F7/Problems_installing_mp1_and_apache-1.3.28_P73387/
Tom
On Thu, 2003-11-13 at 13:45, Ken Corey wrote:
> Hi All.
>
> I've had a search through the archives, and
Hi,
Why not using conf.d all conf-files from there get loaded automatically?
Tom
On Tue, 2003-11-11 at 17:37, Graeme Fowler wrote:
> Howdy
>
> I've searched, and searched, for a recipe and/or method for this; I can't find
> one that works :(
>
> Am using a home-rolled Apache 2.0.48 and mod_pe
This is once more a question where you should have looked once more at
the documention at perl.apache.org.
When you execute your perl programm on the commandline you automatically
have "." in your @INC == include path.
Mod_perl is not executed in the directory where your .pm is located, so
you ha
Hi,
That's nothing todo with mod_perl. When doing things like this I'm using
the browsers DHTML-capabilities, loading only the non-static parts. The
only thing mod_perl can help you is to remember which values you've send
to the client and not sending them if they have not changed but this
include
21 matches
Mail list logo