jbliss1234 wrote:
I have run into an unusual problem when running our ASP.Net application with Nhibernate. This problem seems to have cropped up only in .Net 2.0, because the application worked fine in .Net 1.1.
The symptoms of the problem are: suddenly, the CPU reaches a 100% utilization on the server and when I look in the Processes, there are many (a lot) of instances of csc.exe. Which surprised me at first, because the web site is written in vb.net (and is fully pre-compiled) and so is the Nhibernate data layer. Even Microsoft cannot figure out why these csc.exes are being spawned, and that too, at an unpredictable time.
After doing a lot of research on this issue, (and I am not at all sure about this), I suspect the issue may have something to do with generation of serialization assemblies. Most probably the serialization assemblies that are being dynamically generated by Nhibernate (or the DynamicProxy) are not being cached.
Have you guys seen anything like this before? Can you give me a pointer as to what might be causing this error or where should I look?
Thanks
arvinder chopra
Hi could you find a solution to your problem,
i think my problem same as yours and may provide me a way to solve mine.
My asp.net 2.0 application also uses NHibernate but when the app reache nhibernate classes cpu usage is high so this causes running application slow, wait and hang the system for a few minutes..
I did lots of searching in the nHibernate forum could not found any solution related that problem.
By the way in my app when the app started it's hanging at the NHibernate create Active session as seen below.
What is the problem and how i can slove it please help me i can also provide additional information on the application configuration if needed.
Web Site and Application Configuration:
ASP.NET Framework 2.0
IIS 5.1
NHiberNate Library Version 1.0.1.0
log4net 1.2.9.0
Castle.DynamicProxy 1.1.5.0
Iesi.Collections 1.0.0.1
Thanks
Erhan AKOZ[/img]