On Sat, 8 Sep 2001, Joshua Chamas wrote:
> Can you show a trace in the error_log with Debug set to -3 ?
> Make sure Time::HiRes is installed first. The first request
> error_log set from an apache restart would be helpful to see.
I have attached the error log.
> It may be that upon global.asa compilation, other modules
> get also loaded that were not use'd in startup.pl? We'll
> see more with your trace.
I just did a "egrep ^use *" on my Global directory; everything that my
modules "use" is included in startup.pl.
I noticed something: If I "PerlSetVar DynamicIncludes 1" in httpd.conf, it
makes the first invocation of my script take 1-2 seconds instead of 4
seconds.
> I am sure you have, but are you sure startup.pl is running?
> You have to PerlRequire it explicitly.
Yes, I did PerlRequire it explicitly.
PerlRequire /home/shoujoai/dev/global/startup.pl
P.S. Is it right to put DBI->connect inside Script_OnStart, or should it
go somewhere else?
Error Log
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]