Re: load average: 24.07, 14.76, 9.20

2000-12-17 Thread Joshua Chamas
Philip Mak wrote: Hi all, I've been having the following problem with my machine (400MHz, 192 MB RAM, 8.4 GB SCSI disk): 1:27am up 3 days, 7:33, 8 users, load average: 24.07, 14.76, 9.20 Every once in a while, the load average gets up to a very high level (at this point,

perl Makefile.PL blows up with Apache 1.3.14

2000-12-17 Thread Gary Geiglein
The httpd.h file for apache_1.3.14 looks like this now #define SERVER_BASEVENDOR "Apache Group" #define SERVER_BASEPRODUCT "Apache" #define SERVER_BASEREVISION "1.3.14" #define SERVER_BASEVERSION SERVER_BASEPRODUCT "/" SERVER_BASEREVISION so the subroutine httpd_version in the

Re: Linux Hello World Benchmarks: +PHP,JSP,ePerl

2000-12-17 Thread G.W. Haywood
Hi all, On Sun, 17 Dec 2000, Gerald Richter wrote: there are so many factors, so they are very difficult to compare. True. But nevertheless I think it's a very useful bit of work because the thing that stands out is that all (server) dynamic content comes at a high cost in processor cycles.

Re: perl Makefile.PL blows up with Apache 1.3.14

2000-12-17 Thread Leon Brocard
Stas Bekman sent the following bits through the ether: It was repeated at least 10 times on the list since 1.3.14 was released -- use the latest release: mod_perl-1.24_01 That's because it's not in the CPAN Apache directory. Maybe it should? ;-) ncftp ...dules/by-module/Apache pwd

Re: perl Makefile.PL blows up with Apache 1.3.14

2000-12-17 Thread Stas Bekman
On Sun, 17 Dec 2000, Leon Brocard wrote: Stas Bekman sent the following bits through the ether: It was repeated at least 10 times on the list since 1.3.14 was released -- use the latest release: mod_perl-1.24_01 That's because it's not in the CPAN Apache directory. Maybe it should?

Re: mod_perl advocacy project resurrection

2000-12-17 Thread Gunther Birznieks
At 01:45 PM 12/10/00 -0800, [EMAIL PROTECTED] wrote: On Sun, 10 Dec 2000, Gunther Birznieks wrote: [much stuff snipped] Things I would never even try with java: 1) Talking any client/server protocol other than URLs. The perl mail/ftp modules are so easy to use and they work great. I

Re: perl Makefile.PL blows up with Apache 1.3.14

2000-12-17 Thread Leon Brocard
Stas Bekman sent the following bits through the ether: It is on CPAN, your mirror is terribly outdated. Time to change the mirror :) ncftp ...dules/by-module/Apache pwd ftp://ftp.funet.fi/pub/languages/perl/CPAN/modules/by-module/Apache/ "The master CPAN site is at FUNET, the Finnish

Re: perl Makefile.PL blows up with Apache 1.3.14

2000-12-17 Thread Stas Bekman
On Sun, 17 Dec 2000, Leon Brocard wrote: Stas Bekman sent the following bits through the ether: It is on CPAN, your mirror is terribly outdated. Time to change the mirror :) ncftp ...dules/by-module/Apache pwd ftp://ftp.funet.fi/pub/languages/perl/CPAN/modules/by-module/Apache/

can't flush buffer?

2000-12-17 Thread quagly
As a test of my new mod_perl abilities I wrote a trivial SQL client. It works, but if the query returns many rows then it takes a while. As a first step I thought I would call $r-rflush; with every row printed but this does not work. I also tried $|=0; with no effect. Here is the full module,

Re: can't flush buffer?

2000-12-17 Thread Ajit Deshpande
On Sun, Dec 17, 2000 at 09:54:38AM -0800, quagly wrote: As a test of my new mod_perl abilities I wrote a trivial SQL client. It works, but if the query returns many rows then it takes a while. As a first step I thought I would call $r-rflush; with every row printed but this does not work.

Re: can't flush buffer?

2000-12-17 Thread Stas Bekman
On Sun, 17 Dec 2000, quagly wrote: As a test of my new mod_perl abilities I wrote a trivial SQL client. It works, but if the query returns many rows then it takes a while. As a first step I thought I would call $r-rflush; with every row printed but this does not work. I also tried $|=0;

Re: load average: 24.07, 14.76, 9.20

2000-12-17 Thread Perrin Harkins
Joshua Chamas wrote: Use Apache::Resource, PerlModule everything you can especially Apache::ASP, and use Apache::ASP-Loader() to precompile your scripts. If you are getting out of memory errors, make sure your MaxRequests are low (200 often), MaxClients low (100 often), and use a mod_proxy

Re: load average: 24.07, 14.76, 9.20

