c# - ASP.NET application hangs after Page_Load - seems to be worker process specific? -


the problem

i have asp.net web application connecting sql server database.

occasionally, application hangs when specific users try log in. can replicate when try log in user on live site machine, problem doesn't appear in identical site (the same code, same machine, same database , user account - worker process , application pool different).

the problem disappears (at least temporarily) on application pool recycle. when happens again tends same users.

normally i'd assume problem in application-specific code or database, , i'm still looking way that's possible, fact doesn't happen in identical site running against same database makes me doubt it.

more information

from logging, hang seems happen after page_load of requested page, before page_load of user controls on page.

the hanging requests can seen in current requests of site's worker process in iis, state shows executerequesthandler , module isapimodule.

the sql server's activity monitor shows no long running queries during time application hanging, profiler shows no frequent identical queries coming application during hang.

most users can continue use application without problems.

the application stores user details in process asp.net session state.

on occasions problem has disappeared on own after 10-20 minutes, other times persists until application pool recycle.

occasionally logging shows after ~5 minutes of hanging after requested page's page_load, page_load of first child user control called, after there hang.

summary

i'm wondering if there chance might due problem asp.net session locking (are there known bugs, or dangers of deadlock on session?)

could problem request's thread being assigned low priority processor time?

if has ideas i'd interested, if not, might debugging memory dump of worker process me? don't have experience of or know how safe take memory dump of live, running worker process.


Comments

Popular posts from this blog

blackberry 10 - how to add multiple markers on the google map just by url? -

php - guestbook returning database data to flash -

delphi - Dynamic file type icon -