473,322 Members | 1,526 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,322 software developers and data experts.

ASPSTATE issues

We are stress testing our application. We see 100 SPIDS connected to the
ASPSTATE and then the pages request per unit time slow down to barely
nothing.

It appears that somehow the ASP.NET session stuff is not returning
connections to the pool and that these SPIDS are being orphaned just like
when you don't call conn.Dispose()

Sooner or later the aspnet_wp.exe process will recycle because it's
deadlocked.

What are we doing wrong that so many SPIDs to the ASPSTATE are being built
up? I haven't researched this much but it doesn't appear we have much
control over this over than setting the Max Pool Size but that will only
lengthen the time until all the connections are used.
Nov 18 '05 #1
2 2530
I Think u can make effective use of
procesmodel tag in machine confog...

just check it on net which allows u to
limit no of requests..
actualy it is nice tool u can usefor asp.net wp process

--
Thanks and Regards,

Amit Agarwal
Software Programmer(.NET)
"Kevin Jackson" <kj******@powerwayinc.com> wrote in message
news:%2****************@tk2msftngp13.phx.gbl...
We are stress testing our application. We see 100 SPIDS connected to the
ASPSTATE and then the pages request per unit time slow down to barely
nothing.

It appears that somehow the ASP.NET session stuff is not returning
connections to the pool and that these SPIDS are being orphaned just like
when you don't call conn.Dispose()

Sooner or later the aspnet_wp.exe process will recycle because it's
deadlocked.

What are we doing wrong that so many SPIDs to the ASPSTATE are being built
up? I haven't researched this much but it doesn't appear we have much
control over this over than setting the Max Pool Size but that will only
lengthen the time until all the connections are used.

---
Outgoing mail is certified Virus Free.
Checked by AVG anti-virus system (http://www.grisoft.com).
Version: 6.0.583 / Virus Database: 369 - Release Date: 2/10/2004
Nov 18 '05 #2
Hi Kevin,
Thanks for posting in the community!
From your description, you're doing stress testing on a certain ASP.NET web
application. The application used sqlserver connections to a certain
database(aspstate). However, you found that when running the test, the
connections remains abou 100 and then the web app's performance(pages
request per unit time) slow down to barely nothing.
If there is anything I misunderstood, please feel free to let me know.

As for this issue, I'd like to asked some further questions on it:
1. Are you using the SQLServer as the ASP.NET web application's Session
State management server? If so , would you provide me the detailed setting
for the <sessionState> in your web.config file, especially the connection
string?

2. Have you used the SQLProfiler to see what's the account the ASP.NET used
to connect sqlserver? Also, what's the web app's authentication setting?
Have you used impersonate?

In addition, here are some tech articles on server process monitor and
sqlserver session management:

#Watching Your Server Processes
http://msdn.microsoft.com/library/en...chserverproces
ses.asp?frame=true

#ASP.NET Performance Monitoring, and When to Alert Administrators
http://msdn.microsoft.com/library/en...rf.asp?frame=t
rue

#HOW TO: Configure ASP.NET for Persistent SQL Server Session State
Management
http://support.microsoft.com/default...b;en-us;311209

Please check out the preceding suggestions. If you have any new findings or
further infos , please feel free to post here.
Regards,

Steven Cheng
Microsoft Online Support

Get Secure! www.microsoft.com/security
(This posting is provided "AS IS", with no warranties, and confers no
rights.)

Get Preview at ASP.NET whidbey
http://msdn.microsoft.com/asp.net/whidbey/default.aspx

Nov 18 '05 #3

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

0
by: Tony | last post by:
We are a software company that builds an ASP.Net web application which implements cookieless sessionState with SQLServer- the session is stored in the url. Our ASPState database has been built...
0
by: Bryan Ax | last post by:
Quick question regarding best practices for using the AspState database for storing session variables in .NET web applications. I know I need to configure the web.config file with a database user...
2
by: Glenn Venzke | last post by:
I'm trying to put together a web form that lists all current session information. The session info is stored in SQL server database (ASPState) and I'm trying to retreive and display using a...
0
by: Eduardo Rosa | last post by:
Hi, I'm reading a ms tutorial about session in asp.net, and I' can't start the aspstate, somebody can help me? tutorial:...
0
by: david | last post by:
How to create the user for ASPSTATE? I got error: Exception Details: System.Data.SqlClient.SqlException: EXECUTE permission denied on object 'TempGetStateItemExclusive2', database 'ASPState', owner...
2
by: tcw | last post by:
We would like to use ASPState to handle the session State. Since we have several web applications (web sites) in our web server, do we have to create an ASPState database for each web application...
0
by: msnews.microsoft.com | last post by:
We are running a ASP.NET 1.1 web app on Windows Server 2003 SP1. We are using IIS 6.0 native mode and .NET 1.1 SP1 is installed. We have 3 web apps in our web farm. We are using SQLServer...
2
by: astuemky | last post by:
I don't know if I should post this here or in SQL Server, but thought I'd start here. We have been using the default ASPState database that microsoft creates for session state tracking. Even...
1
by: =?Utf-8?B?RWQ=?= | last post by:
I presently have an ASP.NET 2.0 application in production, that uses a state database "ASPState". I have another seperate application that has the same requirment. Is there any problem with...
0
by: DolphinDB | last post by:
Tired of spending countless mintues downsampling your data? Look no further! In this article, you’ll learn how to efficiently downsample 6.48 billion high-frequency records to 61 million...
1
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, we are pleased to welcome back...
0
by: Vimpel783 | last post by:
Hello! Guys, I found this code on the Internet, but I need to modify it a little. It works well, the problem is this: Data is sent from only one cell, in this case B5, but it is necessary that data...
0
by: jfyes | last post by:
As a hardware engineer, after seeing that CEIWEI recently released a new tool for Modbus RTU Over TCP/UDP filtering and monitoring, I actively went to its official website to take a look. It turned...
1
by: PapaRatzi | last post by:
Hello, I am teaching myself MS Access forms design and Visual Basic. I've created a table to capture a list of Top 30 singles and forms to capture new entries. The final step is a form (unbound)...
1
by: CloudSolutions | last post by:
Introduction: For many beginners and individual users, requiring a credit card and email registration may pose a barrier when starting to use cloud servers. However, some cloud server providers now...
1
by: Shællîpôpï 09 | last post by:
If u are using a keypad phone, how do u turn on JavaScript, to access features like WhatsApp, Facebook, Instagram....
0
by: Faith0G | last post by:
I am starting a new it consulting business and it's been a while since I setup a new website. Is wordpress still the best web based software for hosting a 5 page website? The webpages will be...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 3 Apr 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome former...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.