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

Very extrange behavior of ASP.NET

Hi there!

We are near the ending stage of an ASP.NET + IIS project, and started doing
stress testing on the servers. We find ourselves with a very strange
behavior, that can’t figure out since several days ago. Hitting the websites
with 500 user clicks every 1 second, in ANY of the interior pages (those are
not the default one), takes the ASP.NET process to about 80% of CPU usage. If
instead we just go to the root, the CPU doesn’t moves for the aspnet_wp.

Extranged by this behavior, we started removing things, trying to isolate
the problem inside our app. We couldn’t figure it out that way, so we end up
by creating a simple ASP.NET application from scratch. It only has two pages:

Default.aspx
Folder/Page.aspx

Both pages only contains a few labels, saying “hello” or something (no DB
access at all, etc.). The behavior it’s the same: if we do the stress testing
trageting the root “http://localhost/simplesite”, the CPU doesn’t moves. If I
go to “http://localhost/simplesite/folder/page.aspx”, the CPU goes to about
80% or more, depending on the user load.

And then, something even MORE weird. If I direct the testings to
http://localhost/simplesite”, the CPU doesn’t moves (as I was saying
before). BUT, If I go to “http://localhost/simplesite/default.aspx” (this is,
writing explicitly “default.aspx”), the CPU goes to 80% again.

We’ve done this test many times, and in different servers: both with IIS5
and IIS6. We are using the NET2.0 SP1. We are testing with “debug=false”, and
also disabled all non-required http modules. Different people watched and did
the test by themselves, without finding any possible reasons.

Have you seen this behavior before? Is there anything else that we could try?

Thanks a lot.
Mariano

Jun 27 '08 #1
1 968
When you hitting the root are you actually hitting ASP.NET?
Cause http://localhost/simplesite is not equal to
http://localhost/simplesite/default.aspx

Can be configured on a server to be the same but can be different pages.

George.

"MNB" <MN*@discussions.microsoft.comwrote in message
news:82**********************************@microsof t.com...
Hi there!

We are near the ending stage of an ASP.NET + IIS project, and started
doing
stress testing on the servers. We find ourselves with a very strange
behavior, that can't figure out since several days ago. Hitting the
websites
with 500 user clicks every 1 second, in ANY of the interior pages (those
are
not the default one), takes the ASP.NET process to about 80% of CPU usage.
If
instead we just go to the root, the CPU doesn't moves for the aspnet_wp.

Extranged by this behavior, we started removing things, trying to isolate
the problem inside our app. We couldn't figure it out that way, so we end
up
by creating a simple ASP.NET application from scratch. It only has two
pages:

Default.aspx
Folder/Page.aspx

Both pages only contains a few labels, saying "hello" or something (no DB
access at all, etc.). The behavior it's the same: if we do the stress
testing
trageting the root "http://localhost/simplesite", the CPU doesn't moves.
If I
go to "http://localhost/simplesite/folder/page.aspx", the CPU goes to
about
80% or more, depending on the user load.

And then, something even MORE weird. If I direct the testings to
"http://localhost/simplesite", the CPU doesn't moves (as I was saying
before). BUT, If I go to "http://localhost/simplesite/default.aspx" (this
is,
writing explicitly "default.aspx"), the CPU goes to 80% again.

We've done this test many times, and in different servers: both with IIS5
and IIS6. We are using the NET2.0 SP1. We are testing with "debug=false",
and
also disabled all non-required http modules. Different people watched and
did
the test by themselves, without finding any possible reasons.

Have you seen this behavior before? Is there anything else that we could
try?

Thanks a lot.
Mariano

Jun 27 '08 #2

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

Similar topics

4
by: George Hester | last post by:
http://home.nycap.rr.com/foryorisonly/site.htm The top one is very different from the bottom one. If you do not recognize the difference scroll the images to the right. Not that the toolbar...
10
by: B Moor | last post by:
Host PC: Win SBS 2003 with 2.6 GHz processor and 1GB RAM SQL Server 2000 sp3 (or latest).MS Office 2k3 I have the access 2k3 front end running on server (this may get changed) and all was well...
6
by: leonecla | last post by:
Hi everybody, I'm facing a very very strange problem with a very very simple C program... My goal should be to write to a binary file some numbers (integers), each one represented as a sequence...
7
by: Earl Teigrob | last post by:
The first time any of my web apps are hit, they take a long time (45 seconds) for the JIT compiler to compile them. After being hit the first time, they are very fast. My boss is starting to think...
12
by: John | last post by:
I can't get my head around this! I have the following code: <% .... Code for connection to the database ... .... Code for retrieving recordset ... If Not rs.EOF Then ... Do something...
6
by: gallerto | last post by:
I have a very extrange problem with calloc. I am working with Dev-C++ in Windows. The code is in C but I compile it as C++. All my files are .cpp I will explain the situation. I have a program...
52
by: robert | last post by:
I'm very pleased to announce that Foundations of F#, the first book to be published on the F# programming, will finish its first printing run, tomorrow, Friday 25th May. It should reach any...
126
by: jacob navia | last post by:
Buffer overflows are a fact of life, and, more specifically, a fact of C. All is not lost however. In the book "Value Range Analysis of C programs" Axel Simon tries to establish a...
4
by: sagi | last post by:
Hello erveryone,I am a newcomer here and the word of c. Here I have a question confused me a lot that when I read codes I found some declaration like that: "int regcomp(regex_t *restrict...
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
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: ryjfgjl | last post by:
In our work, we often need to import Excel data into databases (such as MySQL, SQL Server, Oracle) for data analysis and processing. Usually, we use database tools like Navicat or the Excel import...
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
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: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
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.