in reply to 100% cpu

Have you profiled your application using Devel::NYTProf::Apache (Profiling mod_perl via Devel::NYTProf) or similar profiling/benchmarking tool?