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

ASP.NET App, Remote XML Loading, Requests Executing shoots up

Our ASP.NET application receives around 90 anonymous hits/sec while Requests
Executing usually stays around 15-25. This is good and our server performs
well

What our app does is load a remote XML URL with xmltextreader and
xmldocument load then transcribes the XML through a stylesheet and displays
it as a webpage.

The Problem is sometimes the Requests Executing will shoot up to 125-150 and
all of a sudden we'll get a server too busy error. I don't understand why
this is happening? I tried putting this in my web.config file:

<httpRuntime executionTimeout="6"/>

But still the requests executing will jump to 125-150 and stay like that but
the anonymous rec/sec stays the same, this is driving me crazy!

Does anyone know why this is happening?

Thanks
Jul 21 '05 #1
2 2882
I hope so. Most of the times, the unmanaged resources would not get disposed
and still hang in there, if you're using .NET 1.0, you have another headache
too. If your object becomes big enough (more than 85000 bytes) then it
automatically goes into generation 2 level object (occupying large object
heap, which is at a far* location), so GC will never touch it until it sees
there are no more Generation 0 and 1 items in its list to knock down. That
would be long enough to choke a system. Luckily MS fixed that issue in 1.1.
My principle is if you are not using it, dispose/close it.

"NeedHelp" wrote:
You know what we didnt close it. You think that would be the problem but the
problem won't happen for a good 20 hours or so or until peak times during the
day, do you still think it is the closing of the xmltextreader?

"Rama.NET" wrote:
Did you close your XmlTextReader object?

"NeedHelp" wrote:
Our ASP.NET application receives around 90 anonymous hits/sec while Requests
Executing usually stays around 15-25. This is good and our server performs
well

What our app does is load a remote XML URL with xmltextreader and
xmldocument load then transcribes the XML through a stylesheet and displays
it as a webpage.

The Problem is sometimes the Requests Executing will shoot up to 125-150 and
all of a sudden we'll get a server too busy error. I don't understand why
this is happening? I tried putting this in my web.config file:

<httpRuntime executionTimeout="6"/>

But still the requests executing will jump to 125-150 and stay like that but
the anonymous rec/sec stays the same, this is driving me crazy!

Does anyone know why this is happening?

Thanks

Jul 21 '05 #2
I hope so. Most of the times, the unmanaged resources would not get disposed
and still hang in there, if you're using .NET 1.0, you have another headache
too. If your object becomes big enough (more than 85000 bytes) then it
automatically goes into generation 2 level object (occupying large object
heap, which is at a far* location), so GC will never touch it until it sees
there are no more Generation 0 and 1 items in its list to knock down. That
would be long enough to choke a system. Luckily MS fixed that issue in 1.1.
My principle is if you are not using it, dispose/close it.

"NeedHelp" wrote:
You know what we didnt close it. You think that would be the problem but the
problem won't happen for a good 20 hours or so or until peak times during the
day, do you still think it is the closing of the xmltextreader?

"Rama.NET" wrote:
Did you close your XmlTextReader object?

"NeedHelp" wrote:
Our ASP.NET application receives around 90 anonymous hits/sec while Requests
Executing usually stays around 15-25. This is good and our server performs
well

What our app does is load a remote XML URL with xmltextreader and
xmldocument load then transcribes the XML through a stylesheet and displays
it as a webpage.

The Problem is sometimes the Requests Executing will shoot up to 125-150 and
all of a sudden we'll get a server too busy error. I don't understand why
this is happening? I tried putting this in my web.config file:

<httpRuntime executionTimeout="6"/>

But still the requests executing will jump to 125-150 and stay like that but
the anonymous rec/sec stays the same, this is driving me crazy!

Does anyone know why this is happening?

Thanks

Jul 21 '05 #3

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

Similar topics

11
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.,...
0
by: NeedHelp | last post by:
Our ASP.NET application receives around 90 anonymous hits/sec while Requests Executing usually stays around 15-25. This is good and our server performs well What our app does is load a remote...
1
by: Tony | last post by:
Hi, I have several web projects running on my webserver. For some projects I have a productive web and a development web. So if I create new functions I first test them in the development...
0
by: whidbeywave | last post by:
Hello all, Help me understanding this situtation. While debugging a scenario for error 403.9 on IIS/XP Pro, I added two counters to perfmon app.I saw at some point of time Session Active =0 , but...
2
by: | last post by:
Dear Groups, I am trying to develop a simple client <-> server application where (for database security reasons) the server only has access to the centralised database (and a file repository),...
3
by: h4nne5 | last post by:
hi! i would like to create a website where you can browse really high definition images of mine. they are huge and loading them as one would take ages and would probably give some problems to the...
0
by: Jorre Meijrink | last post by:
Dear reader, We have two Win2003 webfarms each consisting of 5 servers. Which we call cluster1 and cluster2. Cluster2 is the bussiest of these two and periodicaly (varies from 2 times per day to...
7
by: Tom Cole | last post by:
IFrames have been used by years for people to accomplish many of the tasks the XMLHttpRequest does for them now...I unfortunately am late in the game and XMLHttpRequest was already out there by the...
1
by: bizt | last post by:
Hi, I have a webpage where Im creating AJAX type requests by loading dynamic pages containg JavaScript into hidden iFrames. The reason I am opting for this method over XmlHttpRequest object...
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...
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...
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: 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...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
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
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...

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.