RE: RFC: DBI::Prof

2000-11-28 Thread Henrik Tougaard
> From: Perrin Harkins [mailto:[EMAIL PROTECTED]] > On Tue, 28 Nov 2000, Stas Bekman wrote: > > And fetch()es are quite irrelevant for performance > improvements since they > > never change unless you compare TCP/IP vs UNIX sockets or one driver > > against the other. > > I find the fetch inform

Apache::SSI design questions

2000-11-28 Thread Ken Williams
Hi, A recent set of patches sent to me for Apache::SSI left me wondering about a couple of design issues, so I thought I'd turn to the list. 1) Is it preferred to use POSIX::strftime() for time formatting, or Date::Format::strftime()? One solution would be to dynamically load one or the o

1.24 to 1.24_01 spinning httpds on startup (solved)

2000-11-28 Thread Michael J Schout
About a month or 2 ago, I had posted a problem where I tried to upgrade from: Redhat Linux 6.2, perl 5.6.0 Apache 1.3.12 mod_perl 1.24 mod_ssl 2.6.6 to Redhat Linux 6.2 perl 5.6.0 Apache 1.3.14 mod_perl 1.24_01 mod_ssl 2.7.1 And reported that after doing this, my httpds would spin on startup.

Re: Should I use CGI.pm?

2000-11-28 Thread Peter J. Schoenster
On 28 Nov 2000, at 18:54, quagly wrote: > I am working my way through the eagle book. I have not used CGI.pm > before. It is used in many (most?) of the examples. > > Is it worth learning to use it? > > I am not clear whether the authors are using it because the think it > is the best wa

Re: efficient mod_perl alternatives to fork()?

2000-11-28 Thread Ken Williams
[EMAIL PROTECTED] (Paul) wrote: >I'm writing module code which (for backward compatibility with the CGI >it's replacing) needs to be able to execute commands from a file. >(~urgh~) The files have usually been ksh and/or Perl. Commonly, they >contain a directive to execute a line of shell script. >

Should I use CGI.pm?

2000-11-28 Thread quagly
I am working my way through the eagle book. I have not used CGI.pm before. It is used in many (most?) of the examples. Is it worth learning to use it? I am not clear whether the authors are using it because the think it is the best way to go, or because they already know it ( or c

Apache::MP3 Problem?

2000-11-28 Thread Sean Keplinger
The Apache::MP3 module allows you to stream MP3 files from your webserver -- it's a pretty spiffy little interface. Everything appears to be working fine, but when I try to stream an MP3, I get the following error in my error_log: [Tue Nov 28 20:01:54 2000] [error] [client x.x.x.x] need AuthName

Re: RFC: DBI::Prof

2000-11-28 Thread Stas Bekman
On Tue, 28 Nov 2000, Matt Sergeant wrote: > On Wed, 29 Nov 2000, Fabrice Scemama wrote: > > > It would be nice if Tim Bunce simply added it as a parameter > > to DBI's existing methods. Why not ask him? > > I think most people would prefer to see it as a separate module. Generally > people do t

Re: RFC: DBI::Prof

2000-11-28 Thread Perrin Harkins
On Tue, 28 Nov 2000, Stas Bekman wrote: > Looks like it does pretty much the same but returns too much info, which > makes it quite hard to use when you have 100+ queries in some requests :) I suspect it would be pretty easy to add in a threshold like the one in your module. > And fetch()es are

Re: RFC: DBI::Prof

2000-11-28 Thread Matt Sergeant
On Wed, 29 Nov 2000, Fabrice Scemama wrote: > It would be nice if Tim Bunce simply added it as a parameter > to DBI's existing methods. Why not ask him? I think most people would prefer to see it as a separate module. Generally people do their query optimisations outside of DBI (and Perl), using

Re: RFC: DBI::Prof

