473,699 Members | 2,323 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Urgent help needed

fj
Windows 2003 Server. IIS 6.0
Website is running in separate application pool.

I keep getting timeout problem. and the CPU is max 25%. The calculation runs
more than 15 minutes. I tried to check CPU monitoring option for the
application pool and I set to MAX 100% CPU usage. It didn't help. CPU is
still 25%. I didn't restart the server though. There is no time to rewrite
the code to improve performance.

Thanks
-fj
Aug 22 '06 #1
10 1629
fj wrote:
Windows 2003 Server. IIS 6.0
Website is running in separate application pool.

I keep getting timeout problem. and the CPU is max 25%. The
calculation runs more than 15 minutes. I tried to check CPU
monitoring option for the application pool and I set to MAX 100% CPU
usage. It didn't help. CPU is still 25%. I didn't restart the server
though. There is no time to rewrite the code to improve performance.
The solution depends on the source of your timeout. See:
http://www.aspfaq.com/show.asp?id=2366

--
Microsoft MVP -- ASP/ASP.NET
Please reply to the newsgroup. The email account listed in my From
header is my spam trap, so I don't check it very often. You will get a
quicker response by posting to the newsgroup.
Aug 22 '06 #2
fj wrote:
I keep getting timeout problem. and the CPU is max 25%. The
calculation runs more than 15 minutes. I tried to check CPU
monitoring option for the application pool and I set to MAX
100% CPU usage. It didn't help. CPU is still 25%. I didn't
restart the server though.

You can certainly bump your timeout higher. I used to have a process that
ran for over an hour at a time, due to a third-party component (the current
version still takes over 30 minutes). I set the ScriptTimeout to 4 hours,
which IIS took without complaint.

If the issue is incomplete use of resources, perhaps you should heed the
words of Eric Lippert:

"If you care about maximizing performance, using a late-bound
unoptimized bytecode-interpreted dynamically-typed language
is probably a bad choice"
There is no time to rewrite the code to improve performance.
If you are waiting 15 minutes between runs, I'd say you have nothing *but*
time.

--
Dave Anderson

Unsolicited commercial email will be read at a cost of $500 per message. Use
of this email address implies consent to these terms.
Aug 22 '06 #3
fj
The error I got is a blank page. It's not a ASP
"The page cannot be displayed, ......

Cannot find server or DNS Error"

The log didn't show the time-taken field correctly.

One thing I noticed is the default website setting, Connection timeout is
set to 10,000.that's almost 3 hours. And the HTTP keep alive is checked.

BTW, I still need to know how to increase the CPU utilization for IIS.

Thanks

-fj
"Dave Anderson" <NY**********@s pammotel.comwro te in message
news:ef******** *****@TK2MSFTNG P05.phx.gbl...
fj wrote:
>I keep getting timeout problem. and the CPU is max 25%. The
calculation runs more than 15 minutes. I tried to check CPU
monitoring option for the application pool and I set to MAX
100% CPU usage. It didn't help. CPU is still 25%. I didn't
restart the server though.


You can certainly bump your timeout higher. I used to have a process that
ran for over an hour at a time, due to a third-party component (the
current
version still takes over 30 minutes). I set the ScriptTimeout to 4 hours,
which IIS took without complaint.

If the issue is incomplete use of resources, perhaps you should heed the
words of Eric Lippert:

"If you care about maximizing performance, using a late-bound
unoptimized bytecode-interpreted dynamically-typed language
is probably a bad choice"
>There is no time to rewrite the code to improve performance.

If you are waiting 15 minutes between runs, I'd say you have nothing *but*
time.

--
Dave Anderson

Unsolicited commercial email will be read at a cost of $500 per message.
Use
of this email address implies consent to these terms.

Aug 22 '06 #4
BTW, I still need to know how to increase the CPU utilization for IIS.

Does your machine have four CPUs, or two dual-core/hyper-threaded CPUs?

A process that requires a single thread can only ever take 25% of the total
CPU power of such a machine.

A
Aug 22 '06 #5
fj
There are 4 CPUs. So if one CPU is 100% loaded, the total usage will be 25%,
is it right?

Is that's the case is there an easy way to utilize more than one CPU?

Thanks,
fj

