Profiler EAP Build 332 o XP SP2 - Memory Snapshot Problem
-
- Posts: 11
- Joined: Wed Dec 19, 2007 3:33 pm
Profiler EAP Build 332 o XP SP2 - Memory Snapshot Problem
I am attempting to capture a memory snapshot of a ASP.Net (2.0) application and having issues, specifically:
- The application stops in the middle of the capture progress bar and fails to advance.
- The asp.net worker process (aspnet_wp.exe) sits at a constant 100% utilization (of a single CPU core).
- The application is still responsive (clicking exit, maximize, etc performed the appropriate action).
- Application has been in this state for 20 minutes with no change.
Screenshots:
Images hosted on Flickr
- The application stops in the middle of the capture progress bar and fails to advance.
- The asp.net worker process (aspnet_wp.exe) sits at a constant 100% utilization (of a single CPU core).
- The application is still responsive (clicking exit, maximize, etc performed the appropriate action).
- Application has been in this state for 20 minutes with no change.
Screenshots:
Images hosted on Flickr
-
- Posts: 1626
- Joined: Tue Aug 10, 2004 7:52 pm
Please send us all log files from %USER_HOME%\.ynp\logs directory.
Also please provide full stack when ASP.NET consumes 100% CPU?
Thank you in advance.
Best regards,
Vladimir Kondratyev
YourKit, LLC
http://www.yourkit.com
"Don't get lost in data, get information!"
Also please provide full stack when ASP.NET consumes 100% CPU?
Thank you in advance.
Best regards,
Vladimir Kondratyev
YourKit, LLC
http://www.yourkit.com
"Don't get lost in data, get information!"
-
- Posts: 11
- Joined: Wed Dec 19, 2007 3:33 pm
Contents of 0.log (Cleared logs and ran application):
2007-12-19 11:28:45.811 INFO com.yourkit.Main0 : ---------------------------------------------------------------------
2007-12-19 11:28:45.811 INFO com.yourkit.Main0 : Starting YourKit Profiler 3.0 EAP build 332 for .NET build #332; built on Tue Dec 18 21:28:00 EST 2007
2007-12-19 11:28:45.811 INFO com.yourkit.Main0 : number of args: 0
2007-12-19 11:38:32.801 INFO com.yourkit.ui.bn$a :
com.yourkit.runtime.PresentableException: There's no application running at localhost with profiler agent configured to listen on port 10002
at com.yourkit.api.ControllerImpl.a(a:5)
at com.yourkit.api.ControllerImpl.a(a:259)
at com.yourkit.api.ControllerImpl.getStatus(a:252)
at com.yourkit.api.ControllerImpl.cacheStatuses(a:94)
at com.yourkit.ui.bn$a$1.run(a:23)
at com.yourkit.api.ControllerImpl$22.perform(a:15)
at com.yourkit.api.ControllerImpl.a(a:274)
at com.yourkit.api.ControllerImpl.runBatch(a:120)
at com.yourkit.ui.bn$a.run(a:24)
2007-12-19 11:38:38.360 INFO com.yourkit.ui.bn$a :
com.yourkit.runtime.PresentableException: There's no application running at localhost with profiler agent configured to listen on port 10002
at com.yourkit.api.ControllerImpl.a(a:5)
at com.yourkit.api.ControllerImpl.a(a:259)
at com.yourkit.api.ControllerImpl.runBatch(a:120)
at com.yourkit.ui.bn$a.run(a:24)
Note: "com.yourkit.runtime.PresentableException" occurs at the point where I kill the aspnet worker process while YourKit is still running.
Great application by the way, I meant to say it in the first post.
Thanks!
-
- Posts: 1626
- Joined: Tue Aug 10, 2004 7:52 pm
Perhaps, do you have ".ynp\log" directory in some other location? For example, C:\WINDOWS\system32\config\systemprofile\.ynp\log
There should be log file of application being profiled.
Best regards,
Vladimir Kondratyev
YourKit, LLC
http://www.yourkit.com
"Don't get lost in data, get information!"
There should be log file of application being profiled.
Best regards,
Vladimir Kondratyev
YourKit, LLC
http://www.yourkit.com
"Don't get lost in data, get information!"
-
- Posts: 11
- Joined: Wed Dec 19, 2007 3:33 pm
3876.log in C:\WINDOWS\system32\config\systemprofile\.ynp\log:
[YourKit Profiler 3.0 EAP build 332 for .NET]
OS: Windows XP 5.1
CLR: v2.0.50727
'C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\aspnet_wp.exe' started 19.12.2007 at 13:56
Snapshot is saved to C:\WINDOWS\system32\config\systemprofile\Snapshots\aspnet_wp.exe-2007-12-19(6).snapshot
I managed to successfully do one memory capture by doing it shortly after launching the asp.net application and not enabling system profiling in yourkit first. Upon the second attempt at performing a memory capture, the deadlock happened again (still did not have profiling enabled).
[YourKit Profiler 3.0 EAP build 332 for .NET]
OS: Windows XP 5.1
CLR: v2.0.50727
'C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\aspnet_wp.exe' started 19.12.2007 at 13:56
Snapshot is saved to C:\WINDOWS\system32\config\systemprofile\Snapshots\aspnet_wp.exe-2007-12-19(6).snapshot
I managed to successfully do one memory capture by doing it shortly after launching the asp.net application and not enabling system profiling in yourkit first. Upon the second attempt at performing a memory capture, the deadlock happened again (still did not have profiling enabled).
-
- Posts: 11
- Joined: Wed Dec 19, 2007 3:33 pm
One of the older logs (3160.log) was 700k in size.
It contained:
And after that,
was just repeated over and over again until the end of the file.
It contained:
Code: Select all
[YourKit Profiler 3.0 EAP build 332 for .NET]
OS: Windows XP 5.1
CLR: v2.0.50727
'C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\aspnet_wp.exe' started 19.12.2007 at 10:37
CPU profiling is started
[processThread] ExceptionAddress = 63E76C0B
[processThread] ExceptionCode = -1073741819
[processThread] ExceptionFlags = 0
[processThread] ExceptionRecord = 00000000
[processThread] NumberParameters = 2
[processThread] ExceptionInformation[0] = 0
[processThread] ExceptionInformation[1] = 0
C [mscordbc.dll+0x6c0b]
C [yjpagent.dll+0x4cb2e]
C [yjpagent.dll+0x4d5fb]
C [yjpagent.dll+0x729a]
C [yjpagent.dll+0x7371]
C [yjpagent.dll+0x7467]
C [yjpagent.dll+0x74b3]
[processThread] ExceptionAddress = 63E76C0B
[processThread] ExceptionCode = -1073741819
[processThread] ExceptionFlags = 0
[processThread] ExceptionRecord = 00000000
[processThread] NumberParameters = 2
[processThread] ExceptionInformation[0] = 0
[processThread] ExceptionInformation[1] = 0
And after that,
Code: Select all
[C [mscordbc.dll+0x6c0b]
C [yjpagent.dll+0x4cb2e]
C [yjpagent.dll+0x4d5fb]
C [yjpagent.dll+0x729a]
C [yjpagent.dll+0x7371]
C [yjpagent.dll+0x7467]
C [yjpagent.dll+0x74b3]
[processThread] ExceptionAddress = 63E76C0B
[processThread] ExceptionCode = -1073741819
[processThread] ExceptionFlags = 0
[processThread] ExceptionRecord = 00000000
[processThread] NumberParameters = 2
[processThread] ExceptionInformation[0] = 0
[processThread] ExceptionInformation[1] = 0
-
- Posts: 11
- Joined: Wed Dec 19, 2007 3:33 pm
I've got it stuck at 100% right now and have left it there attempting to capture. I've been watching the log files, but nothing seems to be being entered in the log files that contains information about the deadlock.
Is there anything else besides logs that I can look at to get you additional information?
Is there anything else besides logs that I can look at to get you additional information?
-
- Posts: 11
- Joined: Wed Dec 19, 2007 3:33 pm
I've downloaded windbg and windows symbols.
Asp.Net worker process threads:
Here's a stack trace of the "mscorwks.dll!SVR::gc_heap::gc_thread_stub" thread (The thread causing 100% CPU Utilization) in the asp.net worker process with symbols loaded:
Asp.Net worker process threads:
Here's a stack trace of the "mscorwks.dll!SVR::gc_heap::gc_thread_stub" thread (The thread causing 100% CPU Utilization) in the asp.net worker process with symbols loaded:
Code: Select all
ntoskrnl.exe!ZwCompleteConnectPort+0x9
mscorwks.dll!SVR::gc_heap::gc_thread_function+0x287
mscorwks.dll!SVR::gc_heap::gc_thread_stub+0x92
kernel32.dll!BaseThreadStart+0x37
-
- Posts: 6172
- Joined: Wed Aug 11, 2004 8:37 am
-
- Posts: 6172
- Joined: Wed Aug 11, 2004 8:37 am
Hello,
Thank you very much for your help.
Could you please try build 334: http://www.yourkit.com/dotnet/eap/
Does it solve the problem on your system?
If it doesn't, could you please:
1. Delete all logs.
2. Reproduce the problem with 334.
3. Send full logs at [email protected]
Best regards,
Anton
Thank you very much for your help.
Could you please try build 334: http://www.yourkit.com/dotnet/eap/
Does it solve the problem on your system?
If it doesn't, could you please:
1. Delete all logs.
2. Reproduce the problem with 334.
3. Send full logs at [email protected]
Best regards,
Anton
-
- Posts: 6172
- Joined: Wed Aug 11, 2004 8:37 am