IIS 7 and Above
Move IIS8 to IIS10 w3wp.exe 100% CPU usage!
Last post Jun 13, 2019 08:06 AM by jakkrite.r
Jun 11, 2019 10:37 PM|jakkrite.r|LINK
Move the web application from MS Windows Server 2012 R2 to MS Windows Server 2019.
The same , IIS .net SQL, but new server just starting to have a high Request 100% CPU, every Core is of w3wp.exe Apppool, although the new machine specification is almost double Try to use from User. Really use Online Load Test and JMeter. Same result. Old
server normally 10-30% CPU. New server 100% CPU Hold and still.
Old Server [Stable used 7 years]
DELL® PowerEdge® R420 Server , Intel® Xeon® E5-2420 Processor 1.90GHz X 2 (12 Core 24 Thread)
8G ECC 1333MHz X 2 (16G), 300GB 15K RPM 6Gbps SAS 3.5" X 2 [Raid 1]
MS Windows Server 2012 R2 Standard (64Bit) IIS8 ASP.net 4.0 , 32-Bit Disable ,SQL 2012 Express
DELL®PowerEdge® R640 Server , Intel® Xeon® Gold 5120 Processor 2.2GHz X 2 (28 Core 56 Thread)
32G RDIMM 2666MT/s X 2 (64G), 960GB SSD SAS 12Gbps SAS 2.5" X 2 [Raid 1]
MS Windows Server 2019 Standard (64Bit) IIS10 ASP.net 4.0 , 32-Bit Disable ,SQL 2017 Express
Old Server and New Server
- FTP files from the old server to the new server The same directory placement structure, set the same permisson, solve only the IP as a new device.
- IIS set up Apppool like an old server Only some of the settings for IIS8 and IIS10 are the same.
- SQL database copy and then reattach (.mdf, .ldf) check rebuild index.
- Change connection string Connect SQL on the old server w3wp.exe CPU 100% is the same.
- The new server was first launched. There were 2,713 Threads at the time. About 1,600 old machines Threads
- The web application uses stackify Retrace to capture Error/Log and fix Error.
Server Location same rack ,same network workgroup
I need your help as soon as possible.
Thank you , Sorry about my English.
Start [New Server]
Load test (JMeter) [New Server]
Load test (JMeter)+ Real Production [Old Server]
Advanced Setting [Application Pools] Old and New server
Jun 12, 2019 05:32 AM|lextm|LINK
Jun 12, 2019 06:08 AM|Able|LINK
According to your description,to find the reason , you should try some way to troubleshoot high CPU usage by a process.
So I suggest that you could use Debug Diagnostics Tool as lextm provided to see the details about how cpu usage are using.
Jun 12, 2019 06:52 AM|jakkrite.r|LINK
Thanks lextm and Abel.
I right click on w3wp.exe process and create drump file.
Add dum file to DebugDialog 2 Analysis
Start analysis and wait.
3 days ago I try DebugDiag Analysis I see same this
Please help !
Jun 12, 2019 07:31 AM|Able|LINK
According to your images, you are using task manager for dump file.I suggest that you could use windbg for dump files because task manager dump is not full dump.
Then have you captured all dump file?I suggest you could share all your dump files in onedrive and you could give the link to us by using private message. So it will be safe for your side.
Jun 12, 2019 08:42 AM|jakkrite.r|LINK
Ok I will try DebugDiag Analysis again.
Jun 12, 2019 08:47 AM|Rovastar|LINK
It is not clear to me if you are testing the same stuff here.
Could it be that you are pushing more data through JMeter and it is maxing it out?
Sometimes when testing you can have more data throughput through a similar setup.
If you additional tools like stackify can you not see what the slow running pages are doing? Is it SQL? request queuing?
Jun 12, 2019 09:12 AM|jakkrite.r|LINK
Thanks Rosvastar for reply.
Both servers are different in Spec / OS / IIS only. [Win 2012/2019 , IIS8,IIS10] same webApp and DB
I test request via JMeter from my PC. I config JMeter Number of threads / Ramp-UP Peroid / Loop Count same value for both servers
I use remote desktop connect to both Server show in my two desktop screen.
I set Old Server IP , Run JMeter , monitor Task Manager, Capture it. switch New Server IP and Run again.
before install stackify or removed it . It hight CPU usage
Thank you and Sorry about my English. _/|\_
Jun 12, 2019 10:03 AM|jakkrite.r|LINK
Loadtest 200 Clients per second
Loadtest 200 Clients per second
Capture each same time.
Jun 12, 2019 10:50 AM|jakkrite.r|LINK
Jun 13, 2019 08:06 AM|jakkrite.r|LINK