Welcome to HostingForumz.com!
FAQFAQ      ProfileProfile    Private MessagesPrivate Messages   Log inLog in

w3wp using 100% CPU and lots of crashes

 
   Web Hosting Problem Solving Community! (Home) -> IIS RSS
Next:  setting up my comp as a webserver  
Author Message
Sebastiao Pereira

External


Since: Mar 10, 2006
Posts: 1



(Msg. 1) Posted: Fri Mar 10, 2006 11:46 am
Post subject: w3wp using 100% CPU and lots of crashes
Archived from groups: microsoft>public>inetserver>iis (more info?)

I'm experiencing the following problems with a production server running
w2k3, IIS 6 and asp.net 2.0 RTM:

- The cpu is at 100% most of the time, when using the application, even with
few users accessing.
- Running debug diags and WinDbg shows me that a lot of crashes are
ocurring, but I'm having trouble trying to identify the reasons.

Below is one of the Debug Diags logs and part of what I got from WinDbg. Any
help would be highly appreciated. Thanks in advance!

Debug Diags
========
Report for w3wp__PID__2820__Date__03_09_2006__Time_05_49_47PM__994__First
chance exception 0XE0434F4E.dmp
Type of Analysis Performed Crash Analysis
Machine Name SRV-PRODUS-APP1
Operating System Windows Server 2003 Service Pack 1
Number Of Processors 1
Process ID 2820
Process Image c:\WINDOWS\system32\inetsrv\w3wp.exe
System Up-Time 11 day(s) 07:55:56
Process Up-Time 0 day(s) 02:29:58


Thread 17 - System ID 2420
Entry point mscorwks!Thread::intermediateThreadProc
Create time 3/9/2006 3:22:54 PM
Time spent in user mode 0 Days 0:10:45.296
Time spent in kernel mode 0 Days 0:0:8.203






Function Arg 1 Arg 2 Arg 3 Source
kernel32!RaiseException+53 e0434f4e 00000000 00000000
mscorwks!Thread::RedirectedHandledJITCase+155 00000000 06c4bd00
7934afdd
mscorwks!Thread::RedirectedHandledJITCaseForGCThreadControl+7 00000052
00000005 06c4bd00
mscorlib_ni+28afdd 002f003a 006e0069 00740065
63002f 00000000 00000000 00000000




In w3wp__PID__2820__Date__03_09_2006__Time_05_49_47PM__994__First chance
exception 0XE0434F4E.dmp the assembly instruction at
kernel32!RaiseException+53 in C:\WINDOWS\system32\kernel32.dll from Microsoft
Corporation has caused an unknown exception (0xe0434f4e) on thread 17



This exception originated from
mscorwks!Thread::RedirectedHandledJITCase+155. Module Information
Image Name: C:\WINDOWS\system32\kernel32.dll Symbol Type: PDB
Base address: 0x77e40000 Time Stamp: Thu Mar 24 21:30:42 2005
Checksum: 0x0010c135 Comments:
COM DLL: False Company Name: Microsoft Corporation
ISAPIExtension: False File Description: Windows NT BASE API Client DLL
ISAPIFilter: False File Version: 5.2.3790.1830 (srv03_sp1_rtm.050324-1447)
Managed DLL: False Internal Name: kernel32
VB DLL: False Legal Copyright: © Microsoft Corporation. All rights
reserved.
Loaded Image Name: kernel32.dll Legal Trademarks:
Mapped Image Name: Original filename: kernel32
Module name: kernel32 Private Build:
Single Threaded: False Product Name: Microsoft® Windows® Operating System
Module Size: 1.01 MBytes Product Version: 5.2.3790.1830
Symbol File Name:
c:\symcache\kernel32.pdb\75CFE96517E5450DA600C870E95399FF2\kernel32.pdb
Special Build: &

WinDBG
=====

Microsoft (R) Windows Debugger Version 6.6.0003.5
Copyright (c) Microsoft Corporation. All rights reserved.