2000-12-17 Thread Buddy Lee Haystack
How much of a performance penalty does using Apache::SizeLimit have? Is there some quantitative way of setting how often to check process size with the "Apache::SizeLimit::CHECK_EVERY_N_REQUESTS = 10;" that results in the best performance? Perrin Harkins wrote: I find Apache::SizeLimit is

Re: Linux Hello World Benchmarks: +PHP,JSP,ePerl

2000-12-17 Thread Perrin Harkins
Gunther Birznieks wrote: But it's a shame that the only way to get faster than PHP is to write a raw Mod_perl handler according to the benchmarks. All the other mod_perl tools seem slower. It makes sense though. All the other tools do more setup work on each request: parsing input,

strange caching

2000-12-17 Thread Thomas Bach
Hello list at first, sorry for my english, my motherlanguage is (swiss)-german i'm not (yet) that used with this stuff, but i've a really strange problem i'm using apache (1.3.12), mod-perl (1.21), Perl (5.005_03 built for i586-linux),DBI (1_14), mySQL (3.22.32) this is only my test- and

Re: strange caching

2000-12-17 Thread Stas Bekman
On Sun, 17 Dec 2000, Thomas Bach wrote: Hello list at first, sorry for my english, my motherlanguage is (swiss)-german i'm not (yet) that used with this stuff, but i've a really strange problem i'm using apache (1.3.12), mod-perl (1.21), Perl (5.005_03 built for i586-linux),DBI (1_14),

Re: load average: 24.07, 14.76, 9.20

2000-12-17 Thread Jeremy Howard
Perrin Harkins wrote: Buddy Lee Haystack wrote: How much of a performance penalty does using Apache::SizeLimit have? Not enough that you'll notice it. It really depends on 2 things: - What OS you're on - How complex your scripts are. Here's the code that does the size check, which

RFC: Hello World 2000 Benchmark

2000-12-17 Thread Joshua Chamas
Hey, I'd like some comments on the Hello World 2000 benchmark that I am creating. One of the great failings of the Hello World benchmark is that it doesn't address the runtime execution of various web application environments. Perl is oft stated to provide better runtime execution for web

Re: can't flush buffer?

2000-12-17 Thread quagly
Yes, I have read all of that. That is what I am following. It just doesn't work. ~quagly

Float vs Int? [ WAS: Re: RFC: Hello World 2000 Benchmark ]

2000-12-17 Thread Joshua Chamas
Joshua Chamas wrote: Hey, I'd like some comments on the Hello World 2000 benchmark that I am creating. One of the great failings of the Hello World benchmark is that it doesn't address the runtime execution of various web application environments. It seems that the assumption of a

RE: strange caching

2000-12-17 Thread Thomas Bach
!thanks alot! i don't yet look really through, but once i'll ;) fact is: IT WORKS! [..] sometimes i can reload the page and then it shows me once the old datas anothertime the new datas (internet explorer alternately and netscape navigator 'randomly') if a modifiy/save the script

Re: ANNOUNCEMENT: NEW VERSION: HTML::Template 2.1

2000-12-17 Thread Eric Cholet
ANNOUNCEMENT: NEW VERSION: HTML::Template 2.1 HTML::Template - a Perl module to use HTML Templates Does it support ELSIF yet? -- Eric

Re: can't flush buffer?

2000-12-17 Thread quagly
oops, typos in my message. In fact, I have done just as you suggest, but it doesn't work. Thanks, ~quagly

Re: Mod_perl vs mod_php

2000-12-17 Thread Jim Winstead
On Dec 13, Roger Espel Llima wrote: So, does anyone know what PHP does? Does it parse the mixture of PHP and HTML every time? Does it keep a cache? Does it limit the size of this cache (which Apache::Registry doesn't)?. How big does a typical Apache/PHP process get? both php3 and php4

Re: Email (mod_perl) Apache module?

2000-12-17 Thread George Sanderson
At 09:32 AM 12/15/00 -0300, you wrote: Jeremy Howard wrote: IMHO, the best open source WebMail servers are PHP based I have this dangling idea of building a TWIG lookalike (in Perl), with a 'plug-in'/'module' structure, so I may write the email client, and others fill with their desired

Re: RFC: Hello World 2000 Benchmark

2000-12-17 Thread Perrin Harkins
Joshua Chamas wrote: The first of these runtime benchmarks is geared towards templating or embedded environments like ASP,PHP,Embperl,JSP,Mason ... the Hello World 2000 benchmark below has these characteristics: 2+ levels of code layering 1 rand() value per request 6 for loops

RFC: Apache::FileMan

2000-12-17 Thread George Sanderson
I have been getting some good feedback on the Apache::FileMan module. FileMan provides a file manager for a web sites through a web browser. It is a extensive rewrite of the Apache::AutoIndex.pm module (written by Philippe M. Chiasson), which in turn was a remake of the autoindex Apache module.