Caching DB queries amongst multiple httpd child processes

2000-02-03 Thread Peter Skipworth
Does anyone have any experience in using IPC shared memory or similar in caching data amongst multiple httpd daemons ? We run a large-ish database dependent site, with a mysql daemon serving many hundreds of requests a minute. While we are currently caching SQL query results on a per-process

Re: mod_perl with Stronghold

2000-02-03 Thread David M. Davisson
Been running with it for almost three years now. What's the question? David M. Davisson [EMAIL PROTECTED] - Original Message - From: J. Horner [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Wednesday, February 02, 2000 7:02 AM Subject: mod_perl with Stronghold I searched the

Re: mod_perl with Stronghold

2000-02-03 Thread Sander van Zoest
On Wed, 2 Feb 2000, J. Horner wrote: I searched the archives, but no mention of this. Does anyone have any experience with mod_perl and Stronghold? We run StrongHold with mod_perl/1.21 (and other stuff), without any problems. Read INSTALL.simple.stronghold to give you a start on how to build

Re: XML applications in mod_perl/apache xml project (fwd)

2000-02-03 Thread Gerald Richter
Hi, I embarking on writing a mod_perl handler that accepts XML posted from client apps/browsers and then does "stuff" with the received XML snippets. I would like to take advantage of some of the projects discussed at xml.apache.org (The Apache XML Project), but I'm not sure how they fit

Re: XML applications in mod_perl/apache xml project (fwd)

2000-02-03 Thread brian moseley
i actually started writing a perl port of cocoon, but i only got a couple classes done before it became obvious that we weren't actually going to use it at work. however, cocoon itself is pretty simple. and the project leaders are definitely interested in having a perl port. one of my biggest

Re: lookup_uri and access checks

2000-02-03 Thread G.W. Haywood
Hi there, On Wed, 2 Feb 2000, Paul J. Lucas wrote: I have code that contains the line: $r-lookup_uri( $r-param( 'pm_uri' ) )-filename; [snip] However, if I have an access restriction that forbids access to files ending in a .pm extension and the URI maps to

Re: Using network appliance Filer with modperl

2000-02-03 Thread R. F. Lens
Hi, We've been running a modperl environment 'on' a NetApp since dec 1997 and would't even dare to think about going back;). We've found no gotcha's. Iff you can afford it I can really recommend it. The way we use it is that we store all configs, libraries and sites on the netapp. As a front-end

Re: Embperl/mod_perl name space problems?

2000-02-03 Thread Gerald Richter
The server seems to be putting the 'included'embperl files into the same namespace. As long as you don't force EMbperl to do otherwise, every Embperl will run in it's own namespace Each page works fine if you hup the server, going from one section of the site to annother results in the top nav

Re: RFD: comp.infosystems.www.modperl

2000-02-03 Thread Randal L. Schwartz
The following message is a courtesy copy of an article that has been posted to news.groups as well. "jiminy" == jiminy [EMAIL PROTECTED] writes: jiminy Mod_perl is becoming a widely used method for developing jiminy dynamic web pages, superceding in many ways CGI. While jiminy discussion of

Re: Caching DB queries amongst multiple httpd child processes

2000-02-03 Thread Peter Haworth
Peter Skipworth wrote: Does anyone have any experience in using IPC shared memory or similar in caching data amongst multiple httpd daemons ? We run a large-ish database dependent site, with a mysql daemon serving many hundreds of requests a minute. While we are currently caching SQL query

Undefined of PL_siggv in mod_perl.c

2000-02-03 Thread ignasi . roca
Hi, My environment is apache.1.3.9, mod_perl-1.21, perl5.005_63. When I do make to compile mod_perl-1.21, from src directory, I have the undefine of identifier PL_siggv in the mod_perl.c modul. Is anyone working with the development version of perl5, the perl5.005_63 ? Doesn't any anyone know

RE: Undefined of PL_siggv in mod_perl.c

2000-02-03 Thread Eric Cholet
Hi, My environment is apache.1.3.9, mod_perl-1.21, perl5.005_63. When I do make to compile mod_perl-1.21, from src directory, I have the undefine of identifier PL_siggv in the mod_perl.c modul. Is anyone working with the development version of perl5, the perl5.005_63 ? Doesn't any

