By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
440,885 Members | 1,072 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 440,885 IT Pros & Developers. It's quick & easy.

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

P: n/a
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
Share this Question
Share on Google+
2 Replies


P: n/a
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

P: n/a

"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 discussion thread is closed

Replies have been disabled for this discussion.