"Aaron Bertrand [SQL Server MVP]" <te*****@dnartr eb.noraawrote in message
news:uH******** ******@TK2MSFTN GP04.phx.gbl...
>BTW, I still need to know how to increase the CPU utilization for IIS.

Does your machine have four CPUs, or two dual-core/hyper-threaded CPUs?

A process that requires a single thread can only ever take 25% of the
total CPU power of such a machine.

A

Aug 22 '06 #6
top.
to
bottom
from
read
not
do
conversations
sentences,
Like
toppost.
not
do
Please

fj wrote:
The error I got is a blank page. It's not a ASP
"The page cannot be displayed, ......
If you are getting THOSE at other times, you ought to start here:
http://classicasp.aspfaq.com/general...sp-errors.html

"Friendly Error HTTP Messages" are like the "Clean Forests Initiative". Both
bear names that mean the opposite.
Cannot find server or DNS Error"

The log didn't show the time-taken field correctly.
By default, log times are in UTC. Adjust for your offset.
One thing I noticed is the default website setting,
Connection timeout is set to 10,000.that's almost 3
hours. And the HTTP keep alive is checked.
This is the wrong approach. The default should be much shorter, like 60. Use
Server.ScriptTi meout only when you need to:
http://msdn.microsoft.com/library/en...2a43b1abef.asp
BTW, I still need to know how to increase the CPU utilization for IIS.
IIS will use as much as it needs.

--
Dave Anderson

Unsolicited commercial email will be read at a cost of $500 per message. Use
of this email address implies consent to these terms.
Aug 22 '06 #7
There are 4 CPUs. So if one CPU is 100% loaded, the total usage will be
25%, is it right?
Yes, that math looks correct.
Is that's the case is there an easy way to utilize more than one CPU?
ASP does not support multi-threading. What exactly are you doing that pegs
the CPU and for so long? This doesn't sound normal, never mind desirable.

A
Aug 22 '06 #8
fj wrote:
There are 4 CPUs. So if one CPU is 100% loaded, the total usage
will be 25%, is it right?

Is that's the case is there an easy way to utilize more than one
CPU?
Not in pure ASP. Didn't read the advice from Eric Lippert, did you?

--
Dave Anderson

Unsolicited commercial email will be read at a cost of $500 per message. Use
of this email address implies consent to these terms.
Aug 22 '06 #9
fj

"Dave Anderson" <NY**********@s pammotel.comwro te in message
news:OZ******** ******@TK2MSFTN GP06.phx.gbl...
top.
to
bottom
from
read
not
do
conversations
sentences,
Like
toppost.
not
do
Please

fj wrote:
>The error I got is a blank page. It's not a ASP
"The page cannot be displayed, ......

If you are getting THOSE at other times, you ought to start here:
http://classicasp.aspfaq.com/general...sp-errors.html

"Friendly Error HTTP Messages" are like the "Clean Forests Initiative".
Both bear names that mean the opposite.
>Cannot find server or DNS Error"

The log didn't show the time-taken field correctly.

By default, log times are in UTC. Adjust for your offset.
>One thing I noticed is the default website setting,
Connection timeout is set to 10,000.that's almost 3
hours. And the HTTP keep alive is checked.

This is the wrong approach. The default should be much shorter, like 60.
Use Server.ScriptTi meout only when you need to:
http://msdn.microsoft.com/library/en...2a43b1abef.asp
>BTW, I still need to know how to increase the CPU utilization for IIS.

IIS will use as much as it needs.

--
Dave Anderson

Unsolicited commercial email will be read at a cost of $500 per message.
Use of this email address implies consent to these terms.
Sorry for the top posting.

It's ASP.net 1.143. It's not Asp. All code is using code behind.
What the code does is to create very complex invoice and convert it to the
final format user choose to. It create business object first and serialize
into XML and then use style sheet to convert.

I was able to get the intermediate XML file pretty fast, about 50 seconds.
The last step takes for ever. However, when I test the xslt conversion using
the XML data file and stylesheet in XMLSpy and Visual Studio, I get very
fast response. The code doesn't seem to have obvious flaw.

The Server has 4 Xeon 3.2G CPUs and 2G memory. When the blank page shows,
the memory usage for w3wp.exe is about 150M.

Any help?

-fj


Aug 22 '06 #10

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

Similar topics

