473,385 Members | 1,834 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,385 software developers and data experts.

aspnet server application hang for couple of minutes

What may be the reason for the following behavior:
There is an asp.net application. The application is quite complex.
Sometimes user request processing lasts long (even 1 [s]).

When user postbacks some data or enters the page for the first time, his
browser is not freezed. Whenever the user wants, he can stop, refresh or
go somewhere else, whilst the request is being processed.

And the problem now:
When the request is being processed, and the client refreshes his browser
(or requests something else, but still within the same application)
the requests instead of being processed get blocked. It looks as
if the server process has hung, and the browser is waiting for the response.
The response comes after 50-140 [s].
This happens only if user requests something, while his previous request
is still being processed.
What may be the reson for this strange behaviour ?
In my opinion, the server should queue the requests coming from the same
session
and process them. however the machine is idle, nothing happens for 1 minute.

To make things worse, not only _this_ client session freezes. If other guys
use the application, they also wait so long.

To make things even worse, this happens also to other asp.net applications
running in the context of the aspnet_wp.exe. Clients of those web applications
also do wait (only due to the fact that somebody has pressed browser refresh
button too frequently).

Help
Michal
Nov 18 '05 #1
4 1633
"Michal Januszczyk" <Mi*************@discussions.microsoft.com> wrote in
message news:87**********************************@microsof t.com...
What may be the reason for the following behavior:


Are your pages interfacing with a back-end database? If so, might you be
running out of connections...?
Nov 18 '05 #2
"Mark Rae" wrote:
Are your pages interfacing with a back-end database? If so, might you be
running out of connections...?


No. The pages do not use databases, nor do they use any other network
resources. The application simply computes something.

The strange thing is that also other apps do get affected by this web app.
So, the problem may be somewhere before asp.net even get chance to work
(maybe ISAPI dll, or IIS,.. ?)

Please help
Michal
Nov 18 '05 #3
"Michal Januszczyk" <Mi*************@discussions.microsoft.com> wrote in
message news:61**********************************@microsof t.com...
No. The pages do not use databases, nor do they use any other network
resources. The application simply computes something.

The strange thing is that also other apps do get affected by this web app.
So, the problem may be somewhere before asp.net even get chance to work
(maybe ISAPI dll, or IIS,.. ?)


Does the problem exhibit itself during debug in your development environment
or only in the live environment?
Nov 18 '05 #4
"Mark Rae" wrote:
Does the problem exhibit itself during debug in your development environment
or only in the live environment?


It occurs in boths environments.
I've investigated the matter more thorougly, and I have found that the
problem is somehow related to network interface speed.
I created another, a very simple web form asp.net application, and did the
same thing: repeatedly press refresh button of web browser. Even with the
very simple application the problem occurs, however, the occurence of problem
depends of the network speed. If the network interface is fast (lopback) the
problem does not occur at all. If it is 100Mbit ethernet, it happens but very
rarely (and only if the application is complex). And if the network link is
something about 115 kbps (my WAN interface), it happens often (if pressing
continually refresh button at high frequency). And with this network adapter
the application can realy be simple - just several input fields and buttons.

The worst thing is the fact that not only this session freezes, but all
other users' sessions.
Also I noticed that the IIS web server is not affected by the problem in a
way that it still can handle requests (but to file types not handled by
aspnet ISAPI library). My application uses a frameset with two frames. The
frames link to aspx pages. And if the problem occurs, frames contents are not
returned (for some time) , however the html page definig the frameset can be
fetched (and displayed by the browser).

Any help will be appreciated
Thanks
Michał Januszczyk
Nov 18 '05 #5

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

Similar topics

22
by: Zeng | last post by:
Hi, I'm running ClrProfiler for the first time to profile my web app, and it keeps getting stuck at this msg box: "Waiting for Asp.net to start common language runtime - this is the time to load...
16
by: JCauble | last post by:
We have a large Asp.net application that is currently crashing our production servers. What we are seeing is the aspnet_wp eat up a bunch of memory and then stop unexpectedly. Does not recycle. ...
1
by: Mark A | last post by:
DB2 ESE 8.2.3 (FP10) for Linux We are experiencing a connection hang of 10 - 15 minutes in the following HADR and automatic client reroute scenario: 01 server is primary database 02 server is...
29
by: Jan | last post by:
Hi: I have an Access database that's been running (in one form or another) for a couple of different clients for a few years. Now a new client has requested that it be implemented with a SQL...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: aa123db | last post by:
Variable and constants Use var or let for variables and const fror constants. Var foo ='bar'; Let foo ='bar';const baz ='bar'; Functions function $name$ ($parameters$) { } ...
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
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...
0
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,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...

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.