Move Windows server 2012 R2 to Windows Server 2019 IIS w3wp.exe 100% CPU usage

%3CLINGO-SUB%20id%3D%22lingo-sub-683972%22%20slang%3D%22en-US%22%3ERe%3A%20Move%20Windows%20server%202012%20R2%20to%20Windows%20Server%202019%20IIS%20w3wp.exe%20100%25%20CPU%20usage%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-683972%22%20slang%3D%22en-US%22%3E%3CP%3EYou'll%20reach%20more%20IIS%20experts%20in%20dedicated%20forums%20over%20here.%3C%2FP%3E%0A%3CP%3E%3CA%20href%3D%22https%3A%2F%2Fforums.iis.net%2F%22%20target%3D%22_blank%22%20rel%3D%22noopener%20nofollow%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%22%3E%3CFONT%20style%3D%22background-color%3A%20%23ffffff%3B%22%3Ehttps%3A%2F%2Fforums.iis.net%2F%3C%2FFONT%3E%3C%2FA%3E%3C%2FP%3E%0A%3CP%3E%3CFONT%20style%3D%22background-color%3A%20%23ffffff%3B%22%3E%26nbsp%3B%3C%2FFONT%3E%3C%2FP%3E%0A%3CP%3E%3CFONT%20style%3D%22background-color%3A%20%23ffffff%3B%22%3E%26nbsp%3B%3C%2FFONT%3E%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-683668%22%20slang%3D%22en-US%22%3EMove%20Windows%20server%202012%20R2%20to%20Windows%20Server%202019%20IIS%20w3wp.exe%20100%25%20CPU%20usage%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-683668%22%20slang%3D%22en-US%22%3E%3CP%3EMove%20the%20web%20application%20from%20MS%20Windows%20Server%202012%20R2%20to%20MS%20Windows%20Server%202019.%3CBR%20%2F%3EThe%20same%20%2C%20IIS%20.net%20SQL%2C%20but%20new%20server%20just%20starting%20to%20have%20a%20high%20Request%20100%25%20CPU%2C%20every%20Core%20is%20of%20w3wp.exe%20Apppool%2C%20although%20the%20new%20machine%20specification%20is%20almost%20double%20Try%20to%20use%20from%20User.%20Really%20use%20Online%20Load%20Test%20and%20JMeter.%20Same%20result.%20Old%20server%20normally%2010-30%25%20CPU.%20New%20server%20100%25%20CPU%20Hold%20and%20still.%3CBR%20%2F%3E%3CBR%20%2F%3E%3C%2FP%3E%3CP%3E%3CSTRONG%3E%3CU%3EOld%20Server%3C%2FU%3E%26nbsp%3B%20%5BStable%20used%207%20years%5D%3C%2FSTRONG%3E%3CBR%20%2F%3EDELL%C2%AE%20PowerEdge%C2%AE%20R420%20Server%20%2C%20Intel%C2%AE%20Xeon%C2%AE%20E5-2420%20Processor%201.90GHz%20X%202%20(%3CEM%3E12%20Core%2024%20Thread%3C%2FEM%3E)%3CBR%20%2F%3E8G%20ECC%201333MHz%20X%202%20(%3CEM%3E16G%3C%2FEM%3E)%2C%20300GB%2015K%20RPM%206Gbps%20SAS%203.5%22%20X%202%20%5BRaid%201%5D%3CBR%20%2F%3EMS%20Windows%20Server%202012%20R2%20Standard%20(64Bit)%20IIS8%20ASP.net%204.0%20%2C%2032-Bit%20Disable%20%2CSQL%202012%20Express%3C%2FP%3E%3CP%3E%3CBR%20%2F%3E%3CU%3E%3CSTRONG%3ENew%20Server%26nbsp%3B%3C%2FSTRONG%3E%3C%2FU%3E%3CBR%20%2F%3EDELL%C2%AEPowerEdge%C2%AE%20R640%20Server%20%2C%20Intel%C2%AE%20Xeon%C2%AE%20Gold%205120%20Processor%202.2GHz%20X%202%20(%3CEM%3E28%20Core%2056%20Thread%3C%2FEM%3E)%3CBR%20%2F%3E32G%20RDIMM%202666MT%2Fs%20X%202%20(%3CEM%3E64G%3C%2FEM%3E)%2C%20960GB%20SSD%20SAS%2012Gbps%20SAS%202.5%22%20X%202%20%5BRaid%201%5D%3CBR%20%2F%3EMS%20Windows%20Server%202019%20Standard%20(64Bit)%20IIS10%20ASP.net%204.0%20%2C%2032-Bit%20Disable%20%2CSQL%202017%20Express%3C%2FP%3E%3CP%3E%3CBR%20%2F%3E%3CU%3EOld%20Server%20and%20New%20Server%3C%2FU%3E%3CBR%20%2F%3E%3CBR%20%2F%3E%3C%2FP%3E%3CP%3E-%20FTP%20files%20from%20the%20old%20server%20to%20the%20new%20server%20The%20same%20directory%20placement%20structure%2C%20set%20the%20same%20permisson%2C%20solve%20only%20the%20IP%20as%20a%20new%20device.%3CBR%20%2F%3E%3CBR%20%2F%3E%3C%2FP%3E%3CP%3E-%20IIS%20set%20up%20Apppool%20like%20an%20old%20server%20Only%20some%20of%20the%20settings%20for%20IIS8%20and%20IIS10%20are%20the%20same.%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3E-%20SQL%20database%20copy%20and%20then%20reattach%20(.mdf%2C%20.ldf)%20check%20rebuild%20index.%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3E-%20Change%20connection%20string%20Connect%20SQL%20on%20the%20old%20server%20w3wp.exe%20CPU%20100%25%20is%20the%20same.%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3E-%20The%20new%20server%20was%20first%20launched.%20There%20were%202%2C713%20Threads%20at%20the%20time.%20About%201%2C600%20old%20machines%20Threads%3CBR%20%2F%3E%3CBR%20%2F%3E%3C%2FP%3E%3CP%3E-%20The%20web%20application%20uses%20stackify%20Retrace%20to%20capture%20Error%2FLog%20and%20fix%20Error.%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EServer%20Location%20same%20rack%20%2Csame%20network%20workgroup%3CBR%20%2F%3E%3CBR%20%2F%3E%3CSPAN%3EI%20need%20your%20help%20as%20soon%20as%20possible.%3C%2FSPAN%3E%3CBR%20%2F%3EThank%20you%20%2C%20Sorry%20about%20my%20English.%3CBR%20%2F%3E%3CBR%20%2F%3E%3CSTRONG%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%20lia-image-align-center%22%20style%3D%22width%3A%20775px%3B%22%3E%3CIMG%20src%3D%22https%3A%2F%2Fgxcuf89792.i.lithium.com%2Ft5%2Fimage%2Fserverpage%2Fimage-id%2F117784i96FC31AFBA15A30F%2Fimage-size%2Flarge%3Fv%3D1.0%26amp%3Bpx%3D999%22%20alt%3D%22s1.jpg%22%20title%3D%22s1.jpg%22%20%2F%3E%3CSPAN%20class%3D%22lia-inline-image-caption%22%20onclick%3D%22event.preventDefault()%3B%22%3EStart%20%5BNew%20Server%5D%3C%2FSPAN%3E%3C%2FSPAN%3E%3C%2FSTRONG%3E%3C%2FP%3E%3CP%3E%3CSTRONG%3E%26nbsp%3B%3C%2FSTRONG%3E%3C%2FP%3E%3CP%3E%3CSTRONG%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%20lia-image-align-center%22%20style%3D%22width%3A%20776px%3B%22%3E%3CIMG%20src%3D%22https%3A%2F%2Fgxcuf89792.i.lithium.com%2Ft5%2Fimage%2Fserverpage%2Fimage-id%2F117785i04963FF7E67F416B%2Fimage-size%2Flarge%3Fv%3D1.0%26amp%3Bpx%3D999%22%20alt%3D%22s2.jpg%22%20title%3D%22s2.jpg%22%20%2F%3E%3CSPAN%20class%3D%22lia-inline-image-caption%22%20onclick%3D%22event.preventDefault()%3B%22%3ELoad%20test%20(JMeter)%20%5BNew%20Server%5D%3C%2FSPAN%3E%3C%2FSPAN%3E%3C%2FSTRONG%3E%3CBR%20%2F%3E%3CBR%20%2F%3E%3CSTRONG%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%20lia-image-align-center%22%20style%3D%22width%3A%20831px%3B%22%3E%3CIMG%20src%3D%22https%3A%2F%2Fgxcuf89792.i.lithium.com%2Ft5%2Fimage%2Fserverpage%2Fimage-id%2F117786iA3E3B799A4F72478%2Fimage-size%2Flarge%3Fv%3D1.0%26amp%3Bpx%3D999%22%20alt%3D%22s4.jpg%22%20title%3D%22s4.jpg%22%20%2F%3E%3CSPAN%20class%3D%22lia-inline-image-caption%22%20onclick%3D%22event.preventDefault()%3B%22%3ELoad%20test%20(JMeter)%2B%20Real%20Production%20%5BOld%20Server%5D%3C%2FSPAN%3E%3C%2FSPAN%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%20lia-image-align-inline%22%20style%3D%22width%3A%20999px%3B%22%3E%3CIMG%20src%3D%22https%3A%2F%2Fgxcuf89792.i.lithium.com%2Ft5%2Fimage%2Fserverpage%2Fimage-id%2F117833i328F08E41866F575%2Fimage-size%2Flarge%3Fv%3D1.0%26amp%3Bpx%3D999%22%20alt%3D%22s5.png%22%20title%3D%22s5.png%22%20%2F%3E%3CSPAN%20class%3D%22lia-inline-image-caption%22%20onclick%3D%22event.preventDefault()%3B%22%3EAdvanced%20Setting%20%5BApplication%20Pools%5D%20Old%20and%20New%20server%3C%2FSPAN%3E%3C%2FSPAN%3E%3C%2FSTRONG%3E%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-LABS%20id%3D%22lingo-labs-683668%22%20slang%3D%22en-US%22%3E%3CLINGO-LABEL%3EGeneral%3C%2FLINGO-LABEL%3E%3CLINGO-LABEL%3EIIS%3C%2FLINGO-LABEL%3E%3C%2FLINGO-LABS%3E%3CLINGO-SUB%20id%3D%22lingo-sub-685068%22%20slang%3D%22en-US%22%3ERe%3A%20Move%20Windows%20server%202012%20R2%20to%20Windows%20Server%202019%20IIS%20w3wp.exe%20100%25%20CPU%20usage%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-685068%22%20slang%3D%22en-US%22%3EThank%20you%20for%20your%20assistance.%3C%2FLINGO-BODY%3E
Highlighted
New Contributor

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


New Server 
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]Start [New Server]

 

Load test (JMeter) [New Server]Load test (JMeter) [New Server]

Load test (JMeter)+ Real Production [Old Server]Load test (JMeter)+ Real Production [Old Server]Advanced Setting [Application Pools] Old and New serverAdvanced Setting [Application Pools] Old and New server

2 Replies
Highlighted

You'll reach more IIS experts in dedicated forums over here.

https://forums.iis.net/

 

 

 

Highlighted