Re: Using network appliance Filer with modperl

2000-02-03 Thread Tim Bunce
On Thu, Feb 03, 2000 at 01:01:43PM +0100, R. F. Lens wrote: Hi, We've been running a modperl environment 'on' a NetApp since dec 1997 and would't even dare to think about going back;). We've found no gotcha's. Iff you can afford it I can really recommend it. The way we use it is that we

Re: mod_perl with Stronghold

2000-02-03 Thread Vivek Khera
"JH" == J Horner [EMAIL PROTECTED] writes: JH I searched the archives, but no mention of this. Does anyone have any JH experience with mod_perl and Stronghold? It works just fine like any other apache module. mod_perl has stronghold awareness for the configuration process. just be sure you

Re: cross site scripting security issue headsup

2000-02-03 Thread Bill Moseley
At 05:32 PM 02/02/00 -0700, Marc Slemko wrote: I thought about not putting the mod_perl specific one in there at all (ie. just the CGI.pm one, BTW about the CGI.pm example: use CGI (); $Text = "foobbar"; $URL = "foobbar.html"; print CGI::escapeHTML($Text), "BR"; Sorry for being off topic, but

Bug in mod_perl makefile?

2000-02-03 Thread Martin A. Langhoff
Hi, I've just got my apache/modperl setup to work. This little nastie took me 2 days to find. In my /usr/src directory, I had: - apache_1.3.3 [dir] - apache_1.3.9 [dir] - mod_perl-1.21 [dir] and was compiling modperl/perl with: #perl Makefile.PL

Re: Caching DB queries amongst multiple httpd child processes

2000-02-03 Thread DeWitt Clinton
On Thu, 3 Feb 2000, Peter Skipworth wrote: Does anyone have any experience in using IPC shared memory or similar in caching data amongst multiple httpd daemons ? Well, I just released IPC::Cache version 0.02 to CPAN. Two major caveats, however -- first, it is not currently in production on

Re: Using network appliance Filer with modperl

2000-02-03 Thread Elizabeth Mattijsen
Hi, is I can step in here... ;-) At 15:11 2/3/00 +, Tim Bunce wrote: As a front-end we have 'cheap' PC's running Linux. The disks in the PC's are only used for the OS and temporary storage of logs, etc. What level of web traffic are you handling 'from' the netapp? E.g., how much traffic

Re: RFD: comp.infosystems.www.modperl

2000-02-03 Thread William P. McGonigle
--- Randal L. Schwartz wrote: The mod-perl mailing list (at [EMAIL PROTECTED]) does not yet have excessive traffic. Perhaps it is a bit hard to find --- end of quote --- You're too kind. It's right there on the homepage. Maybe it deserves a link in the unordered list near the top, though. I

New Bloke question - modifying canned footer (Eagle book)

2000-02-03 Thread Oliver Holmes ITS 1999
Hi there, I've got the canned footer (Eagle book chapter 4) up and running, and it edits html files on the local host fine using the Files ~ "\.html$"... directive. I was wondering how to implement the footer so that it appeared on all html files (ie. external files), and not just local

Re: New Bloke question - modifying canned footer (Eagle book)

2000-02-03 Thread Vivek Khera
"OHI1" == Oliver Holmes ITS 1999 [EMAIL PROTECTED] writes: OHI1 Hi there, OHI1 I've got the canned footer (Eagle book chapter 4) up and running, and it edits html files on the local host fine using the Files ~ "\.html$"... directive. OHI1 I was wondering how to implement the footer so that it

Re: lookup_uri and access checks

2000-02-03 Thread Paul J. Lucas
On Thu, 3 Feb 2000, G.W. Haywood wrote: On Wed, 2 Feb 2000, Paul J. Lucas wrote: I have code that contains the line: $r-lookup_uri( $r-param( 'pm_uri' ) )-filename; [snip] However, if I have an access restriction that forbids access to files ending in a .pm

Re: Caching DB queries amongst multiple httpd child processes

