RE: Response time of a perl script!!!

2000-12-05 Thread Jason Liu
In this situation, I think the bottle neck is establishing connection with the database. Apache::DBI helps to maintain persistent database connection. That's why the latter test is 20 times faster. Jason Hi folks, I ran a same perl script twice. First time only under mod_perl,

RE: Problem with Apache::DBI under mod_perl!!

2000-11-27 Thread Jason Liu
I had some similar problem before. It was caused by the "PerlFreshRestart on". Comment this line out and see what happens. Jason -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]On Behalf Of Edmar Edilton da Silva Sent: Thursday, November 23, 2000 5:40 AM

RE: dynamic vs. mostly static data

2000-11-10 Thread Jason Liu
Is a package global var, such as %CACHE in the code below, persistent during the life of a child process? Does each child get a copy of %CACHE after the parent forks? Thanks, Jason i often do something like this where i allow each individual child process to cache it's data. i do something

RE: database access

2000-11-07 Thread Jason Liu
Is Apache::DBI absolutely necessary if you want to establish persistent database connection per child? Thanks, Jason -Original Message- From: David Hodgkinson [mailto:[EMAIL PROTECTED]] Sent: Monday, November 06, 2000 5:10 AM To: Jason Liu Cc: [EMAIL PROTECTED] Subject: Re

RE: database access

2000-11-07 Thread Jason Liu
Thank you for the help everyone. Jason

database access

2000-11-06 Thread Jason Liu
Hi, I can access oracle database from the main Apache process, but not from any child processes. I am fairly new to this subject, can someone give me some advice? Thanks in advance, Jason

RE: database access

2000-11-06 Thread Jason Liu
"Undefined subroutine dbChannel::command called at /usr/up/papi/lib/PAPIDatabase.pm", which is a library file that works. In general, how should database connections be handled between parent and child processes? Can you establish database connections from within a handler? Jason

How to use gcc to build mod_perl

2000-10-20 Thread Jason Liu
Hi, I was trying to build mod_perl 1.24_01 and apache 1.3.14. I used the following command: perl Makefile.PL make test make install The Makefile wants to use the "cc" compiler. Can I use "gcc" instead? Thanks, Jason