I am trying to profile mod-perl processes in a single process httpd process. I use the following pattern:
* start backgrounded httpd process with start=no * request url against appropriate port * send TERM signal to apache pid * nytproftohtml the profiled output I've witnessed situations where non-200 responses, specifically timeouts are causing the profile output not to be properly processed, yielding an unparsable state and the following error: "Profile data incomplete, inflate error -5 ((null)) at end of input file, perhaps the process didn't exit cleanly or the file has been truncated (refer to T)" It is my inference that this correlates with timeouts at present. I have also potentially observed that when setting MaxRequests to a reachable figure - this may potentially be cleanly closing the profiled file descriptors. Any suggestions would be welcome. I'd ideally like to insure that the profiling output may be fully generated without any further intervention with the profiled codebase. Suggestions? R. -- You've received this message because you are subscribed to the Devel::NYTProf Development User group. Group hosted at: http://groups.google.com/group/develnytprof-dev Project hosted at: http://perl-devel-nytprof.googlecode.com CPAN distribution: http://search.cpan.org/dist/Devel-NYTProf To post, email: [email protected] To unsubscribe, email: [email protected]
