[Mono-aspnet-list] Problems with ASP.NET session

pwo szypki at onet.pl
Wed May 4 15:38:17 EDT 2011


I have some serious problem with ASP.NET session in my application. Under
heavy load I get exception like this:
Where get_Rejestry() is responsible for getting something from session. 

Under lighter load everything seems to be fine. When load becomes heavier
session data is very likely to be lost but only for one user. I enabled
tracing on every page and session_id stays the same for every request so I
think this is not the case. 

I tried both in-proc mode and asp-state2 for keeping the session data. 
When the in-proc mode is on the application is simply crashing and when
using asp-state2 application remains operational little longer but
eventually mono process takes almost all cpu so it looks like some kind of
dead lock.

Here are active thread stacks after dead lock / crash of application logged
using GDB

threads from in-proc crash: 

threads from asp-state2:
threads 172-100 http://pastebin.com/ridD6MrH
threads 100-50 http://pastebin.com/3GenJU1s
threads 49-1 http://pastebin.com/UcMuVPDT

Any ideas what to do?
Thanks in advance for advices
Best Regards,

View this message in context: http://mono.1490590.n4.nabble.com/Problems-with-ASP-NET-session-tp3496592p3496592.html
Sent from the Mono - ASP.NET mailing list archive at Nabble.com.

More information about the Mono-aspnet-list mailing list