I have web application on my IIS and weird things happen. After few days there is 4,5,6 or 7 w3wp.exe process started, and only one is working and the others are just sitting there and allocating 1GB+ memory each.
I'm unable to terminate this hanging processes:
C:\Users\administrator>taskkill /F /PID 5072 /T
ERROR: The process with PID 5072 (child process of PID 2988) could not be terminated.
Reason: Access is denied.
(pid: 2988 is svchost.exe)
It looks like IIS is unable to kill w3wp.exe process and just leaves it there. Only difference is that this web application is on Z:\ disk which is mounted NFS volume. Since this application is just communicating with SQL and save files to disk I presume some weird lock happens on NFS and process is left in some limbo state, other web apps that are on internal SSD RAID doing same thing are just fine.
Is there any way to terminate/kill such processes or find out what is causing this?