Re: Trouble Compiling Mod_Perl 1.27 on SGI

2002-10-15 Thread Ged Haywood
Hi there, On Mon, 14 Oct 2002, Kent, Mr. John wrote: Having trouble building mod_perl-1.27 against Apache_1.3.27 on an SGI Have you looked at the file mod_perl-1.27/SUPPORT ? Did you build the Perl installation on these machines? Could you use a different compiler? 73, Ged.

ap_rwrite()/ap_rvputs() called in PerlCleanupHandler

2002-10-15 Thread srp
Hello, I have a mod_perl application which does a internal_redirect() and registers a cleanup handler before returning. I am noticing that the cleanup handler executes and i see the following in my log .. [Tue Oct 15 03:27:32 2002] [info] [client XYZ ] (9)Bad file number: client stopped

Can I parse content that has been returned to user by simple cgi script?

2002-10-15 Thread Ruslan U. Zakirov
Hello! I want to upgrade my project with implementing some feature. Project was writen for mod_cgi, but I would like to parse content that was generated by my scripts to implement something like SSI or Apache::UCase and etc. I don't know how to set stacked handler after mod_cgi. May be it's wrong

Re: ap_rwrite()/ap_rvputs() called in PerlCleanupHandler

2002-10-15 Thread Ruslan U. Zakirov
Hello! internal_redirect() The required argument is an absolute URI path on the current server. The server will process the URI as if it were a whole new request, running the URI translation, MIME type checking, and other phases before invoking the appropriate content handler for the new

Re: ap_rwrite()/ap_rvputs() called in PerlCleanupHandler

2002-10-15 Thread Ruslan U. Zakirov
Hello again. May be it helps to solve your problem. is_initial_req() There are several instances in which an incoming URI request can trigger one or more secondary internal requests. An internal request is triggered when internal_redirect() is called explicitly, and it also happens behind the

Re: ap_rwrite()/ap_rvputs() called in PerlCleanupHandler

2002-10-15 Thread srp
Thanks for reply .. Hello! internal_redirect() The required argument is an absolute URI path on the current server. The server will process the URI as if it were a whole new request, running the URI translation, MIME type checking, and other phases before invoking the appropriate

[mp2] segfault deleting ENV variable

2002-10-15 Thread Bradley Baetz
The following one line script will cause apache/mod_perl2 to segfault: delete ::ENV{'PATH'}; I've tried this with both apache-2.0.40/mod_perl-1.99_05/perl-5.8.0 (ie stock RH8), and apache-2.0.43/mod_perl-1.99_07/perl-5.8.0 A backtrace from the later combination gives: #0 0x4024b447 in

mod_perl Guide Patch

2002-10-15 Thread Lee Goddard
Well, not really a patch but a tiny contribution to an excellent guide -- Mr Beckman, I hope this is of use: On/section: guide/performance.html#Using_1_Under_mod_perl_and_be Using $|=1 Under mod_perl and Better print() Techniques Whilst the code is correct, even if it does use

Re: mod_perl Guide Patch

2002-10-15 Thread Per Einar Ellefsen
At 13:07 25.10.2002, Lee Goddard wrote: Well, not really a patch but a tiny contribution to an excellent guide -- Mr Beckman, I hope this is of use: On/section: guide/performance.html#Using_1_Under_mod_perl_and_be Using $|=1 Under mod_perl and Better print() Techniques

mod_perl history

2002-10-15 Thread Per Einar Ellefsen
Hello mod_perlers, I have been working on a document retracing mod_perl's history for a while. While it's not finished yet, I have decided to put it online so that you can all have a look at it and contribute additions which are sorely needed. It currently only deals with mod_perl 1.x, as

Re: [cgiapp] Re: Apache::DBI and CGI::Application with lots of modules.

2002-10-15 Thread Eric Frazier
Hi, I am learning lots of new things, but still working on the problem itself. It seems to be the case that even when I am running under ./httpd -X I have trouble getting the search query to get stuck. If I do something from the mysql monitor like set an order on hold directly with a query,

