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

Filed under:
|
|

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

Related posts about iis7

Related posts about dump

  • systemstate dump ??

    as seen on Oracle Blogs - Search for 'Oracle Blogs'
            ???????????????hang????,????????systemstate dump?????????,?????,????????,???????????????,????systemstate dump?????????????       ??????,????????systemstate dump, ?????“WAITED TOO LONG FOR A ROW CACHE ENQUEUE LOCK”?       … >>> More

  • Heap Dump Root Classes

    as seen on Stack Overflow - Search for 'Stack Overflow'
    We have production system going into infinite loop of full gc and memory drops form 8 gigs to like 1 MB in just 2 minutes. After taking heap dump it tells me there an is an array of java.lang.Object ([Ljava.lang.Object) with millions of java.lang.String objects having same String taking 99% of heap… >>> More

  • vbscript calling svnadmin dump

    as seen on Stack Overflow - Search for 'Stack Overflow'
    Hi, Running the following vbscript to call svnadmin dump fails (i.e. no dump is being created) Set objShell = CreateObject("WScript.Shell") Set objShellExec = objShell.Exec("svnadmin dump C:\svn_repos > C:\fullbackup") I discovered from another post, http://stackoverflow.com/questions/445121/svn-dump-fails-with-wscript-shell/2400011#2400011… >>> More

  • Know more about shared pool subpool

    as seen on Oracle Blogs - Search for 'Oracle Blogs'
    ????T.askmaclean.com???Shared Pool?SubPool?????,????????_kghdsidx_count ? subpool ??subpool????( ???duration)???: SQL> select * from v$version; BANNER ---------------------------------------------------------------- Oracle Database 10g Enterprise Edition Release 10.2.0.5.0 - 64bi PL/SQL… >>> More

  • Hex Dump using LINQ (in 7 lines of code)

    as seen on ASP.net Weblogs - Search for 'ASP.net Weblogs'
    Eric White has posted an interesting LINQ query on his blog that shows how to create a Hex Dump in something like 7 lines of code.Of course, this is not production grade code, but it's another good example that demonstrates the expressiveness of LINQ.Here is the code:byte[] ba = File.ReadAllBytes("test… >>> More