473,405 Members | 2,349 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,405 software developers and data experts.

Application Pool crashing due to excesive memory use or ASP error - ASP problem

I have a web site on a shared server (Win2003) and occasionally the site
goes down with a message "Service Unavailable" The ISP says there must be a
problem with the ASP content and excessive use of the Application Pool is
causing the problem

I can't find the cause but wonder if putting

<%Session.Abandon%>

and /or

<%Session.Contents.RemoveAll()%>

on the DB output pages will help to clear the excessive memory usage???

Any ideas???

Thanks
M


Nov 7 '08 #1
2 3190
Gazing into my crystal ball I observed "mettá"
<me***@removethismetta.org.ukwriting in
news:#h*************@TK2MSFTNGP06.phx.gbl:
I have a web site on a shared server (Win2003) and occasionally the
site goes down with a message "Service Unavailable" The ISP says there
must be a problem with the ASP content and excessive use of the
Application Pool is causing the problem

I can't find the cause but wonder if putting

<%Session.Abandon%>

and /or

<%Session.Contents.RemoveAll()%>

on the DB output pages will help to clear the excessive memory
usage???

Any ideas???

Thanks
M


Are you closing all record sets and closing the connection to the db?
For example I use on every page:

<!--#include file = "conn_inc.asp"--<!-- this file opens a connection
to the db -->
</head>
<body>
<% 'query db
'put recordset into an array
'close recordset and set it to nothing
'loop through the array
%>
<!--#include file = "footer_inc.asp"--<!-- this file contains
conn.close and set conn = nothing -->
</body>

--
Adrienne Boswell at Home
Arbpen Web Site Design Services
http://www.cavalcade-of-coding.info
Please respond to the group so others can share

Nov 7 '08 #2

"mettá" <me***@removethismetta.org.ukwrote in message
news:%2***************@TK2MSFTNGP06.phx.gbl...
>I have a web site on a shared server (Win2003) and occasionally the site
goes down with a message "Service Unavailable" The ISP says there must be a
problem with the ASP content and excessive use of the Application Pool is
causing the problem

I can't find the cause but wonder if putting

<%Session.Abandon%>

and /or

<%Session.Contents.RemoveAll()%>

on the DB output pages will help to clear the excessive memory usage???

Any ideas???
Are you using the Session object at all?
If so what for? How much data are you storing in the session object

Are you using the Application object at all?
If so what for? How much data are you storing in the application object?

How many distinct clients are actively hitting your site?

If you believe that you have too many session objects lying around unused
then a quick fix would be to reduce the session timeout on the site a
little.

Do you use thirdparty COM DLLs in you app (e.g., things other than the
typical ADODB and MSXML components)?

Are you storing COM objects in the Application or Session object?

--
Anthony Jones - MVP ASP/ASP.NET

Nov 8 '08 #3

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

Similar topics

0
by: Henry Hank | last post by:
Environment: I'm setting up a database server on a Dell Poweredge 2650, dual 1.8GHZ pentium with 1GB of memory and RAID5 drives. I've installed RedHat 9, and updated the kernel to 2.4.20-19.9smp....
5
by: VinnieT | last post by:
I have a load balanced system that consists of 3 production servers. There are about 20 different applications that are used on these boxes. One of my applications in particular is used more than...
14
by: Java and Swing | last post by:
static PyObject *wrap_doStuff(PyObject *self, PyObject *args) { // this will store the result in a Python object PyObject *finalResult; // get arguments from Python char *result = 0; char *in=...
9
by: Abhishek Srivastava | last post by:
Hello All, In IIS 6.0 We have a concept of worker processes and application pools. As I understand it, we can have multiple worker process per appliction pool. Each worker process is dedicated...
3
by: Chris Calzaretta | last post by:
Hello Working with system.threading.thread Ok I have an windows user control. It has 3 thread on it thread 1 uploaded files types a thread 2 upload files types b thread 3 upload files types c...
0
by: Mark A. Ziesemer | last post by:
I've seen a few other postings that looked similar to this, but most appear to have died without any working solutions, and lacked any helpful level of information to see if they might be related. ...
7
by: abcd | last post by:
I have asp.net application which was tested and developed on asp.net 1.1. WIll my application work on asp.net 2.0 also. Can I say asp.net 2.0 is supported automatically for the applications which...
1
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...
0
by: Si | last post by:
Hi, I'm working on a small project - a website with some access to DBs, etc. On my dev PC, all works fine. But on the hosting machine, after a short while, I get "Service Unavailable" and...
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: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
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...
0
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,...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
0
tracyyun
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...

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.