Re: Subroutines taking time to return..

2002-03-21 Thread David Brown
Great feedback, many thanks. But as always, one problem becomes another ! I've compiled + installed Apache-DB I've compiled + installed DProf-19990108 I've added this to my httpd.conf: PerlModule Apache::DProf I've added this to my modperl.conf (called by httpd.conf): use Apache::DProf; use

Re: Subroutines taking time to return..

2002-03-21 Thread David Brown
Thankyou, but I have read the documentation. Nothing gets written to a rootdir/dprof directory, not even an empty file when the scripts are run. You aren't doing it wrong. Next step is to run the script and usually it helps to read the docs :)

Re: Subroutines taking time to return..

2002-03-21 Thread David Brown
: Perrin Harkins [EMAIL PROTECTED] To: David Brown [EMAIL PROTECTED] Cc: [EMAIL PROTECTED] Sent: Thursday, March 21, 2002 7:07 PM Subject: Re: Subroutines taking time to return.. David Brown wrote: All good and well I thought.. But erm.. nothing is being created in the dprof directory

Subroutines taking time to return..

2002-03-20 Thread David Brown
I've been profiling my MySQL driven Mod_Perl website by adding debug messages throughout the code which relays what time has elapsed since the script was invoked (using Time::HiRes) Now the script is pretty whizzy, serving up complete pages in circa 0.010 seconds. I got to wondering how those

Messages in error log

2001-03-07 Thread David Brown
Hi, I'm getting this in my apache error log: [Wed Mar 7 01:07:44 2001] [error] (57)Socket is not connected: getsockname [Wed Mar 7 01:18:14 2001] [error] (57)Socket is not connected: getsockname [Wed Mar 7 01:18:16 2001] [error] (57)Socket is not connected: getsockname [Wed Mar 7 01:23:34

UBB ?

2000-08-18 Thread David Brown
Has anyone converted the Ultimate Bulletin Board / Madron Park Bulletin board to run under mod_perl ?

Re: Installing mod_perl a dozen times ...

2000-07-18 Thread David Brown
I always thought that if you did a CPAN installation of mod_perl, it automatically downloaded the modules that it needed. Am I wrong ?

DNS Lookups ? huh ?

2000-06-08 Thread David Brown
Since upgrading to the latest verion of mod_perl I've noticed that I get remote host names appearing in my access logs rather than IP addresses (in 80% of entries). My concern is that my machine is try to perform DNS lookups, and the subsequent load it may add. My httpd.conf has-

Re: DNS Lookups ? huh ?

2000-06-08 Thread David Brown
The problem was solved offline with the kind help of Bill Mosely, but I'll post the solution here for the masses. I had an entry in my httpd.conf to the tune of something like: Deny from some.bad.domain.com As this was a name and not an IP address, the machine had to lookup each incoming IP

PerlRun benefit from shared modules ?

2000-06-07 Thread David Brown
OK, I'm new to all this, and it's by a sheer miracle that I've compiled Perl 5.6, Apache mod_perl on my BSDI 4.1 box. I may be using completely the wrong terminology, so please bear with me ! I'm running lots of scripts under Apache::PerlRun, migrating the scripts one at a time to run in

Re: PerlRun benefit from shared modules ?

2000-06-07 Thread David Brown
Thanks for the response Gunther, I'll look into running seperate servers. I'm now preloading CGI DBI and memory APPEARS to be gobbled a lot slower now. Which is nice. Does DBI automatically pull in DBD, or should I preload Apache:DBD also ?