procdump on w3wp.exe: Only part of a ReadProcessMemory or WriteProcessMemory request was completed
Posted
by
JakeS
on Server Fault
See other posts from Server Fault
or by JakeS
Published on 2011-03-02T01:50:34Z
Indexed on
2012/06/07
4:42 UTC
Read the original article
Hit count: 1392
I'm having a problem with an IIS application that occasionally spikes up in CPU usage, and am trying to use procdump to get a memory dump for examination. I'm running "procdump.exe -64 -mA 9999" where 9999 is the pid of the process. But every time I do it, I get an error:
Only part of a ReadProcessMemory or WriteProcessMemory request was completed.
Doing this also recycles the apppool, relieving the CPU spike, so I can't keep trying until I get it right.
Does anyone know what is going wrong?
EDIT WITH MORE INFO: So far I've failed to generate a debug dump no matter what tool I try. All of them seem to generate the same sort of error. This is 2008 R2 Datacenter running IIS7 with a 64-bit asp.net web site.
My best guess is that something is getting blocked, causing some requests to remain open in IIS and gradually using up resources. If I monitor the worker process using the IIS Manager and view all requests, throughout the day I'll start to see some requests that "stick" and run forever. Some of these are for static files. Some are for aspx pages. I cannot see any "common" reason for them.
Every once in a while the app pool starts taking up 100% CPU and the only remedy is to kill it.
© Server Fault or respective owner