472,353 Members | 2,031 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 472,353 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 2833
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....
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...
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...
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...
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...
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...
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...
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...
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...
0
by: Naresh1 | last post by:
What is WebLogic Admin Training? WebLogic Admin Training is a specialized program designed to equip individuals with the skills and knowledge...
0
jalbright99669
by: jalbright99669 | last post by:
Am having a bit of a time with URL Rewrite. I need to incorporate http to https redirect with a reverse proxy. I have the URL Rewrite rules made...
2
by: Matthew3360 | last post by:
Hi, I have a python app that i want to be able to get variables from a php page on my webserver. My python app is on my computer. How would I make it...
0
by: AndyPSV | last post by:
HOW CAN I CREATE AN AI with an .executable file that would suck all files in the folder and on my computerHOW CAN I CREATE AN AI with an .executable...
0
by: Arjunsri | last post by:
I have a Redshift database that I need to use as an import data source. I have configured the DSN connection using the server, port, database, and...
0
by: Matthew3360 | last post by:
Hi, I have been trying to connect to a local host using php curl. But I am finding it hard to do this. I am doing the curl get request from my web...
0
Oralloy
by: Oralloy | last post by:
Hello Folks, I am trying to hook up a CPU which I designed using SystemC to I/O pins on an FPGA. My problem (spelled failure) is with the...
0
BLUEPANDA
by: BLUEPANDA | last post by:
At BluePanda Dev, we're passionate about building high-quality software and sharing our knowledge with the community. That's why we've created a SaaS...
0
by: Rahul1995seven | last post by:
Introduction: In the realm of programming languages, Python has emerged as a powerhouse. With its simplicity, versatility, and robustness, Python...

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.