2000-02-03 Thread Simon Rosenthal
At 03:33 PM 2/3/00 +1100, Peter Skipworth wrote: Does anyone have any experience in using IPC shared memory or similar in caching data amongst multiple httpd daemons ? We run a large-ish database dependent site, with a mysql daemon serving many hundreds of requests a minute. While we are

Re: RFD: comp.infosystems.www.modperl

2000-02-03 Thread Bill Jones
From: [EMAIL PROTECTED] (Randal L. Schwartz) Date: 03 Feb 2000 06:19:54 -0800 Subject: Re: RFD: comp.infosystems.www.modperl If this is your only motivation to create a news group, I would vote no. When the mailing list traffic gets excessive, it's time to start a newsgroup. That has not

Re: lookup_uri and access checks

2000-02-03 Thread G.W. Haywood
Hi there, On Thu, 3 Feb 2000, Paul J. Lucas wrote: Are you checking the status of the subrequest? No. Intentionally. As I wrote, I don't care what Apache says about the accessibility of the file. I *will* read it. All I want to do is suppress the "client denied by server request"

Re: Why I think mod_ssl should be in front-end

2000-02-03 Thread Vivek Khera
"TM" == Tom Mornini [EMAIL PROTECTED] writes: TM 2) Better scalability. I've head (but never benchmarked) that SSL in TMgeneral is 100 times more processor intensive than non-ssl connections. TMI want my mod_perl server running mod_perl, not mod_ssl! In a TMhigh-volume site you're

Re: Using network appliance Filer with modperl

2000-02-03 Thread Stas Bekman
On Thu, 3 Feb 2000, Oleg Bartunov wrote: [snipped] Stas, are you sure DESTROY executed when children died ? I'm using ApacheDBI and have problem with DESTROY when I use finish or disconnect methods. Of course! This works for me: die.pl use MyRun; print

Re: Why I think mod_ssl should be in front-end

2000-02-03 Thread Tom Mornini
On Thu, 3 Feb 2000, Vivek Khera wrote: "TM" == Tom Mornini [EMAIL PROTECTED] writes: TM 2) Better scalability. I've head (but never benchmarked) that SSL in TMgeneral is 100 times more processor intensive than non-ssl connections. TMI want my mod_perl server running mod_perl, not

Re: Bug in mod_perl makefile?

2000-02-03 Thread Stas Bekman
On Thu, 3 Feb 2000, Martin A. Langhoff wrote: Hi, I've just got my apache/modperl setup to work. This little nastie took me 2 days to find. In my /usr/src directory, I had: - apache_1.3.3 [dir] - apache_1.3.9 [dir] - mod_perl-1.21 [dir] and was

Re: Why I think mod_ssl should be in front-end

2000-02-03 Thread Vivek Khera
"TM" == Tom Mornini [EMAIL PROTECTED] writes: If you have a high volume site that uses SSL, you should really be offloading the SSL processing to dedicated cryptography hardware. TM A fairly new option, I believe, and an excellent point. Not really. I saw these boards available at least 2

benchmarking mod_perl

2000-02-03 Thread J. Horner
I'm sorry if this has been asked, but I haven't seen the answer. After you wonderful people pointed me in the right direction for making mod_perl with Stronghold, I'm now the proud parent of a mod_perl enabled stronghold server. How to I let my new baby stretch her wings? What good benchmarks

Re: RFD: comp.infosystems.www.modperl

2000-02-03 Thread John Siracusa
On 2/3/00 1:17 PM, Bill Jones wrote: however, that doesn't mean that the 'experts' will frequent the newsgroup more than a mailing list - people tend to start flame wars more in a usenet setting... OTOH, it's a lot easier to track and respond to particular issues/problems in a threaded

Re: memory leaks redux

2000-02-03 Thread Riardas epas
On Sat Jan 29 13:11:25 2000 + Mike Whitaker wrote: [EMAIL PROTECTED] (Doug MacEachern) wrote: there are hints in the SUPPORT doc on how to debug such problems. there was also several "Hanging process" threads in the past weeks with more tips, search in the archives for keywords gdb,

Re: RFD: comp.infosystems.www.modperl