Re: Apache::DBI and CGI::Application with lots of modules.

2002-10-15 Thread Eric Frazier
Hi, I had to read that over a few times to get it. And now I see that I do indeed have that situation, there are a number of times when I call my $holdstatus = new Holds(); from within a module that also has a new method. What I don't understand is how does my code work at all? Thanks, Eric

Re: CGI parameters appear to be doubled on 8 bit chars...

2002-10-15 Thread darren chamberlain
* Rob Mueller [EMAIL PROTECTED] [2002-10-13 08:00]: Just wondering if anyone has seen this problem before, or has a general solution to it. Basically what we see, is that with some submitted forms, usually with 8 bit data, the POST parameters passed become 'doubled'. The problem is that we

Re: Apache Hello World Benchmarks Updated

2002-10-15 Thread Josh Chamas
Dave Rolsky wrote: On Mon, 14 Oct 2002, Josh Chamas wrote: This is interesting. I should look into upgrading to perl 5.8 on these tests see what difference there may be. You might also see if it makes a difference if you run the tests for a long enough time. I run them at least 60

Re: Can I parse content that has been returned to user by simplecgi script?

2002-10-15 Thread Perrin Harkins
Ruslan U. Zakirov wrote: I want to upgrade my project with implementing some feature. Project was writen for mod_cgi, but I would like to parse content that was generated by my scripts to implement something like SSI or Apache::UCase and etc. You can't do that. However, you can run your CGI

Re: [cgiapp] Re: Apache::DBI and CGI::Application with lots of modules.

2002-10-15 Thread William McKee
On 15 Oct 2002 at 7:12, Eric Frazier wrote: I am learning lots of new things, but still working on the problem itself. It seems to be the case that even when I am running under ./httpd -X I have trouble getting the search query to get stuck. If I do something from the mysql monitor like set

Re: Apache Hello World Benchmarks Updated

2002-10-15 Thread Josh Chamas
Ed wrote: Hi, (as far as i can tell after a quick peek at the code and some debugging) It looks like there is a bug w/ AxKit::run_axkit_engine() and/or Apache::AxKit::Cache::_get_stats() This is really great Ed. Adding the AxGzipOutput On config to the XSLT tests in the benchmark does

current state of conf/code, feedback?

2002-10-15 Thread Paul Simon
Hi all I'm asking for some insight, guidance, comments from the list. I'm currently running a pilot appunder win2000 + apache 2.0.42 + perl5.8 + mod_perl. Mostly, it's running great, much faster than the vanilla CGI version. I think the database connection is slowing it down though... I currently

Re: current state of conf/code, feedback?

2002-10-15 Thread Rafiq Ismail
On Tue, 15 Oct 2002, Paul Simon wrote: variables, such as the DBI handle, offer any benefits (or pain) of a shared connection? You might want to try using Apache::DBI for persistent connections. It is completely transparent to your code, in terms of changes. R. -- Senior Programmer

Re: Apache::DBI for persistent connections

2002-10-15 Thread Paul Simon
I was under the impression that Apache::DBI isn't compatible for this set up: win2000 + apache2.0.42 + perl5.8 + mod_perl1.99 For a multi threaded environment, isn't Apache::DBIPool necessary? I'd rather use Apache::DBI. Rafiq Ismail [EMAIL PROTECTED] wrote: On Tue, 15 Oct 2002, Paul Simon wrote:

Re: Apache::DBI for persistent connections

2002-10-15 Thread Perrin Harkins
Paul Simon wrote: I was under the impression that Apache::DBI isn't compatible for this set up: win2000 + apache2.0.42 + perl5.8 + mod_perl1.99 For a multi threaded environment, isn't Apache::DBIPool necessary? I'd rather use Apache::DBI. Apache::DBIPool doesn't actually exist yet.

Re: current state of conf/code, feedback?

2002-10-15 Thread Ged Haywood
Hi there, On Tue, 15 Oct 2002, Paul Simon wrote: I'm currently running a pilot app under win2000 + apache 2.0.42 + perl5.8 + mod_perl. Is there anything here that spells trouble? That win...thing? Seriously though, you're using very new software. If you want real stability I'd suggest