*** wait with pending attach
Symbol search path is: C:\symcache;C:\SimplectT\Includes
Executable search path is:
ModLoad: 01000000 01005000 c:\windows\system32\inetsrv\w3wp.exe
ModLoad: 7c800000 7c8c0000 C:\WINDOWS\system32\ntdll.dll
ModLoad: 77e40000 77f42000 C:\WINDOWS\system32\kernel32.dll
ModLoad: 77ba0000 77bfa000 C:\WINDOWS\system32\msvcrt.dll
ModLoad: 77f50000 77fec000 C:\WINDOWS\system32\ADVAPI32.dll
ModLoad: 77c50000 77cef000 C:\WINDOWS\system32\RPCRT4.dll
ModLoad: 77380000 77412000 C:\WINDOWS\system32\USER32.dll
ModLoad: 77c00000 77c48000 C:\WINDOWS\system32\GDI32.dll
ModLoad: 77670000 777a4000 C:\WINDOWS\system32\ole32.dll
ModLoad: 64700000 6472d000 c:\windows\system32\inetsrv\IISUTIL.dll
ModLoad: 761b0000 76243000 C:\WINDOWS\system32\CRYPT32.dll
ModLoad: 76190000 761a2000 C:\WINDOWS\system32\MSASN1.dll
ModLoad: 10000000 102c5000 C:\WINDOWS\system32\xpsp2res.dll
ModLoad: 5a390000 5a3e8000 c:\windows\system32\inetsrv\w3core.dll
ModLoad: 5a420000 5a431000 C:\WINDOWS\system32\IISMAP.dll
ModLoad: 647b0000 647d7000 C:\WINDOWS\system32\IisRTL.DLL
ModLoad: 71c00000 71c17000 C:\WINDOWS\system32\WS2_32.dll
ModLoad: 71bf0000 71bf8000 C:\WINDOWS\system32\WS2HELP.dll
ModLoad: 62da0000 62da7000 c:\windows\system32\inetsrv\LONSINT.dll
ModLoad: 76f50000 76f63000 C:\WINDOWS\system32\Secur32.dll
ModLoad: 71c40000 71c98000 C:\WINDOWS\system32\NETAPI32.dll
ModLoad: 77d00000 77d8c000 C:\WINDOWS\system32\OLEAUT32.dll
ModLoad: 5b640000 5b658000 C:\WINDOWS\system32\strmfilt.dll
ModLoad: 67150000 67159000 C:\WINDOWS\system32\HTTPAPI.dll
ModLoad: 77da0000 77df2000 C:\WINDOWS\system32\SHLWAPI.dll
ModLoad: 5a400000 5a408000 c:\windows\system32\inetsrv\W3CACHE.dll
ModLoad: 5a300000 5a307000 c:\windows\system32\inetsrv\W3TP.dll
ModLoad: 5a3f0000 5a3f6000 c:\windows\system32\inetsrv\W3COMLOG.dll
ModLoad: 5a360000 5a36d000 c:\windows\system32\inetsrv\w3dt.dll
ModLoad: 60ba0000 60bb1000 c:\windows\system32\inetsrv\wamreg.DLL
ModLoad: 71bb0000 71bb9000 C:\WINDOWS\system32\WSOCK32.dll
ModLoad: 6d0f0000 6d110000 c:\windows\system32\inetsrv\iisres.dll
ModLoad: 777b0000 77833000 C:\WINDOWS\system32\CLBCatQ.DLL
ModLoad: 77010000 770d6000 C:\WINDOWS\system32\COMRes.dll
ModLoad: 77b90000 77b98000 C:\WINDOWS\system32\VERSION.dll
ModLoad: 608f0000 60901000 C:\WINDOWS\system32\ADMWPROX.DLL
ModLoad: 68000000 6802f000 C:\WINDOWS\system32\rsaenh.dll
ModLoad: 76b70000 76b7b000 C:\WINDOWS\system32\PSAPI.DLL
ModLoad: 60060000 60066000
C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\aspnet_filter.dll
ModLoad: 78130000 781cb000
C:\WINDOWS\WinSxS\x86_Microsoft.VC80.CRT_1fc8b3b9a1e18e3b_8.0.50727.42_x-ww_0DE06ACD\MSVCR80.dll
ModLoad: 5a320000 5a332000 c:\windows\system32\inetsrv\w3isapi.dll
ModLoad: 71b20000 71b61000 C:\WINDOWS\System32\mswsock.dll
ModLoad: 76ed0000 76ef9000 C:\WINDOWS\system32\DNSAPI.dll
ModLoad: 76f70000 76f77000 C:\WINDOWS\System32\winrnr.dll
ModLoad: 76f10000 76f3e000 C:\WINDOWS\system32\WLDAP32.dll
ModLoad: 76f80000 76f85000 C:\WINDOWS\system32\rasadhlp.dll
ModLoad: 685b0000 685ba000 C:\WINDOWS\system32\inetsrv\gzip.dll
ModLoad: 71bd0000 71be1000 C:\WINDOWS\system32\mpr.dll
ModLoad: 60070000 60075000
\\?\c:\windows\microsoft.net\framework\v2.0.50727\aspnet_isapi.dll
ModLoad: 6a2a0000 6a2ec000
\\?\c:\windows\microsoft.net\framework\v2.0.50727\webengine.dll
ModLoad: 76920000 769e4000 C:\WINDOWS\system32\USERENV.dll
ModLoad: 79000000 79045000 C:\WINDOWS\system32\mscoree.dll
ModLoad: 79e70000 7a3d1000
C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\mscorwks.dll
ModLoad: 7c8d0000 7d0d3000 C:\WINDOWS\system32\shell32.dll
ModLoad: 77420000 77523000
C:\WINDOWS\WinSxS\x86_Microsoft.Windows.Common-Controls_6595b64144ccf1df_6.0.3790.1830_x-ww_7AE38CCF\comctl32.dll
ModLoad: 790c0000 79ba8000
C:\WINDOWS\assembly\NativeImages_v2.0.50727_32\mscorlib\6df911eda598894586b469828d8091c2\mscorlib.ni.dll
ModLoad: 7a440000 7abfe000
C:\WINDOWS\assembly\NativeImages_v2.0.50727_32\System\386f307c7563c14890e24042e6bcd588\System.ni.dll
ModLoad: 685c0000 6910a000
C:\WINDOWS\assembly\NativeImages_v2.0.50727_32\System.Web\dda5e9320c628b41a322083d30cd2cc9\System.Web.ni.dll
ModLoad: 64890000 6497e000
C:\WINDOWS\assembly\NativeImages_v2.0.50727_32\System.Configuration\d1aba3ac501b41428f11a6d3379f3f62\System.Configuration.ni.dll
ModLoad: 69be0000 6a148000
C:\WINDOWS\assembly\NativeImages_v2.0.50727_32\System.Xml\04623acbfa7cda40a20f29246e05bdd0\System.Xml.ni.dll
ModLoad: 77e00000 77e22000 C:\WINDOWS\system32\NTMARTA.DLL
ModLoad: 5ccf0000 5ccff000 C:\WINDOWS\system32\SAMLIB.dll
ModLoad: 5e600000 5e858000
C:\WINDOWS\assembly\NativeImages_v2.0.50727_32\Microsoft.JScript\eca75f27521cf34d830faeddcfffb2fc\Microsoft.JScript.ni.dll
ModLoad: 01d80000 01d88000

