Hi All,
We are running a web application that we suspect has a bad code which is
causing it to consume lots of memory and CPU cycles.
We have set the application pool recycle parameters to CPU 50 and also
virtual memory 250,000K but the app pool does not seem to be restarted
automatically. Everytime we are forced to restart the pool manually by
killing the process.
Does anyone have any pointers as to why recycling is not being done
automatically? Any resources/techniques to help us pinpoint the code which
is consuming memory and CPU cycles?
Thanks a lot!! 3 3874
If I recall, if your using win2003 and IIS6 you need to set these values in
IIS's application pool section, not in web.config for your asp.net app. I
think the incorrect isolation mode will cause process settings to be ignored
in either IIS or in web.config, so start by checking what your isolation
level is set to..
Also, might be a good idea to try a profiling tool to see if you can trace
the leak. I've not used it but I hear its very good. http://www.softprodigy.com/Products.html
--
Regards
John Timney (MVP)
"Diffident" <Di*******@disc ussions.microso ft.comwrote in message
news:65******** *************** ***********@mic rosoft.com...
Hi All,
We are running a web application that we suspect has a bad code which is
causing it to consume lots of memory and CPU cycles.
We have set the application pool recycle parameters to CPU 50 and also
virtual memory 250,000K but the app pool does not seem to be restarted
automatically. Everytime we are forced to restart the pool manually by
killing the process.
Does anyone have any pointers as to why recycling is not being done
automatically? Any resources/techniques to help us pinpoint the code
which
is consuming memory and CPU cycles?
Thanks a lot!!
Hi John,
We did set the app pool settings in "App Pool" tab of IIS 6.0 adminstration
screen.
I am not very sure about the isolation mode. What should be the isolation
mode for the recycling to work?
Thanks!
"John Timney (MVP)" wrote:
If I recall, if your using win2003 and IIS6 you need to set these values in
IIS's application pool section, not in web.config for your asp.net app. I
think the incorrect isolation mode will cause process settings to be ignored
in either IIS or in web.config, so start by checking what your isolation
level is set to..
Also, might be a good idea to try a profiling tool to see if you can trace
the leak. I've not used it but I hear its very good.
http://www.softprodigy.com/Products.html
--
Regards
John Timney (MVP)
"Diffident" <Di*******@disc ussions.microso ft.comwrote in message
news:65******** *************** ***********@mic rosoft.com...
Hi All,
We are running a web application that we suspect has a bad code which is
causing it to consume lots of memory and CPU cycles.
We have set the application pool recycle parameters to CPU 50 and also
virtual memory 250,000K but the app pool does not seem to be restarted
automatically. Everytime we are forced to restart the pool manually by
killing the process.
Does anyone have any pointers as to why recycling is not being done
automatically? Any resources/techniques to help us pinpoint the code
which
is consuming memory and CPU cycles?
Thanks a lot!!
Have a read through this http://blogs.msdn.com/david.wang/arc...tion_Mode.aspx
and a good technet articel for you http://www.microsoft.com/technet/pro....mspx?mfr=true
--
Regards
John Timney (MVP)
"Diffident" <Di*******@disc ussions.microso ft.comwrote in message
news:4E******** *************** ***********@mic rosoft.com...
Hi John,
We did set the app pool settings in "App Pool" tab of IIS 6.0
adminstration
screen.
I am not very sure about the isolation mode. What should be the isolation
mode for the recycling to work?
Thanks!
"John Timney (MVP)" wrote:
>If I recall, if your using win2003 and IIS6 you need to set these values in IIS's application pool section, not in web.config for your asp.net app. I think the incorrect isolation mode will cause process settings to be ignored in either IIS or in web.config, so start by checking what your isolation level is set to..
Also, might be a good idea to try a profiling tool to see if you can trace the leak. I've not used it but I hear its very good.
http://www.softprodigy.com/Products.html
-- Regards
John Timney (MVP)
"Diffident" <Di*******@disc ussions.microso ft.comwrote in message news:65******* *************** ************@mi crosoft.com...
Hi All,
We are running a web application that we suspect has a bad code which
is
causing it to consume lots of memory and CPU cycles.
We have set the application pool recycle parameters to CPU 50 and
also
virtual memory 250,000K but the app pool does not seem to be
restarted
automatically. Everytime we are forced to restart the pool manually by
killing the process.
Does anyone have any pointers as to why recycling is not being done
automatically? Any resources/techniques to help us pinpoint the code
which
is consuming memory and CPU cycles?
Thanks a lot!!
This thread has been closed and replies have been disabled. Please start a new discussion. Similar topics |
by: Linus Nikander |
last post by:
Having recently load-tested the application we are developing I noticed that
one of the most expensive (time-wise) calls was my fetch of a db-connection
from the defined db-pool. At present I fetch my connections using :
private Connection getConnection() throws SQLException {
try {
Context jndiCntx = new InitialContext();
DataSource ds =
(DataSource)
|
by: jabailo |
last post by:
Platform:
W2K
IIS 5.0
..NET 1.1
ADO.NET managed DB2 provider for iSeries
I wrote a web service which allows me to post records to the as/400
Occasionally there seem to be errors such as "Communication Problem".
|
by: ori |
last post by:
Hi,
I have an ASP.Net application hosted in a windows server 2003 (IIS
6.0). The application uses a Oracle Database to retrieve some data
through an Oledb connection. I've set the IIS application pool used by
the application to get recycled when the application consumes too much
memory which it ocasionally does and I don't want the server to hang.
After this I stress the application to know it's performance and
monitor it's...
|
by: Nalaka |
last post by:
Hi,
Can you tell me what type a things in asp.net code can crash... "application
pool".
Any example would do....
I was under imresiion that code cannot crash the app pool.
Any direction is deeply appreciated
Nalaka
|
by: lucius |
last post by:
I need to know from within my ASP.NET 2.0 Web Service, when the
application was started as a DateTime. The service might run on
Windows Server 2000, maybe 2003, maybe 2003 R2, maybe XP (in
development on my desktop), so it might run inside an App Pool, or it
might just be a virtual directory.
How can I get this information?
Thanks.
| |
by: xeqister |
last post by:
Greetings,
We are having a situation here whereby one of our staff created a
very huge 32K buffer pool in a production database and caused the
database to go down. When we try to reconnect to the database using
"db2 connect to <dbname>", its giving the following error:
SQL1224N A database agent could not be started to service a
request, or was terminated as a result of a database
system shutdown or a force command.
SQLSTATE:55032
|
by: Morten Snedker |
last post by:
I'm not sure if this is the right group, but:
When the IIS performs a recycle on an given Application Pool, the
website on this pool seems to loose references to third-party DLL-files
in the bin-folder.
We then have to start/stop the site go get it to work.
The recycling is now disabled to avoid the issue.
|
by: =?Utf-8?B?RW1tYW51ZWwgVmVybHluZGU=?= |
last post by:
Hi all,
I have some troubles with my website build with combination of asp.net and
asp pages.
Sometimes, application pool restart and kill all my asp (classic) session
variables.
I see into the computer events manager this message:
|
by: Oriane |
last post by:
Hello,
I will soon installed a small Ajax Asp.Net "single page" site on a client
site. This page is simply polling a Asp.Net Web service, which fetchs and
returns parameters (temperature, air conditioning status...) to be displayed
on the page. This is implemented with an Ajax Timer control server.
Now this is my first "industrial" web site, and I'm concerned about its
robustness.
Do I need to create a specific pool on IIS 6 for the...
|
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...
|
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 protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
| |
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...
|
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...
|
by: conductexam |
last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one.
At the time of converting from word file to html my equations which are in the word document file was convert into image.
Globals.ThisAddIn.Application.ActiveDocument.Select();...
|
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...
|
by: adsilva |
last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
|
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
| |
by: muto222 |
last post by:
How can i add a mobile payment intergratation into php mysql website.
| |