473,406 Members | 2,220 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,406 software developers and data experts.

How does ASP process requests?

I have noticed that when my ASP application is loading a page, it doesn't load anotherone, anywhere else in my Intranet until that page is done. This is particularly visible when it's loading large reports. Even if I try to sumiltaneously open up another page that doesn't load a heavy report, the second page wont load until the first one is done. Now this happens, within the same computer, and even if I'm loading something in one computer, and another one requests an ASP page, the same thing happens.

Now basically, my question is: Is this the way ASP works, period? or is there something I'm doing wrong, either when loading pages, or when accessing a database, or what is it?

Is it a way that I can make ASP pages on the same application process independently, or will I always have to wait for one to load until the next one can start loading.

I've looked up this over the web, but I don't seem to find documentation on that particular subject. I really hope someone around here can help me out.

Thanks :)
Oct 12 '07 #1
2 1370
markrawlingson
346 Expert 100+
This is particularly visible when it's loading large reports.
I'm thinking that this could be a resource issue. It sounds like when the first page loads, it eats up an enormous amount of resources and there aren't enough resources left over to serve the next page, so the worker process queues it, and serves it when it's able to locate the required resources for that page.

The company I work for recently had a similar issue, I was able to fix it by recoding a portion of the most resource heavy page being served on the site. It was coded poorly, and on average created over 50 recordset objects every time the page was loaded due to a bad loop, I recoded it more efficiently and I haven't seen the problem since.

You may want to check the processes running in your server's task manager. Primarily look for a process called w3wp.exe - and check to see how much memory it is using and how much CPU usage it's taking up while these pages are being loaded.

In our case, the worker process serving the site that holds the page i recoded was maxing out CPU usage, between 89-100% and the memory usage was between 110 - 120 mb during our peak usage times. Just by this ONE worker process, we have 6 worker processes handling several groups of websites and many other processes running on the box in addition.

Btw, our box is a p4 2.4gighz - 1gig DDR-2 RAM.

Anyway, Hope this helps you out!
Oct 12 '07 #2
Hmm, the server proccess w3wp.exe doesn't go over 30% cpu usage, and even like that, when one page is loading nothing else loads until that's done.

:(
Oct 12 '07 #3

Sign in to post your reply or Sign up for a free account.

Similar topics

3
by: Bruce W.1 | last post by:
With ASP.NET I've found that request are processed sequentially, one at a time, at least on a server with one CPU. If one request blocks for some reason, maybe on a long database query, then all...
6
by: Ilia | last post by:
Hi folks, I have some problems with ASP.NET Session State. The following simple program runs well if the Session State set as "InProc". If I switch to "SQLServer", the changes, made by the...
3
by: CG | last post by:
I have a VS .NET 2003 web service project which references a Managed C++ assembly. The managed C++ assembly in turn uses some unmanaged code. Because of some restriction in the unmanaged...
7
by: Devron Blatchford | last post by:
Hi there, I am trying to develop a small menu application to run on an RF network, we are using a wavelink server to communicate with our rf scanners and run VB.NET applications on our server...
0
by: ob | last post by:
The situation I have is that I have a long running process (that takes 15 min to process) kicked off from an ASP.NET page. I launch a thread and kick of the process and return instantly. I store...
0
by: ob | last post by:
The situation I have is that I have a long running process (that takes 15 min to process) kicked off from an ASP.NET page. I launch a thread and kick of the process and return instantly. I store...
14
by: Harry Keck | last post by:
I have client side code that uses xmlhttp to make an asyncronous call to the server. This call really churns the server and can take a couple of minutes to finish. I have found that while this...
113
by: John Nagle | last post by:
The major complaint I have about Python is that the packages which connect it to other software components all seem to have serious problems. As long as you don't need to talk to anything outside...
29
by: zalek | last post by:
I am writing application with Ajax in sync mode - xmlHttp.open("GET", url, false). I noticed that in FireFox handler doesn't starts. It starts when I use xmlHttp.open("GET", url,true). I need to...
1
by: nicerun | last post by:
I'm using the Application_Start event at Global.asax.cs to invoke thread that do some job. I know that Application_Start event occurs when the very first request to Web Application received. -...
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: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
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...
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
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...
0
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
0
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,...
0
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...

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.