
bobtfish at bobtfish
May 19, 2009, 10:09 AM
Post #2 of 6
(530 views)
Permalink
|
|
Re: 15s latency with fastcgi+Apache2+catalyst 5.8
[In reply to]
|
|
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 _______________________________________________ List: Catalyst[at]lists.scsys.co.uk Listinfo: http://lists.scsys.co.uk/cgi-bin/mailman/listinfo/catalyst Searchable archive: http://www.mail-archive.com/catalyst[at]lists.scsys.co.uk/ Dev site: http://dev.catalyst.perl.org/
|