2000-02-03 Thread Randal L. Schwartz
"John" == John Siracusa [EMAIL PROTECTED] writes: John OTOH, it's a lot easier to track and respond to particular John issues/problems in a threaded setting like Usenet. Hmm. Get a threaded mailreader. It certainly changed my mail reading. :) -- Randal L. Schwartz - Stonehenge Consulting

Re: benchmarking mod_perl

2000-02-03 Thread Joshua Chamas
"J. Horner" wrote: I'm sorry if this has been asked, but I haven't seen the answer. After you wonderful people pointed me in the right direction for making mod_perl with Stronghold, I'm now the proud parent of a mod_perl enabled stronghold server. How to I let my new baby stretch her

RE: Why I think mod_ssl should be in front-end

2000-02-03 Thread mads
On 3. februar 2000 19:49 Tom Mornini wrote: 2) Better scalability. I've head (but never benchmarked) that SSL in general is 100 times more processor intensive than non-ssl connections. That would have to be if you didn't cache session keys and had to set up a new symmetric key for every

Re: RFD: comp.infosystems.www.modperl

2000-02-03 Thread brian moseley
On Thu, 3 Feb 2000, Kent Perrier wrote: "Randal L. Schwartz" wrote: "John" == John Siracusa [EMAIL PROTECTED] writes: John OTOH, it's a lot easier to track and respond to particular John issues/problems in a threaded setting like Usenet. Hmm. Get a threaded mailreader. It

Re: RFD: comp.infosystems.www.modperl

2000-02-03 Thread Tim Peoples
Yet, strangely, *this* thread seems to have threaded nicely (at least in 'mutt'). Tim. On Thu, Feb 03, 2000 at 02:54:41PM -0600, Kent Perrier wrote: "Randal L. Schwartz" wrote: "John" == John Siracusa [EMAIL PROTECTED] writes: John OTOH, it's a lot easier to track and respond to

Performance advantages to one large, -or many small mod_perl program?

2000-02-03 Thread Keith Kwiatek
Hello, Is there any performance advantage (speed, memory consumption) to creating a single, large, mod_perl program that can handle various types of "requests" for database data (fetchUserData fetchPaymentData, fetchSubscriptionData) as opposed to many small mod_perl scripts each related

Embperl: loop control bug

