asp.net - High CPU Usage by IIS even after I stop all the websites -
i have asp.net mvc 5.1 website on vps , until few days ago went without problems. has 4 gb of ram, quad core cpu (3 ghz) , ssd windows drive (currently 10 gb free space) don't think it's hardware issue. problem started after installed wordpress using web platform installer might coincidence. when restart vps smooth. after couple of hours cpu usage of w3wp.exe
goes 100% , never comes down. stopped websites running , waited few minutes , it's still @ 100% i'm sure it's not of websites. there way me troubleshoot problem coming from? can guess should start?
update:
i restarted defaultapplicationpool
in server related 1 of websites running on server , dropped cpu usage of iis 3. started again , it's going on 3% cpu , website functional. think it'll go 100% though!
i followed tutorial mentioned @andrei , confirmed it's iis that's taking high cpu , it's main site that's taking cpu. confirmed creating new application pool , changing website's pool that. after while cpu usage went 100% again , sure wrong website.
then, after research came across this iis forum thread gave me ideas. used following command:
%windir%\system32\inetsrv\appcmd list requests
and saw there lot of requests hanged @ 1 action. action waiting on web service returned list of sms messages received our website , wasn't working @ time. changed code , disabled now. iis using 3% cpu.
Comments
Post a Comment