473,516 Members | 3,466 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Browser sends multiple request 5 to 10 request in a second withoutuser action.

Our application is created in C#, ASP.Net 2.0, SQL 2005; the session
is managed in SQL server with ASPState. We often file below exception

Error Details :

Exception of type 'System.Web.HttpException' was thrown.

Source : System.Web

Stack Information : at System.Web.HttpAsyncResult.End() at
System.Web.SessionState.SessionStateModule.EndAcqu ireState(IAsyncResult
ar) at
System.Web.HttpApplication.AsyncEventExecutionStep .OnAsyncEventCompletion(IAsyncResult
ar)

Inner Exception : System.Web.HttpException: Unable to connect to SQL
Server session database. ---System.InvalidOperationException:
Timeout expired. The timeout period elapsed prior to obtaining a
connection from the pool. This may have occurred because all pooled
connections were in use and max pool size was reached. at
System.Data.ProviderBase.DbConnectionFactory.GetCo nnection(DbConnection
owningConnection) at
System.Data.ProviderBase.DbConnectionClosed.OpenCo nnection(DbConnection
outerConnection, DbConnectionFactory connectionFactory) at
System.Data.SqlClient.SqlConnection.Open() at
System.Web.SessionState.SqlSessionStateStore.SqlSt ateConnection..ctor(SqlPartitionInfo
sqlPartitionInfo) --- End of inner exception stack trace --- at
System.Web.SessionState.SqlSessionStateStore.Throw SqlConnectionException(SqlConnection
conn, Exception e) at
System.Web.SessionState.SqlSessionStateStore.SqlSt ateConnection..ctor(SqlPartitionInfo
sqlPartitionInfo) at
System.Web.SessionState.SqlSessionStateStore.GetCo nnection(String id,
Boolean& usePooling) at
System.Web.SessionState.SqlSessionStateStore.DoGet (HttpContext
context, String id, Boolean getExclusive, Boolean& locked, TimeSpan&
lockAge, Object& lockId, SessionStateActions& actionFlags) at
System.Web.SessionState.SqlSessionStateStore.GetIt emExclusive(HttpContext
context, String id, Boolean& locked, TimeSpan& lockAge, Object&
lockId, SessionStateActions& actionFlags) at
System.Web.SessionState.SessionStateModule.GetSess ionStateItem() at
System.Web.SessionState.SessionStateModule.PollLoc kedSessionCallback(Object
state)

Target Site : System.Object End()
The wondering thing here is these exceptions are just flooding in from
the cleint while they request the application via browser and time it
go on and on for 30 minutes, please do any one has any clue or faced
such issue in past, we were looking at the solution but not able to
find any.

Thanks in advance.
H Patel
Jun 27 '08 #1
2 1701
On Apr 30, 3:17 pm, Hiten <hitendr...@gmail.comwrote:

<snip>
The wondering thing here is these exceptions are just flooding in from
the cleint while they request the application via browser and time it
go on and on for 30 minutes, please do any one has any clue or faced
such issue in past, we were looking at the solution but not able to
find any.
I guess the obvious question is: what was your database doing at the
time? Did you perhaps have connections that you hadn't closed properly
elsewhere in your code?

Jon
Jun 27 '08 #2
On Apr 30, 9:39*pm, "Jon Skeet [C# MVP]" <sk...@pobox.comwrote:
On Apr 30, 3:17 pm, Hiten <hitendr...@gmail.comwrote:

<snip>
The wondering thing here is these exceptions are just flooding in from
the cleint while they request the application via browser and time it
go on and on for 30 minutes, please do any one has any clue or faced
such issue in past, we were looking at the solution but not able to
find any.

I guess the obvious question is: what was your database doing at the
time? Did you perhaps have connections that you hadn't closed properly
elsewhere in your code?

Jon
Hi Jon,

we did check that but there is no such case we found, the thig here is
when e see the IIS web log, we find that there is n number od requsts
are comming in from client, and frequency is very high in a second say
20 request in one second.
and after some time when server cant handle such flooding request this
error occurs "Exception of type 'System.Web.HttpException' was
thrown."

Thats clear that requests are coming in from client side and thats the
reason of this error, the wondering thing is the concurrency is not
more than 5 thousand users, and the intresting part is flodding
request will come from only one session of the user which is not at
possible by human to send that mych requets to the server 20-30 in a
second for arround 30 minutes .....So the question is how browser will
do like this? because every time it is not comming from one user it is
comming from diffrent users, diffrent location and diffrent browsers
[IE,FF,Safari etc]

Please could you suggest what could be the possiblity from client
side?

Thanks
Jun 27 '08 #3

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

Similar topics

11
4894
by: Ohaya | last post by:
Hi, I'm trying to understand a situation where ASP seems to be "blocking" of "queuing" requests. This is on a Win2K Advanced Server, with IIS5. I've seen some posts (e.g., http://groups.google.com/groups?hl=en&lr=&ie=UTF-8&oe=UTF-8&selm=Tidy7IDbDHA.2108%40cpmsftngxa06.phx.gbl) that indicate that ASP will queue up requests when they come...
4
9490
by: Andy Gayton | last post by:
Hey all, It looks like dynamic changes to a html document are only redrawn when the current code snippet comes to an end. For example the following page changes the text in a span, waits for a bit, and then sets the text in the span to something else when done. You don't see the change though. -----
7
2870
by: someone | last post by:
Let's say I have a Session timeout of 20 minutes. If the browser periodically request a graphic file, will that keep its Session alive? What keeps the Session alive? Is it the Session cookie that is sent in the HTTP header from the browser? If that is so, will requesting a graphic file send the cookie? Thanks.
3
2616
by: Jason Chu | last post by:
I've written a file uploading part of my application using the IHttpModule. So now, I don't have the memory problem of uploading something big. Problem: I can't find which function I have to override, so that I can catch the event when while user's uploading a file, then suddenly closes the browser. In that case, couple things happens: 1)...
3
5882
by: petermichaux | last post by:
Hi, I am trying to put together the last major pieces of my project's puzzle. This is more website/client-side architecture than JavaScript syntax but I hope this is a good place to ask. I'm a little stumped with which direction to take and advice would be greatly appreciated. I think this is a generally interesting problem but I haven't...
9
1435
by: sinbuzz | last post by:
People, Most browsers allow me to suppress viewing of images when I browse a URL. Can this behavior be duplicated by the server? I'd like for my server to detect if a user has image viewing turned off in his browser.
6
2384
by: =?Utf-8?B?YzY3NjIyOA==?= | last post by:
Hi all, I am thinking about doing this since I got several cases that some of our internal users open more than one browser at the same time from our server. When one of the transactions was not completed finished, the second browser jusk pick up some session variables from the first browser and process right after that. It messed up...
0
994
by: Hiten | last post by:
Our application is created in C#, ASP.Net 2.0, SQL 2005; the session is managed in SQL server with ASPState. We often file below exception Error Details : Exception of type 'System.Web.HttpException' was thrown. Source : System.Web Stack Information : at System.Web.HttpAsyncResult.End() at
0
7273
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main...
0
7182
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language...
0
7405
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. ...
0
5712
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then...
1
5106
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 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 a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes...
0
4769
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert...
0
3265
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in...
0
3252
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
823
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.

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.