2000-11-28 Thread Fabrice Scemama
It would be nice if Tim Bunce simply added it as a parameter to DBI's existing methods. Why not ask him? Fabrice Aaron Ross wrote: > > On Tue, 28 Nov 2000, Stas wrote: > > possible SQL calls manually, so I wrote this simple profiler. Take a look > > and tell me if you think it worths releasing

DBI Problem

2000-11-28 Thread Bob Foster
Hi Folks, Everything is working great but I can't make a connection to my Oracle database (which is on another server) using mod_perl. -Perl 5.005_03 is working great. -mod_perl 1.24_01 is working great with apache 1.3.14 -DBI 1.14 connections are working great with DBD Oracle 1.06 I can conne

Re: efficient mod_perl alternatives to fork()?

2000-11-28 Thread Mike Janson
You don't mention which OS you're using, but in Richard Stevens' _Advanced Programming in the UNIX Environment_, on p.189 he states: "Many current implementations don't perform a complete copy of the parent's data, stack, and heap, since a fork is often followed by an exec. Instead, a techniq

Re: RFC: DBI::Prof

2000-11-28 Thread Matt Sergeant
On Tue, 28 Nov 2000, Stas Bekman wrote: > Or is there any reason for not using DBI::? Tim mandates it. DBI:: is reserved for DBI only. DBD::* is reserved for DBD drivers only, anything else goes in DBIx. -- /||** Director and CTO ** //||** AxKit.com Ltd ** ** XML Applicati

efficient mod_perl alternatives to fork()?

2000-11-28 Thread Paul
Hi all. I'm writing module code which (for backward compatibility with the CGI it's replacing) needs to be able to execute commands from a file. (~urgh~) The files have usually been ksh and/or Perl. Commonly, they contain a directive to execute a line of shell script. Ideally, such commands will

Re: RFC: DBI::Prof

2000-11-28 Thread Stas Bekman
> On Tue, 28 Nov 2000, Stas Bekman wrote: > > I have a huge project with lots of tables, and the performance wasn't that > > well. So I've started to review the tables definitions and have found that > > some indices were missing. I was sick from doing the tracing of all > > possible SQL calls man

Re: Does mod_perl have anything to do with KeepAlive?

2000-11-28 Thread Stas Bekman
On 28 Nov 2000, Joe Schaefer wrote: > Stas Bekman <[EMAIL PROTECTED]> writes: > > > This is not a real world benchmark. It may generate the real world > > load, but not the real world usage. And once you realize that this > > cool speedup that you show doesn't really happen. > > > > Of course

Re: Does mod_perl have anything to do with KeepAlive?

2000-11-28 Thread Joe Schaefer
Stas Bekman <[EMAIL PROTECTED]> writes: > This is not a real world benchmark. It may generate the real world > load, but not the real world usage. And once you realize that this > cool speedup that you show doesn't really happen. > Of course not- I only posted those results to show that under c

Re: Apache::Request Under Win32?

2000-11-28 Thread Randy Kobes
On Tue, 28 Nov 2000, Ryan Adams wrote: > > Excuse me if this is a ridiculous question, but is there any way > to install Apache::Request on a Windows box without VC++? [ ... ] Hi, No - it requires a C compiler ... Even with VC++, though, some changes to the distribution are needed to get it

Survey Results from "Building a ModPerl ISP for you!"

2000-11-28 Thread Joshua Chamas
Hey, Below are the results of the survey I sent out a couple weeks back. Thanks again for all your responses. --Joshua > 1. How many dynamic web requests do you serve per month? > [8] up to 10M pages > [5] 10M - 100M pages > [ ] 100M - 1G pages > [ ] more than 1 gig pages > > 2. How man

Re: RFC: DBI::Prof

2000-11-28 Thread Aaron Ross
On Tue, 28 Nov 2000, Stas wrote: > possible SQL calls manually, so I wrote this simple profiler. Take a look > and tell me if you think it worths releasing on CPAN... Definitely release it! It is a very elegant solution to a problem that I'm guessing many of us have dealt with. I've always _tri

