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_pe
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
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 somethi
Thank you for the help everyone.
Jason
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 PROTE
"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
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
Hi,
I got the following prototype mismatch error when starting up Apache. Has
anyone seen this before?
Prototype mismatch: sub Socket::INADDR_ANY vs () at
/usr/local/lib/perl5/5.6.0/sun4-solaris/Socket.pm line 328.
Prototype mismatch: sub Socket::INADDR_BROADCAST vs () at
/usr/local/lib/perl5/5
Hi,
Thanks for the previous help.
When building mod_perl (perl Makefile.PL), it failed on "sanity check on
compiler and options." It seemed like the gcc command was chopped off. Did
anyone see this before? Below is the error message. Thanks in advance.
Jason
Error Output for sanit
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
10 matches
Mail list logo