Skip Menu |

Preferred bug tracker

Please visit the preferred bug tracker to report your issue.

This queue is for tickets about the devel-nytprof CPAN distribution.

Report information
The Basics
Id: 42862
Status: resolved
Priority: 0/
Queue: devel-nytprof

People
Owner: Nobody in particular
Requestors: kev [...] brantaero.com
Cc:
AdminCc:

Bug Information
Severity: Critical
Broken in: 2.07
Fixed in: (no value)



Subject: unable to get working on win32/mod_perl2/perl5.10
This module is said to work on win32 and mod_perl2, but maybe not both at the same time. I followed the directions and added the lines to my .conf file, but nothing seemed different after a restart/requestes/restart cycle. No file was output anywhere that I could find. So I tried NYTPROF=file=C:\... with a few different path formats, most of which generated errors about the filename I had given (minus the C:) not being a supported as a parameter (I guess the : set it off). When I tried just a filename, I got: Invalid command 'MaxClients', perhaps misspelled or defined by a module not included in the server configuration So I took that out, and then it didn't seem to be picking up the PerlPassEnv at all, so finally the closest I've gotten is this: PerlSetEnv NYTPROF file=nytprof.out PerlModule Devel::NYTProf::Apache ...which generates the .out file in Apache2.2/bin or Apache2.2/, depending on I'm not sure what, lately it's not been the /bin one, and immediately crashes when I try to serve up any perl script with this error (same addresses every time, too): [Tue Jan 27 12:10:25 2009] [notice] Child 7528: Starting thread to listen on port .... Free to wrong pool 8dc488 not 843918 at C:/Perl5.10/site/lib/ModPerl/Registry.pm line 26. [Tue Jan 27 12:10:44 2009] [notice] Parent: child process exited with status 3221225477 -- Restarting. Any hints? This is on Windows Server 2003 SP 2, ActiveState Perl 5.10 build 1004, mod_perl 2.04, Apache 2.2.11. The docs could be a bit less Linux-centric, or at least spell things out better for us slow win32 users. I'd really like to use NYTProf, it sounds amazing. I'd try _94 but there's no PPD out there for it.
mod_perl2 on win32 uses threads, and NYTProf doesn't support threads. Sorry. Patches welcome.
I'll update the docs to clarify the situation.
On Wed Jan 28 16:45:34 2009, TIMB wrote: Show quoted text
> I'll update the docs to clarify the situation.
Thanks, that'd be handy.
Resolved with doc patch