Re: RFC: DBI::Prof

2000-11-28 Thread Perrin Harkins
On Tue, 28 Nov 2000, Stas Bekman wrote: > I have a huge project with lots of tables, and the performance wasn't that > well. So I've started to review the tables definitions and have found that > some indices were missing. I was sick from doing the tracing of all > possible SQL calls manually, so

Re: Does mod_perl have anything to do with KeepAlive?

2000-11-28 Thread Stas Bekman
On 28 Nov 2000, Joe Schaefer wrote: > Stas Bekman <[EMAIL PROTECTED]> writes: > > > Before trying to answer your question, let me ask you another > > question. What's the average run time of you mod_perl scripts? Is it 2 to > > 5 msecs? Or is it 0.5 to 1 sec? If you are in the former range this

Re: Problems on installation...

2000-11-28 Thread ___cliff rayman___
yes - in order to use apache 1.3.14 you need mod perl 1.24_01 which you can get from here: http://perl.apache.org/dist/ enjoy, -- ___cliff [EMAIL PROTECTED]http://www.genwax.com/ don carnage wrote: > Hello all -- I recently downloaded apache 1.3.14 and mod perl 1.24 and > received the followi

RFC: DBI::Prof

2000-11-28 Thread Stas Bekman
I have a huge project with lots of tables, and the performance wasn't that well. So I've started to review the tables definitions and have found that some indices were missing. I was sick from doing the tracing of all possible SQL calls manually, so I wrote this simple profiler. Take a look and te

Problems on installation...

2000-11-28 Thread don carnage
Hello all -- I recently downloaded apache 1.3.14 and mod perl 1.24 and received the following error when I tried to run the Makefile.PL: - $ perl Makefile.PL APACHE_SRC=../apache_1.3.14/src DO_HTTPD=1 USE_APACI=1 EVERYTHING=

Re: Apache::ASP (QueryString eats +)

2000-11-28 Thread Joshua Chamas
sergen wrote: > > When sending text with "+" by "?" on url $Request->QueryString eats > "+" (the text is absolutely the same but only this sign). >Is it a bug or may be some else ? > >using: Mandrake 7.2 > Apache 1.3.14-2mdk >apache-mod_perl 1.3.14_1.

list digest problems?

2000-11-28 Thread Andrew Dunstan
has the digest software for the mod_perl list changed recently? Here's a sample of what I've been seeing for a couple of weeks at the top of the digest: cheers andrew Topics (messages 11320 through 11349): (null) 113

RE: compiling mod_perl-1.24

2000-11-28 Thread Lakshmanan, Srikrishnan
I ran into this problem a week ago on both Solaris 2.6 and 2.7 , and I was using gnu cc 2.7.2.3 . I upgraded to gnu cc 2.95.2 . I had to recompile my perl 5.6.0 from stable.tar at www.cpan.org using this compiler and rebuilt Apache and mod_perl without any problems . You will find a pre-built bi

Apache::Request Under Win32?

