web applications - Debugging ASP.Net shared pool techniques -


i work hosting company, providing asp.net 3.5 hosting. honestly, provide quite uptime , velocity. however, having problems 1 of our shared pools. usual, try maximize number of webs can run 1 pool.

lately suffering continuous hangs. process doesn't crash, starts show outofmemoryexceptions or stops processing requests. think responsability of 1 of applications (it great know one).

i have memory dumps have processed windbg. i've run f.e:

!dumpheap -stat 

this method provide global memory usage of objects. nothing remarkable... i've checked:

~*e!clrstack  

i see various non managed threads. in managed appears stacks like:

[helpermethodframe_1obj: 0f30e320]             system.threading.waithandle.waitmultiple(system.threading.waithandle... 0f30e3ec 7928b3ff system.threading.waithandle.waitany(system.threading... 0f30e40c 7a55fc89 system.net.timerthread.threadproc()... 0f30e45c 792d6e46 system.threading.threadhelper.threadstart_context(system... 0f30e468 792f5781 system.threading.executioncontext.runtrycode(system... 

at least, haven't seen exception throwing or similar (in moment). i've had access 2 scripts written tess ferrandez calculating number of sessions , size. here not promising results. peculiar or remarkable (24000 bytes average).

i know kind of strategies using facing kind of problems. have ever used microsoft support?

thanks lot!

very nice question, bad asp.net can hang shared web apps on same pool...

ok let see... if problem on memory, vmmap sysinternals, , process explorer

run them both, , process explorer find pid number of pool wish investigate, under inetinfo.exe, , have name aspnet_wp.exe.

now on vmmap add monitoring pool using pid, , voila, see memory , open images (aspx files) lot , make problems... files going see located on temporary of asp.net framework, can connect them , see witch site come from.

well if problem not on memory, programmer have create bad loops, or create thread sleeps, think process explorer way investigate pools , search whats eating power.

additional

maybe pool recycle every 15minute can solve issue ?

more about

in videos there lot of informations vmmap , memory manager. mysteries of windows memory management, part 1, , , part 2


Comments

Popular posts from this blog

android - Spacing between the stars of a rating bar? -

aspxgridview - Devexpress grid - header filter does not work if column is initially hidden -

c# - How to execute a particular part of code asynchronously in a class -