2
9160
by: choksi | last post by:
Hello All I am running PHP5.0.2 over apache 1.3.29 and openssl-0.9.7d on a Debian Linux and with a fake (internal)ip. Php Configure command './configure' '--with-apxs=/www/bin/apxs' '--with-openssl-dir=/usr/local/src/webserver/openssl-0.9.7d/' '--enable-trans-sid' '--disable-libxml' Registered PHP Streams : php, file, http, ftp Registered Stream Socket Transports : tcp, udp, unix, udg allow_url_fopen : ...
10
2556
by: Tony Archer | last post by:
Gentlemen, your urgent help is needed in solving a STRANGE problem. I have two servers a dev box, and a production box. On the dev box everything works fine, in production it hoses: One of the things a user can do is click a "Change region" link which takes them to a map of the world. They can then select one of four regions. When they select a region it takes them to a page which reads a variable and then sets a cookie which is...
1
2227
by: Tony Archer | last post by:
(Forgive the dupicate post, I had left out the OS Version out of the prior post.) Gentlemen, your urgent help is needed in solving a STRANGE problem. I have two servers a dev box, and a production box. On the dev box everything works fine, in production it hoses: One of the things a user can do is click a "Change region" link which takes them to a map of the world. They can then select one of four regions.
0
1609
by: felix_william | last post by:
Attention=3A Dear friend=2C REQUEST FOR BUSINESS RELATIONSHIP OF GREAT PROFITS I am HON=2E =28DR=2E=29 Felix William=2C the Director of Procurement and Contract Award at the Nigerian National Petroleum Corporation =28NNPC=29 of the Federal Republic of Nigeria=2E I apologized using this medium to reach you for a transaction=2F business of this magnitude=2C but this is due to Confidentiality and prompt access reposed on this medium=2E It is...
12
2323
by: Vibhajha | last post by:
Hi friends, My sister is in great problem , she has this exam of C++ and she is stuck up with some questions, if friends like this group provides some help to her, she will be very grateful. These are some questions:- 7. design and implement a class binsearch for a binary search tree.it includes search,remove and add options.make suitable assumption. 8.explai how pointers to functions can be declared in c++.under what conditions can...
4
1319
by: Random | last post by:
The way I've built my page is to take the user through a multi-form process, only rendering those controls that are needed for each section. The ViewState is working the way I want it to, remembering items across the process, back and forth. But when the user finally opts to complete the sections and commit the information for processing, I can't access any of the information that was not rendered on the last section. It's obviously in...
7
4069
by: meenasamy | last post by:
Hi all, i need to create a function that takes three parameters( Original currency, needed currency, amount) i need to convert from the original currency to the needed currency the amount and return the new amount in the needed currency, I need this function to work real time (obtaining real time currency exchange rates), any ideas???
3
6466
by: N. Spiker | last post by:
I am attempting to receive a single TCP packet with some text ending with carriage return and line feed characters. When the text is send and the packet has the urgent flag set, the text read from the socket is missing the last character (line feed). When the same text is sent without the urgent flag set, all of the characters are read. I'm reading the data using the blocking read call of the network stream class. The .NET...
2
2429
by: Preetam Pattanashetty | last post by:
Hi I am learning ASP.NET using C#. I am able to run .aspx files on local system, but when I load them to the server, I get the "Server Error in '/' Application" error. I have tried to configure the web.config file but has not been fruitful. I would be thankful if the following questions were answered: a)has the write permissions on files and folders have to do something with it? b)what role does asp_client folder play? c) What other...
0
2589
by: Christopher | last post by:
Urgent Help Needed: The EPVH-1.1 Visual Hull Library. Dear All, I am a student doing research in computer vision. The EPVH-1.1 Visual Hull Library will really help a lot in my research. I did have this library before but I didn't keep my copy of this library because I always thought I could download it again form internet. However, the author of this library closed the download
0
8691
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look ! Part I. Meaning of...
0
9180
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, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. Here is my compilation command: g++-12 -std=c++20 -Wnarrowing bit_field.cpp Here is the code in...
1
8920
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 Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
0
7755
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, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own.... Now, this would greatly impact the work of software developers. The idea...
1
6536
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 presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms. Adolph will...
0
4378
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
1
3060
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
2
2351
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
3
2012
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...

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.