2000-11-28 Thread Ryan Adams
Excuse me if this is a ridiculous question, but is there any way to install Apache::Request on a Windows box without VC++? This is the output from 'perl Makefile.PL' for libapreq: Warning: Guessing NAME [c] from current directory name. Usage: xsubpp [-v] [-C++] [-except] [-prototypes] [-noversi

[JOBS] Critical Path

2000-11-28 Thread brian moseley
hi folks. cpth is looking for a couple senior folks to come in and make immediate contributions on our web groupware applications team. the team has several applications that are in the process of being integrated for a comprehensive user expensive: mail, personal address book, corporate directo

compiling mod_perl-1.24

2000-11-28 Thread Joseph Crotty
I am on a sun box: uname -a SunOS mailroom 5.6 Generic_105181-22 sun4u sparc SUNW,Ultra-5_10 I built and tested both perl 5.6.0 and apache_1.3.9 against gcc and they check out OK: gcc -v Reading specs from /usr/local/lib/gcc-lib/sparc-sun-solaris2.6/2.7.2.2/specs gcc version 2.7.2.2 perl -V

Re: [OT] Mixing C and HTML code just like in ePerl?

2000-11-28 Thread Matt Sergeant
On Tue, 28 Nov 2000, Vladislav Safronov wrote: > Hi, > > I use ePerl and it's good, but some things need better performance. > Is there any "chtml" compiler that allow me freely mix C and html code > just like in ePerl: > > > HTML code > <% > C code .. > %> > HTML code > <%=(C expr.)%> Inlin

Re: Does mod_perl have anything to do with KeepAlive?

2000-11-28 Thread Matt Sergeant
On Tue, 28 Nov 2000, Larry Leszczynski wrote: > Suppose front-end server A is handling user requests. In the process of > handling a front-end request, suppose I use LWP or equivalent to make a > HTTP request from A to a back-end server B to get some data that is > needed. Assuming all the righ

Re: controling POST input with mod_perl

2000-11-28 Thread Stas Bekman
On 28 Nov 2000, Alexander Haeckel wrote: > > Hi there, > > I want to control the way a CGI program works by modifying the > parameters passed to it within a FixupHandler. For GET requests > everything works fine. But for POST requests the parameters seem to be > deleted after reading them. If t

controling POST input with mod_perl

2000-11-28 Thread Alexander Haeckel
Hi there, I want to control the way a CGI program works by modifying the parameters passed to it within a FixupHandler. For GET requests everything works fine. But for POST requests the parameters seem to be deleted after reading them. If the CGI program is a Perl script I get the parameters wit

[OT] Mixing C and HTML code just like in ePerl?

2000-11-28 Thread Vladislav Safronov
Hi, I use ePerl and it's good, but some things need better performance. Is there any "chtml" compiler that allow me freely mix C and html code just like in ePerl: HTML code <% C code .. %> HTML code <%=(C expr.)%> .. Vlad. -

Re: Does mod_perl have anything to do with KeepAlive?

2000-11-28 Thread Stas Bekman
On Tue, 28 Nov 2000, Larry Leszczynski wrote: > Hi All - > > > I'm hoping for some enlightenment about how KeepAlive is implemented in > > Apache and whether KeepAlive even comes into play when front-end and > > back-end mod_perl servers communicate with each other via HTTP. > > I suppose I sho

Re: Does mod_perl have anything to do with KeepAlive?

2000-11-28 Thread Larry Leszczynski
Hi All - > I'm hoping for some enlightenment about how KeepAlive is implemented in > Apache and whether KeepAlive even comes into play when front-end and > back-end mod_perl servers communicate with each other via HTTP. I suppose I shouldn't have started off my previous post with such a general-

Re: Using MHonArc inside of mod_perl

2000-11-28 Thread darren chamberlain
Aaron Johnson ([EMAIL PROTECTED]) said something to this effect: > I am trying to get the MHonArc package to work in conjunction with an in > house module. > When MHonArc (http://www.mhonarc.org) is run and told to process a > single file instead of a directoy full of files, it sends the output to

Re: Does mod_perl have anything to do with KeepAlive?

2000-11-28 Thread Stas Bekman
On Mon, 27 Nov 2000, Larry Leszczynski wrote: > Hi All - > > I'm hoping for some enlightenment about how KeepAlive is implemented in > Apache and whether KeepAlive even comes into play when front-end and > back-end mod_perl servers communicate with each other via HTTP. http://perl.apache.org/gu

Re: Does mod_perl have anything to do with KeepAlive?

2000-11-28 Thread David Hodgkinson
Larry Leszczynski <[EMAIL PROTECTED]> writes: > Hi All - > > I'm hoping for some enlightenment about how KeepAlive is implemented in > Apache and whether KeepAlive even comes into play when front-end and > back-end mod_perl servers communicate with each other via HTTP. http://thingy.kcilink.com