[Catalyst] 15s latency with fastcgi+Apache2+catalyst 5.8
Tomas Doran
bobtfish at bobtfish.net
Tue May 19 17:09:40 GMT 2009
Paul Makepeace wrote:
> I have Apache and libapache2-mod-fastcgi and the server running in
> standalone. It's been working fine in the old Apache 1.3 + Catalyst
> 5.7012 environment for years.
Why are you changing _everything_ at once?
Why not upgrade from apache 1 => apache 2, and then upgrade Catalyst (or
vice versa), as currently you've got no idea which of those upgrades is
causing the issue.
> NYTProf fails too,
> $ nytprofhtml Generating report...
> Reading nytprof.out
> inflate failed, error -5 ((null)) at end of input file - is it
> truncated? at /usr/lib/perl5/Devel/NYTProf/Data.pm line 78.
You're not exiting cleanly.
add:
sub exit : Local {
exit 0;
}
to your app, then hit that as the last hit.
You should now have profile data you can use..
> PS not sure if this is related,
> IDL::Web is using the deprecated Catalyst::Base, update your
> application as this will be removed in the next major release at
> /usr/share/perl5/Catalyst/Base.pm line 7.
>
> Catalyst::Base doesn't appear in our app anywhere(?!)
Hmm, well, I think that it does..
The warning is issues whenever a class which @ISA Catalyst::Base is
constructed.
Use Devel::SimpleTrace, and it should give you more hints..
Cheers
t0m
More information about the Catalyst
mailing list