ASP.NET performance degradation

Tags:
ASP.NET
Microsoft Windows
T-SQL
VB.NET
I'm running ASP.NET 1.1 on a Win2k server, application is written in VB.NET, with SQL server 2000 db on another box. ASP.NET application has very large pages with very complex data filled controls, but is only used on an Intranet by a small number of people. When users initially login, it performs well - on 1 or 2 seconds to load a page or postback. After an hour or 2, identitcal postbacks take longer and longer to respond - starts to take almost a minute. If users log off and then on again (creates new sessions), performance returns instantly. The db server utilization is mininal, but I see the aspnet worker process activity progresses from minimal to massive as user sessions age. My question is what is causing ASP.NET server performance to degrade as sessions age.

Answer Wiki

Thanks. We'll let you know when a new response is added.

Hi,
Not sure if this helps, but could it be that you are using Session variables that are not getting killed after use? I’m wondering if this could be the problem.

I built a large web-based intranet app for a client using Asp.Net on Win 2003 Server with SQL 2000 backend on separate machine. The main page was extremely large, with a alot of data filled controls, and with lots of postbacks taking place, thus the amount of view state data was huge. There were approx. 50 users at any one time, and they would login in morning, and logout at night. We never had any issues with degradation of performance as session times increased. I used session variables to hold datasets and tableviews (plus other pieces of data) However, I was extremely careful to kill any and all session objects as soon as they were no longer needed.

In some ways, our apps may be similar (large, complex page) but we run the app on different OSs…perhaps that may be a factor(?).

Anyway, I hope that you find an answer to the problem.

Discuss This Question:  

 
There was an error processing your information. Please try again later.
Thanks. We'll let you know when a new response is added.
Send me notifications when members answer or reply to this question.

REGISTER or login:

Forgot Password?
By submitting you agree to receive email from TechTarget and its partners. If you reside outside of the United States, you consent to having your personal data transferred to and processed in the United States. Privacy

Forgot Password

No problem! Submit your e-mail address below. We'll send you an e-mail containing your password.

Your password has been sent to:

To follow this tag...

There was an error processing your information. Please try again later.

REGISTER or login:

Forgot Password?
By submitting you agree to receive email from TechTarget and its partners. If you reside outside of the United States, you consent to having your personal data transferred to and processed in the United States. Privacy

Thanks! We'll email you when relevant content is added and updated.

Following