<<Snipped>>

ModLoad: 5e380000 5e409000
C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\diasymreader.dll
(4e8.1080): Break instruction exception - code 80000003 (first chance)
eax=7ffdf000 ebx=00000001 ecx=00000002 edx=00000003 esi=00000004 edi=00000005
eip=7c822583 esp=063fffcc ebp=063ffff4 iopl=0 nv up ei pl zr na po nc
cs=001b ss=0023 ds=0023 es=0023 fs=0038 gs=0000 efl=00000246
ntdll!DbgBreakPoint:
7c822583 cc int 3
0:016> g
(4e8.13c): CLR exception - code e0434f4d (first chance)
(4e8.13c): CLR exception - code e0434f4d (first chance)
(4e8.13c): CLR exception - code e0434f4d (first chance)
(4e8.c74): CLR exception - code e0434f4d (first chance)
(4e8.c74): CLR exception - code e0434f4d (first chance)
(4e8.13c): C++ EH exception - code e06d7363 (first chance)
(4e8.13c): C++ EH exception - code e06d7363 (first chance)
(4e8.c74): Unknown exception - code e0434f4e (first chance)
(4e8.c74): CLR exception - code e0434f4d (first chance)
(4e8.13c): Unknown exception - code e0434f4e (first chance)
(4e8.13c): Unknown exception - code e0434f4e (first chance)
(4e8.13c): Unknown exception - code e0434f4e (first chance)
(4e8.13c): Unknown exception - code e0434f4e (first chance)
(4e8.1194): Break instruction exception - code 80000003 (first chance)
eax=7ffdf000 ebx=00000001 ecx=00000002 edx=00000003 esi=00000004 edi=00000005
eip=7c822583 esp=017fffcc ebp=017ffff4 iopl=0 nv up ei pl zr na po nc
cs=001b ss=0023 ds=0023 es=0023 fs=0038 gs=0000 efl=00000246
ntdll!DbgBreakPoint:
7c822583 cc int 3
*** WARNING: Unable to verify checksum for
C:\WINDOWS\assembly\NativeImages_v2.0.50727_32\mscorlib\6df911eda598894586b469828d8091c2\mscorlib.ni.dll
*** WARNING: Unable to verify checksum for
C:\WINDOWS\assembly\NativeImages_v2.0.50727_32\Simplect.Core\ce456199c245154bbe00001b9f47cc12\Simplect.Core.ni.dll