2000-02-03 Thread Christian Gilmore
Embperl (1.2.0) causes a core dump when I put in a loop control statement. For instance, in the following snippet of code, when the 'last' line is reached, the apache child dumps core. [- $i = 0 -] [$ while ($i 10) $] [+ $i +]br [$ if ($i == 5) $] [- last -] [$ endif $] [-

How to tell what is using how much memory

2000-02-03 Thread William Deegan
Greetings, Is there a way to get mod_perl to tell how much memory is being used by each module and compiled scripts? -Bill begin:vcard n:Deegan;William tel;fax:650-413-1355 tel;work:650-598-3858 x-mozilla-html:FALSE url:http://www.iescrow.com org:iEscrow,Inc. version:2.1 email;internet:[EMAIL

Re: lookup_uri and access checks

2000-02-03 Thread Ken Williams
[EMAIL PROTECTED] (G.W. Haywood) wrote: Hi there, On Thu, 3 Feb 2000, Paul J. Lucas wrote: Are you checking the status of the subrequest? No. Intentionally. As I wrote, I don't care what Apache says about the accessibility of the file. I *will* read it. All I want to do is suppress the

Re: Performance advantages to one large, -or many small mod_perl program?

2000-02-03 Thread Stas Bekman
Is there any performance advantage (speed, memory consumption) to creating a single, large, mod_perl program that can handle various types of "requests" for database data (fetchUserData fetchPaymentData, fetchSubscriptionData) as opposed to many small mod_perl scripts each related to a

Re: How to tell what is using how much memory

2000-02-03 Thread Stas Bekman
Is there a way to get mod_perl to tell how much memory is being used by each module and compiled scripts? Yes, Doug presented a few techniques at the last Perl Conference. I will put parts of it into a guide at some time in the future ... it's in "Part III - Debugging and Optimizing mod_perl

Re: Proxy example in eagle book does not work

2000-02-03 Thread Jason Bodnar
I'm running a mod_perl proxy module similar to the one in the book. I'm curious why you say Keep-Alive is a problem? Is your concern performance because of timeout settings, or something else? I'm not exactly sure what the problem is, but when Keep-Alive is passed via LWP images are very

Registry scripts slower than handlers: Why?

2000-02-03 Thread Jie Gao
On Thu, 3 Feb 2000, Joshua Chamas wrote: I regrouped the HelloWorld benchmark data at http://www.chamas.com/bench/ recently, so that it gives you a more informative comparison of the relative startup costs of web environments on a per platform basis. Registry scripts run slower according to

Re: Why I think mod_ssl should be in front-end

2000-02-03 Thread Tom Mornini
On Thu, 3 Feb 2000, Vivek Khera wrote: "TM" == Tom Mornini [EMAIL PROTECTED] writes: If you have a high volume site that uses SSL, you should really be offloading the SSL processing to dedicated cryptography hardware. TM A fairly new option, I believe, and an excellent point. Not

Re: RFD: comp.infosystems.www.modperl

2000-02-03 Thread G.W. Haywood
Hi all, On Thu, 3 Feb 2000, Tim Peoples wrote: Yet, strangely, *this* thread seems to have threaded nicely (at least in 'mutt'). Well, sort of. I use pine and the inbox default sort is as received. Which means that I seem to see most of the answers before I see the questions.

Re: Registry scripts slower than handlers: Why?

2000-02-03 Thread Joshua Chamas
Jie Gao wrote: On Thu, 3 Feb 2000, Joshua Chamas wrote: I regrouped the HelloWorld benchmark data at http://www.chamas.com/bench/ recently, so that it gives you a more informative comparison of the relative startup costs of web environments on a per platform basis. Registry scripts

[Fwd: Registry scripts slower than handlers: Why?]

2000-02-03 Thread Gerd Kortemeyer
Jie Gao wrote: Registry scripts run slower according to the benchmark data here. Presuming both were preloaded at server startup, can anybody explain this slowness? Slow is relative ... still a lot faster than vanilla cgi. But registry needs to emulate a cgi-like environment before

RE: Embperl: loop control bug

2000-02-03 Thread Gerald Richter
Embperl (1.2.0) causes a core dump when I put in a loop control statement. For instance, in the following snippet of code, when the 'last' line is reached, the apache child dumps core. [- $i = 0 -] [$ while ($i 10) $] [+ $i +]br [$ if ($i == 5) $] [- last -] [$ endif

Apache::ASP

2000-02-03 Thread John DiFini
Does Apache::ASP provide access to COM objects on UNIX if a cross-platform toolkit such as MainWin is used? In an FAQ, a similar question is asked about ActiveX objects. The answer is, "Only under Win32 will developers have access to ActiveX objects through the perl Win32::OLE interface. This

Re: Proxy example in eagle book does not work

2000-02-03 Thread Doug Kyle
Jason Bodnar wrote: On 19-Jan-00 Doug MacEachern wrote: On Fri, 14 Jan 2000, Jason Bodnar wrote: A line in the proxy example of the eagle book on page 380 does not seem to work (entirely): The line: $r-headers_in-do(sub {$request-header(@_);}); what if you change that

Re: XML applications in mod_perl/apache xml project (fwd)

2000-02-03 Thread Sander van Zoest
I embarking on writing a mod_perl handler that accepts XML posted from client apps/browsers and then does "stuff" with the received XML snippets. I would like to take advantage of some of the projects discussed at xml.apache.org (The Apache XML Project), but I'm not sure how they fit into

Re: RFD: comp.infosystems.www.modperl

2000-02-03 Thread Ask Bjoern Hansen
On Thu, 3 Feb 2000, Bill Jones wrote: [...] I have to whole heartily agree. I couldn't, at first glance, find the mod_perl mailing list; but once I did, the posters here proved very helpful. I believe that once more people see the mailing ... if you fail to read the file called SUPPORT when

Re: Apache::ASP

2000-02-03 Thread Joshua Chamas
John DiFini wrote: Does Apache::ASP provide access to COM objects on UNIX if a cross-platform toolkit such as MainWin is used? In an FAQ, a similar question is asked about ActiveX objects. The answer is, "Only under Win32 will developers have access to ActiveX objects through the perl