Developer forum

Forum » Hosting » 100% CPU issue

100% CPU issue

Tan Pang Lin Dynamicweb Employee
Tan Pang Lin
Reply

Hi

 

I am not sure is thisnthe right track to ask for help.

 

I sincerely need to understand what is the root cause of this customer of us,   whom since LIVE face many time 100% CPU issue.

Today,  again,  the site is not accessible and the CPU refected 100%.

Any idea how we should troubleshoot to rectify this issue.

in server it said

IIS worker processor was 100%

 

 

 

 

 

Screenshot_20181124-083316.jpg

Replies

 
Tan Pang Lin Dynamicweb Employee
Tan Pang Lin
Reply

Opps.  accidentally press submit instead of send aother file attached.

 

Thanks 

Pang Lin

Screenshot_20181124-084021.jpg
 
Nicolai Pedersen
Reply

Hi Pang Lin

Those are difficult.

First start by looking at the "worker processes" that you find in the root of IIS manager. It is not always installed - but should be there. See dump#1.

That will give you a list of running pages in your webserver with how long they have been running - you will probably see some hanging URLs there like www.domain.com/checkout/somepage - and you have to look at if it is the same page on the list of long running scripts (then that page has something on it that you need to fix) or it is a random list of different pages that are running. If it is random, you can have something that is slow on all pages, i.e. live prices from ERP etc.

It can also be that you just have a lot of conccurrent users all the time and the server is in problems due to that. Hard to tell without full access to the server.

If you find the page with the issue - you can locate the problem probably. If you think it is a code issue, but do not know what it is, you can use some serious debuggin (hard task), see MS docs:

https://docs.microsoft.com/en-us/iis/troubleshoot/performance-issues/troubleshooting-high-cpu-in-an-iis-7x-application-pool

Other articles that might help you out:

https://blogs.msdn.microsoft.com/benjaminperkins/2016/06/16/lab-19-debugging-a-high-cpu-hang-w3wp-process-using-windbg/

https://stackify.com/w3wp-high-cpu-usage/

BR Nicolai

Capture.PNG

 

You must be logged in to post in the forum