CallStack for thread 13c:

ntdll!KiFastSystemCallRet
ntdll!NtGetContextThread+0xc
kernel32!GetThreadContext+0x11
mscorwks!EnsureThreadIsSuspended+0x3f
mscorwks!Thread::SuspendThread+0xd0
mscorwks!Thread::SysSuspendForGC+0x265
mscorwks!WKS::GCHeap::SuspendEE+0x16c
mscorwks!WKS::GCHeap::GarbageCollectGeneration+0x25b
mscorwks!WKS::gc_heap::try_allocate_more_space+0x1a1
mscorwks!WKS::gc_heap::allocate_more_space+0x18
mscorwks!WKS::GCHeap::Alloc+0x6c
mscorwks!Alloc+0x72
mscorwks!SlowAllocateString+0x29
mscorwks!UnframedAllocateString+0xc
mscorwks!COMString::NewString+0x24
mscorwks!COMString::NewString+0x79
mscorwks!AssemblyNative::GetSimpleName+0xc5
mscorlib_ni+0x335ba3
Simplect_Core_ni!set_Item+0x17
mscorlib_ni+0x2ef6cd

 >> Stay informed about: w3wp using 100% CPU and lots of crashes 
Back to top
Login to vote
"Egbert Nierop

External


Since: Oct 14, 2005
Posts: 201



(Msg. 2) Posted: Sat Mar 11, 2006 4:55 am
Post subject: Re: w3wp using 100% CPU and lots of crashes [Login to view extended thread Info.]
Archived from groups: per prev. post (more info?)

"Sebastiao Pereira" <Sebastiao Pereira DeleteThis @discussions.microsoft.com> wrote in
message news:42BE1F78-32B4-476B-8753-97031EF55858@microsoft.com...
> I'm experiencing the following problems with a production server running
> w2k3, IIS 6 and asp.net 2.0 RTM:
>
> - The cpu is at 100% most of the time, when using the application, even
> with
> few users accessing.
> - Running debug diags and WinDbg shows me that a lot of crashes are
> ocurring, but I'm having trouble trying to identify the reasons.
>
> Below is one of the Debug Diags logs and part of what I got from WinDbg.
> Any
> help would be highly appreciated. Thanks in advance!

The 100% might indicate a loop bug in your jscript.net code.
To be sure, you should set the debug = "True" attribute in web.Config and
attach a debugger like visual studio.
Also the W3SVC logs, might indicate which script was executed before w3wp
crashed.

 >> Stay informed about: w3wp using 100% CPU and lots of crashes 
Back to top
Login to vote
Display posts from previous:   
   Web Hosting Problem Solving Community! (Home) -> IIS All times are: Pacific Time (US & Canada) (change)
Page 1 of 1

 
You can post new topics in this forum
You can reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum



[ Contact us | Terms of Service/Privacy Policy ]