Analyzers
Talk to fellow users of Intel Analyzer tools (Intel VTune™ Profiler, Intel Advisor)
4974 Discussions

VTune fails to profile IIS worker process on Win2K8 Server

a_m_1
Beginner
701 Views
I used VTune 9.0 on Win2K3 to profile IIS worker process and it worked fine once I resolved WFP issues. Now I'm using Win2K8 and have to upgrade to VTune 9.1, so trying out the evaluation version of VTune.

I fixed all necessary file permissions to let VTune to rename w3wp.exe to w3wp.backup.exe, which it does successfully and when I'm starting a Call Graph activity, I can see how w3wp.exe and w3wp.backup.exe are launched. However, when a request is made to the web server, this request hangs forever. I also see that in about a minute w3wp.exe exits and another one is created and one more w3wp.backup.exe is launched. This never stops and in a short while I end up with a ton of w3wp.backup.exe's, which I have to kill manually. I tried running w3wp.exe using my own account instead of using Network Service, but this didn't help.

The same setup used to work just fine in VTune 9.0 under Win2K3. Any help would be much appreciated.
0 Kudos
4 Replies
a_m_1
Beginner
701 Views
Debuggnig the w3wp.exe process that VTune creates, I can see that it's blocked on a message box (MessageBoxA) that seems to say "External Instrumented Application Runner Error". IIS waits for a certain period of time and then terminates w3wp.exe, which is why it's going away.
0 Kudos
Peter_W_Intel
Employee
701 Views
As I know, there is an old issue of profiling IIS worker in v9.1. I still see the problem not fixed.

v9.0 should work, but only tested on Windows Server 2003.

-Peter
0 Kudos
a_m_1
Beginner
701 Views
It appears that VTune v9.1 doesn't work with Win2K8 R2 at all. If I run it against an empty program like this:

int main(int argc, char *argv[]) {return 0;}

, VTune reports that the program crashed and doesn't collect any data:

Thu Aug 19 10:45:59 2010 Starting static instrumentation.
Thu Aug 19 10:45:59 2010 All functions instrumentation of module "c:\projects\test_vs8\x64\release\test.exe" was successful.
Thu Aug 19 10:46:01 2010 Exports instrumentation of module "c:\windows\system32\ntdll.dll" could not be done (lowering instrumentation level).

*** skipped a bunch of system libraries ***

Thu Aug 19 10:53:15 2010 Static instrumentation done
Thu Aug 19 10:53:16 2010 Warning for module "c:\windows\system32\ntdll.dll" - Maximal instrumentation is None.
Thu Aug 19 10:53:16 2010 Warning for module "c:\windows\system32\kernel32.dll" - Maximal instrumentation is None.
Thu Aug 19 10:53:16 2010 Error - Program crashed.
Thu Aug 19 10:53:16 2010 Data collection halted...

I tried x86 and x64 builds with VS8 and VS9 with the same outcome. I thought Win2K8 was a supported platform. Is it not?
0 Kudos
Peter_W_Intel
Employee
701 Views
Latest v9.1 Update supports Windows Server* 2008, but for event based sampling data collectionONLY - not for call graph data collection.
0 Kudos
Reply