Is there an easy way to trace / debug Apache::DBI (Postgres) leaks?

2002-10-15 Thread Kirk Bowe
I'm using Apache::DBI connecting to a Postgres db. I'm using Template Toolkit but no explicit db calls from within the templates -- they're all done within the perl modules. Unfortunately after a couple of hours of moderate use Postgres reaches its max_clients level (which is set below max

Re: current state of conf/code, feedback?

2002-10-15 Thread Paul Simon
I have no choice about the win thing. I'd feel much happier using linux and mod_perl 1.x as you suggest. I'm terribly frightenedaboutonly having2 weeks of uptime -that's what the prayings for :) But I'm putting my faith in this very new software and the wonderful people who have been cultivating

Re: current state of conf/code, feedback?

2002-10-15 Thread Perrin Harkins
Paul Simon wrote: I currently have CGI pages caching on the client side, which is helping some, but I'm also going to experiment with CGI::Cache. There are some mod_perl specific version of this too, like the one from the mod_perl Developer's Cookbook (Apache::CacheContent), but these are

Re: Is there an easy way to trace / debug Apache::DBI (Postgres) leaks?

2002-10-15 Thread Frank Wiles
.--[ Kirk Bowe wrote (2002/10/15 at 20:40:15) ]-- | | I'm using Apache::DBI connecting to a Postgres db. I'm using Template | Toolkit but no explicit db calls from within the templates -- they're all | done within the perl modules. | | Unfortunately after a couple of hours

SafeCWD Status

2002-10-15 Thread Josh Bernstein
Whats the staus of the cwd and SafeThread? Will it work with a threaded MPM in Apache 2 yet and safely change to the working directory of the perl script (safecwd). -Joshua Bernstein Systems Administrator University of Arizona

Re: current state of conf/code, feedback?

2002-10-15 Thread Paul Simon
I'm going to change the DBH code. I've witnessed a few problemsso far where the DBHhas crapped out. I'll try Apache::DBI. I've been wrapping my head around thereverse proxy cache, I have it set up on my home servers.It seems to be a really good solutionfor caching, but it'sfurther down the road

Re: Is there an easy way to trace / debug Apache::DBI (Postgres)leaks?

2002-10-15 Thread Perrin Harkins
Kirk Bowe wrote: Unfortunately after a couple of hours of moderate use Postgres reaches its max_clients level (which is set below max httpds in httpd.conf) This is usually caused by mistakes in your connection calls where they have slightly different connect info resulting in multiple

Apache Hello World Benchmarks: AxKit config fixed XSLT, Cocoon benchmarksadded, Tomcat updated to 4.1.12

2002-10-15 Thread Josh Chamas
Hey, I updated the Apache Hello World Benchmarks with some major updates: AxKit config fixed XSLT performance Cocoon XSLT benchmarks added Tomcat updated to 4.1.12 Check them out at http://chamas.com/bench/ Regards, Josh

Finding a memory leak

2002-10-15 Thread Davis, Benjamin
I'm dealing with a large code base here and I'm hoping to find out what is being loaded into memory to make an Apache child jump from 25mb to 145mb (interestingly it seems to only affect one every now and then rather than the whole pool) in about 10 seconds. Is there a way to have Apache dump

Re: mod_perl history

2002-10-15 Thread Alfred Vahau
I just had a look at the historical doc. and its great. Provides a good overview on this great open source project. And I hope more will be added. Alfred Vahau Uni. PNG Per Einar Ellefsen wrote: Hello mod_perlers, I have been working on a document retracing mod_perl's history for a while.

Re: Apache Hello World Benchmarks Updated

2002-10-15 Thread Gerald Richter
FYI, I reposted the benchmarks without the MaxRequestsPerChild 100 set for HTML::Mason Template Toolkit, as it was only Embperl 2.x that needed it. Embperl 2.0b8 has still some real memory leaks. That's why it called beta. Of course they will be fixed before the final release of 2.0.