I have an Asp.Net MVC 5.1 website on a VPS and until a few days ago everything went perfectly without any problems. It has 4 GB of RAM, quad core CPU (3 GHz) and a SSD for Windows drive (currently 10 GB free space) so I don't think it's a hardware issue.
The problem started after I installed the Wordpress using the Web Platform Installer but that might be just a coincidence.
When I restart the VPS everything is smooth. After couple of hours the CPU usage of w3wp.exe
goes to 100% and never comes down. I stopped all the websites running and waited for a few minutes and it's still at 100% so I'm sure it's not any of the websites. Is there any way for me to troubleshoot where the problem is coming from? Can you guess where I should start?
Update:
I restarted the DefaultApplicationPool
in the server which was related to one of the websites running on the server and it immediately dropped the CPU usage of the IIS to 3. I started it again and it's now going on 3% CPU and the website is fully functional. I think it'll go to 100% soon though!
w3wp.exe
is using the 100% CPU all the time :( – Alireza Noori