Skip Menu |

This queue is for tickets about the IO-Async CPAN distribution.

Report information
The Basics
Id: 102077
Status: new
Priority: 0/
Queue: IO-Async

People
Owner: Nobody in particular
Requestors: TEAM [...] cpan.org
Cc:
AdminCc:

Bug Information
Severity: Wishlist
Broken in: 0.64
Fixed in: (no value)



Subject: Devel::NYTProf support
It's come up a few times but I don't think we ever got around to raising as an RT: Devel::NYTProf uses a filehandle to write profiling events, so it gets confused when IO::Async::Process closes the filehandles before a fork. This shows up as corrupted files and warnings from code using Devel::NYTProf. Workarounds include starting the profiler just before the first entry into the event loop, after the resolver and any other forking code has been set up. Turning off NYTProf compression can help as well (not practical for larger applications, unfortunately). Not sure if nytprof itself has any hooks to identify which filehandles it's using, will update ticket if I have any more info. cheers, Tom