473,698 Members | 2,181 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

elminate the hanging processes

My webhosting company cut off my website the other day
because i had "too many hanging processes"

What does this mean and what can i do to prevent this from
happening. They gave me the following readout...

X 13:02:32.954 24 844 933 Preproc headers
24.101.225.120 111433 ns
0 un GET
http://www.sny.ca/investing/institut...ctdetails.asp?
InvestmentProdu ctID=12
X 13:02:40.626 24 837 261 Authentication
24.101.225.120 111454 ns 0
un GET
http://www.sny.ca/investing/search.asp?
t=30&MinInvestm ent=1&RSPEligib ility=2&cmdRefr esh=Refresh
X 13:08:27.287 24 490 599 Authentication
24.101.225.120 112977 ns 0
un GET
ResellersLive (4:52:21 PM):
http://www.sny.ca/investing/search.asp?
t=30&MinInvestm ent=1&RSPEligib ility=2&cmdRefr esh=Refresh
X 13:09:19.327 24 438 560 Authentication
24.101.225.120 113243 ns 0
un GET
http://www.sny.ca/investing/search.asp?
t=0&MinInvestme nt=1&RSPEligibi lity=2&cmdRefre sh=Refresh
X 13:48:50.103 22 067 783 Authentication
24.101.225.120 126007 ns 0
un GET
http://www.sny.ca/investing/search.asp?
t=0&MinInvestme nt=0&RSPEligibi lity=2&cmdRefre sh=Refresh
X 13:49:06.738 22 051 149 Preproc headers
24.101.225.120 126128 ns

ResellersLive (4:52:23 PM): 0 un GET
http://www.sny.ca/X 19:50:43.529 354 357 Preproc
headers 24.101.225.120 232810 ns 0un
GEThttp://www.sny.ca/investing/institution_pro ductdetails.a
sp?InvestmentPr oductID=5X 19:55:04.647 93 240 Preproc
headers 24.101.225.120 233802 ns 0un
GEThttp://www.sny.ca/investing/institution_pro ductdetails.a
sp?InvestmentPr oductID=5X 19:55:11.318 86 569
Authentication 24.101.225.120 233832 ns 0
unGEThttp://www.sny.ca/investing/institution_pro ductdetails
..asp?Investmen tProductID=12X 19:55:54.075 43 812
Authentication 24.101.225.120 233958 ns 0
unGEThttp://www.sny.ca/investing/search.asp?
t=0&MinInvestme nt=0&RSPEligibi lity=0&OrderByR SP.x=31&OrderB
yRSP.y=7

I haven't a clue what all that means. My website used two
databases that i connected through without and ODBC
connection (i gave ADO the real path of the database file
on every open)

The typial website had about 5-10 include files and i
always closed my rs at the end of every asp file.

Throughout the site i use the CreateObject method (used on
all of the above listed files). I do not set them to null
at the end of hte asp file - should i?

Anything else?

I know in VB i can use the Unload command to unload the
form, and i can use hte END command to end the program
(albiet a crude way of doing so), is there anything like
this in asp?

please help!

Siomn
we*******@sny.c a
Jul 19 '05 #1
7 2158
joe
Are you doing anything to help limit the impact of abandoned processes where
the object hasn't been unloaded through your code?

Not sure if that would cause your problem but it's worth a thought.

ASP.Net performs a cleanup for such things that I don't believe ASP does.

"Simon" <we*******@sny. ca> wrote in message
news:05******** *************** *****@phx.gbl.. .
My webhosting company cut off my website the other day
because i had "too many hanging processes"

What does this mean and what can i do to prevent this from
happening. They gave me the following readout...

X 13:02:32.954 24 844 933 Preproc headers
24.101.225.120 111433 ns
0 un GET
http://www.sny.ca/investing/institut...ctdetails.asp?
InvestmentProdu ctID=12
X 13:02:40.626 24 837 261 Authentication
24.101.225.120 111454 ns 0
un GET
http://www.sny.ca/investing/search.asp?
t=30&MinInvestm ent=1&RSPEligib ility=2&cmdRefr esh=Refresh
X 13:08:27.287 24 490 599 Authentication
24.101.225.120 112977 ns 0
un GET
ResellersLive (4:52:21 PM):
http://www.sny.ca/investing/search.asp?
t=30&MinInvestm ent=1&RSPEligib ility=2&cmdRefr esh=Refresh
X 13:09:19.327 24 438 560 Authentication
24.101.225.120 113243 ns 0
un GET
http://www.sny.ca/investing/search.asp?
t=0&MinInvestme nt=1&RSPEligibi lity=2&cmdRefre sh=Refresh
X 13:48:50.103 22 067 783 Authentication
24.101.225.120 126007 ns 0
un GET
http://www.sny.ca/investing/search.asp?
t=0&MinInvestme nt=0&RSPEligibi lity=2&cmdRefre sh=Refresh
X 13:49:06.738 22 051 149 Preproc headers
24.101.225.120 126128 ns

ResellersLive (4:52:23 PM): 0 un GET
http://www.sny.ca/X 19:50:43.529 354 357 Preproc
headers 24.101.225.120 232810 ns 0un
GEThttp://www.sny.ca/investing/institution_pro ductdetails.a
sp?InvestmentPr oductID=5X 19:55:04.647 93 240 Preproc
headers 24.101.225.120 233802 ns 0un
GEThttp://www.sny.ca/investing/institution_pro ductdetails.a
sp?InvestmentPr oductID=5X 19:55:11.318 86 569
Authentication 24.101.225.120 233832 ns 0
unGEThttp://www.sny.ca/investing/institution_pro ductdetails
.asp?Investment ProductID=12X 19:55:54.075 43 812
Authentication 24.101.225.120 233958 ns 0
unGEThttp://www.sny.ca/investing/search.asp?
t=0&MinInvestme nt=0&RSPEligibi lity=0&OrderByR SP.x=31&OrderB
yRSP.y=7

I haven't a clue what all that means. My website used two
databases that i connected through without and ODBC
connection (i gave ADO the real path of the database file
on every open)

The typial website had about 5-10 include files and i
always closed my rs at the end of every asp file.

Throughout the site i use the CreateObject method (used on
all of the above listed files). I do not set them to null
at the end of hte asp file - should i?

Anything else?

I know in VB i can use the Unload command to unload the
form, and i can use hte END command to end the program
(albiet a crude way of doing so), is there anything like
this in asp?

please help!

Siomn
we*******@sny.c a

Jul 19 '05 #2
joe
One other thing ....are you using a detached dataset when hitting your
database? Are you using Views vs the actual tables? Is your host
complaining about Database processes or your application processes?

"joe" <contact_by_New sgroup_only.ple ase> wrote in message
news:OY******** ******@TK2MSFTN GP10.phx.gbl...
Are you doing anything to help limit the impact of abandoned processes where the object hasn't been unloaded through your code?

Not sure if that would cause your problem but it's worth a thought.

ASP.Net performs a cleanup for such things that I don't believe ASP does.

"Simon" <we*******@sny. ca> wrote in message
news:05******** *************** *****@phx.gbl.. .
My webhosting company cut off my website the other day
because i had "too many hanging processes"

What does this mean and what can i do to prevent this from
happening. They gave me the following readout...

X 13:02:32.954 24 844 933 Preproc headers
24.101.225.120 111433 ns
0 un GET
http://www.sny.ca/investing/institut...ctdetails.asp?
InvestmentProdu ctID=12
X 13:02:40.626 24 837 261 Authentication
24.101.225.120 111454 ns 0
un GET
http://www.sny.ca/investing/search.asp?
t=30&MinInvestm ent=1&RSPEligib ility=2&cmdRefr esh=Refresh
X 13:08:27.287 24 490 599 Authentication
24.101.225.120 112977 ns 0
un GET
ResellersLive (4:52:21 PM):
http://www.sny.ca/investing/search.asp?
t=30&MinInvestm ent=1&RSPEligib ility=2&cmdRefr esh=Refresh
X 13:09:19.327 24 438 560 Authentication
24.101.225.120 113243 ns 0
un GET
http://www.sny.ca/investing/search.asp?
t=0&MinInvestme nt=1&RSPEligibi lity=2&cmdRefre sh=Refresh
X 13:48:50.103 22 067 783 Authentication
24.101.225.120 126007 ns 0
un GET
http://www.sny.ca/investing/search.asp?
t=0&MinInvestme nt=0&RSPEligibi lity=2&cmdRefre sh=Refresh
X 13:49:06.738 22 051 149 Preproc headers
24.101.225.120 126128 ns

ResellersLive (4:52:23 PM): 0 un GET
http://www.sny.ca/X 19:50:43.529 354 357 Preproc
headers 24.101.225.120 232810 ns 0un
GEThttp://www.sny.ca/investing/institution_pro ductdetails.a
sp?InvestmentPr oductID=5X 19:55:04.647 93 240 Preproc
headers 24.101.225.120 233802 ns 0un
GEThttp://www.sny.ca/investing/institution_pro ductdetails.a
sp?InvestmentPr oductID=5X 19:55:11.318 86 569
Authentication 24.101.225.120 233832 ns 0
unGEThttp://www.sny.ca/investing/institution_pro ductdetails
.asp?Investment ProductID=12X 19:55:54.075 43 812
Authentication 24.101.225.120 233958 ns 0
unGEThttp://www.sny.ca/investing/search.asp?
t=0&MinInvestme nt=0&RSPEligibi lity=0&OrderByR SP.x=31&OrderB
yRSP.y=7

I haven't a clue what all that means. My website used two
databases that i connected through without and ODBC
connection (i gave ADO the real path of the database file
on every open)

The typial website had about 5-10 include files and i
always closed my rs at the end of every asp file.

Throughout the site i use the CreateObject method (used on
all of the above listed files). I do not set them to null
at the end of hte asp file - should i?

Anything else?

I know in VB i can use the Unload command to unload the
form, and i can use hte END command to end the program
(albiet a crude way of doing so), is there anything like
this in asp?

please help!

Siomn
we*******@sny.c a


Jul 19 '05 #3
If I understand you correctly, i think your asking if i do
anything to close the recordset or null the object
variables if the user hits the Stop button before the page
loads. If I'm right, the answer is no - how do i go about
doing that?

Simon
we*******@sny.c a
-----Original Message-----
Are you doing anything to help limit the impact of abandoned processes wherethe object hasn't been unloaded through your code?

Not sure if that would cause your problem but it's worth a thought.
ASP.Net performs a cleanup for such things that I don't believe ASP does.


"Simon" <we*******@sny. ca> wrote in message
news:05******* *************** ******@phx.gbl. ..
My webhosting company cut off my website the other day
because i had "too many hanging processes"

What does this mean and what can i do to prevent this from happening. They gave me the following readout...

X 13:02:32.954 24 844 933 Preproc headers
24.101.225.120 111433 ns
0 un GET
http://www.sny.ca/investing/institut...ctdetails.asp? InvestmentProdu ctID=12
X 13:02:40.626 24 837 261 Authentication
24.101.225.120 111454 ns 0
un GET
http://www.sny.ca/investing/search.asp?
t=30&MinInvestm ent=1&RSPEligib ility=2&cmdRefr esh=Refresh
X 13:08:27.287 24 490 599 Authentication
24.101.225.120 112977 ns 0
un GET
ResellersLive (4:52:21 PM):
http://www.sny.ca/investing/search.asp?
t=30&MinInvestm ent=1&RSPEligib ility=2&cmdRefr esh=Refresh
X 13:09:19.327 24 438 560 Authentication
24.101.225.120 113243 ns 0
un GET
http://www.sny.ca/investing/search.asp?
t=0&MinInvestme nt=1&RSPEligibi lity=2&cmdRefre sh=Refresh
X 13:48:50.103 22 067 783 Authentication
24.101.225.120 126007 ns 0
un GET
http://www.sny.ca/investing/search.asp?
t=0&MinInvestme nt=0&RSPEligibi lity=2&cmdRefre sh=Refresh
X 13:49:06.738 22 051 149 Preproc headers
24.101.225.120 126128 ns

ResellersLive (4:52:23 PM): 0 un GET
http://www.sny.ca/X 19:50:43.529 354 357 Preproc
headers 24.101.225.120 232810 ns 0un
GEThttp://www.sny.ca/investing/institution_pro ductdetails.a sp?InvestmentPr oductID=5X 19:55:04.647 93 240 Preproc headers 24.101.225.120 233802 ns 0un
GEThttp://www.sny.ca/investing/institution_pro ductdetails.a sp?InvestmentPr oductID=5X 19:55:11.318 86 569
Authentication 24.101.225.120 233832 ns 0
unGEThttp://www.sny.ca/investing/institution_pro ductdetails .asp?Investment ProductID=12X 19:55:54.075 43 812
Authentication 24.101.225.120 233958 ns 0
unGEThttp://www.sny.ca/investing/search.asp?
t=0&MinInvestme nt=0&RSPEligibi lity=0&OrderByR SP.x=31&OrderB yRSP.y=7

I haven't a clue what all that means. My website used two databases that i connected through without and ODBC
connection (i gave ADO the real path of the database file on every open)

The typial website had about 5-10 include files and i
always closed my rs at the end of every asp file.

Throughout the site i use the CreateObject method (used on all of the above listed files). I do not set them to null at the end of hte asp file - should i?

Anything else?

I know in VB i can use the Unload command to unload the
form, and i can use hte END command to end the program
(albiet a crude way of doing so), is there anything like
this in asp?

please help!

Siomn
we*******@sny.c a

.

Jul 19 '05 #4
I'd love to upgrade, but i cant afford VStudio.NET so i'm
just trying to make do for now.

As for my host they're not saying. They're only response
is "everything we found is explained up there (in the IIS
Trace readout)" and "you need to ask your programmer that".

I can easily quote them because their only means of "real-
time" tech support is through IM. - You get what you pay
for.

As for the database, i dont create a database object... i
open the recordset as follows....

<html>
<body>
<%
Option Explicit

Dim sConnectionStri ng
sConnectionSrin g = "Driver={Micros oft Access Driver
(*.mdb)};DBQ=" & Server.MapPath( "../cgi-bin/sny.mdb") & ";"

Dim rs
Set rs = Server.CreateOb ject("ADODB.rec ordset")
rs.Open "Institutions", sConnectionSrin g
rs.MoveFirst
Response.Write rs("Institution Name")
rs.Close

%>
</body>
</html>
Well okay, maybe my webpages arn't that dull, but besides
the standard html, thats about it. Anything i can do to
keep "this is unacceptable" website from crashing?

-----Original Message-----
Not only that but the connection to the database should be closed while theuser is working with the dataset.

It sounds like your application is an ideal candidate for upgrade toASP.Net. vs just ASP.


"Simon" <we*******@sny. ca> wrote in message
news:02******* *************** ******@phx.gbl. ..
If I understand you correctly, i think your asking if i do
anything to close the recordset or null the object
variables if the user hits the Stop button before the page loads. If I'm right, the answer is no - how do i go about doing that?

Simon
we*******@sny.c a
>-----Original Message-----
>Are you doing anything to help limit the impact of

abandoned processes where
>the object hasn't been unloaded through your code?
>
>Not sure if that would cause your problem but it's worth
a thought.
>
>ASP.Net performs a cleanup for such things that I don't

believe ASP does.
>
>
>
>
>
>"Simon" <we*******@sny. ca> wrote in message
>news:05******* *************** ******@phx.gbl. ..
>> My webhosting company cut off my website the other
day >> because i had "too many hanging processes"
>>
>> What does this mean and what can i do to prevent this

from
>> happening. They gave me the following readout...
>>
>> X 13:02:32.954 24 844 933 Preproc headers
>> 24.101.225.120 111433 ns
>> 0 un GET
>>

http://www.sny.ca/investing/institut...ctdetails.asp?
>> InvestmentProdu ctID=12
>> X 13:02:40.626 24 837 261 Authentication
>> 24.101.225.120 111454 ns 0
>> un GET
>> http://www.sny.ca/investing/search.asp?
>> t=30&MinInvestm ent=1&RSPEligib ility=2&cmdRefr esh=Refresh >> X 13:08:27.287 24 490 599 Authentication
>> 24.101.225.120 112977 ns 0
>> un GET
>> ResellersLive (4:52:21 PM):
>> http://www.sny.ca/investing/search.asp?
>> t=30&MinInvestm ent=1&RSPEligib ility=2&cmdRefr esh=Refresh >> X 13:09:19.327 24 438 560 Authentication
>> 24.101.225.120 113243 ns 0
>> un GET
>> http://www.sny.ca/investing/search.asp?
>> t=0&MinInvestme nt=1&RSPEligibi lity=2&cmdRefre sh=Refresh >> X 13:48:50.103 22 067 783 Authentication
>> 24.101.225.120 126007 ns 0
>> un GET
>> http://www.sny.ca/investing/search.asp?
>> t=0&MinInvestme nt=0&RSPEligibi lity=2&cmdRefre sh=Refresh >> X 13:49:06.738 22 051 149 Preproc headers
>> 24.101.225.120 126128 ns
>>
>> ResellersLive (4:52:23 PM): 0 un GET
>> http://www.sny.ca/X 19:50:43.529 354 357 Preproc
>> headers 24.101.225.120 232810 ns 0un
>>

GEThttp://www.sny.ca/investing/institution_pro ductdetails.a
>> sp?InvestmentPr oductID=5X 19:55:04.647 93 240

Preproc
>> headers 24.101.225.120 233802 ns 0un
>>

GEThttp://www.sny.ca/investing/institution_pro ductdetails.a
>> sp?InvestmentPr oductID=5X 19:55:11.318 86 569
>> Authentication 24.101.225.120 233832 ns 0
>>

unGEThttp://www.sny.ca/investing/institution_pro ductdetails
>> .asp?Investment ProductID=12X 19:55:54.075 43 812
>> Authentication 24.101.225.120 233958 ns 0
>> unGEThttp://www.sny.ca/investing/search.asp?
>>

t=0&MinInvestme nt=0&RSPEligibi lity=0&OrderByR SP.x=31&OrderB
>> yRSP.y=7
>>
>> I haven't a clue what all that means. My website used

two
>> databases that i connected through without and ODBC
>> connection (i gave ADO the real path of the database

file
>> on every open)
>>
>> The typial website had about 5-10 include files and i
>> always closed my rs at the end of every asp file.
>>
>> Throughout the site i use the CreateObject method (used on
>> all of the above listed files). I do not set them to

null
>> at the end of hte asp file - should i?
>>
>> Anything else?
>>
>> I know in VB i can use the Unload command to unload

the >> form, and i can use hte END command to end the program >> (albiet a crude way of doing so), is there anything like >> this in asp?
>>
>> please help!
>>
>> Siomn
>> we*******@sny.c a
>
>
>.
>

.

Jul 19 '05 #5
Don't forget
Set rs = nothing
This is vital.

Bob Barrows
Simon wrote:
I'd love to upgrade, but i cant afford VStudio.NET so i'm
just trying to make do for now.

As for my host they're not saying. They're only response
is "everything we found is explained up there (in the IIS
Trace readout)" and "you need to ask your programmer that".

I can easily quote them because their only means of "real-
time" tech support is through IM. - You get what you pay
for.

As for the database, i dont create a database object... i
open the recordset as follows....

<html>
<body>
<%
Option Explicit

Dim sConnectionStri ng
sConnectionSrin g = "Driver={Micros oft Access Driver
(*.mdb)};DBQ=" & Server.MapPath( "../cgi-bin/sny.mdb") & ";"

Dim rs
Set rs = Server.CreateOb ject("ADODB.rec ordset")
rs.Open "Institutions", sConnectionSrin g
rs.MoveFirst
Response.Write rs("Institution Name")
rs.Close

%>
</body>
</html>
Well okay, maybe my webpages arn't that dull, but besides
the standard html, thats about it. Anything i can do to
keep "this is unacceptable" website from crashing?

-----Original Message-----
Not only that but the connection to the database should be closed
while the user is working with the dataset.

It sounds like your application is an ideal candidate for upgrade to
ASP.Net. vs just ASP.


"Simon" <we*******@sny. ca> wrote in message
news:02******** *************** *****@phx.gbl.. .
If I understand you correctly, i think your asking if i do
anything to close the recordset or null the object
variables if the user hits the Stop button before the page
loads. If I'm right, the answer is no - how do i go about
doing that?

Simon
we*******@sny.c a

-----Original Message-----
Are you doing anything to help limit the impact of abandoned
processes where the object hasn't been unloaded through your code?

Not sure if that would cause your problem but it's worth a thought.

ASP.Net performs a cleanup for such things that I don't believe
ASP does.

"Simon" <we*******@sny. ca> wrote in message
news:05******** *************** *****@phx.gbl.. .
> My webhosting company cut off my website the other day
> because i had "too many hanging processes"
>
> What does this mean and what can i do to prevent this from
> happening. They gave me the following readout...
>
> X 13:02:32.954 24 844 933 Preproc headers
> 24.101.225.120 111433 ns
> 0 un GET
>
http://www.sny.ca/investing/institut...ctdetails.asp?> InvestmentProdu ctID=12
> X 13:02:40.626 24 837 261 Authentication
> 24.101.225.120 111454 ns 0
> un GET
> http://www.sny.ca/investing/search.asp?
> t=30&MinInvestm ent=1&RSPEligib ility=2&cmdRefr esh=Refresh> X 13:08:27.287 24 490 599 Authentication
> 24.101.225.120 112977 ns 0
> un GET
> ResellersLive (4:52:21 PM):
> http://www.sny.ca/investing/search.asp?
> t=30&MinInvestm ent=1&RSPEligib ility=2&cmdRefr esh=Refresh> X 13:09:19.327 24 438 560 Authentication
> 24.101.225.120 113243 ns 0
> un GET
> http://www.sny.ca/investing/search.asp?
> t=0&MinInvestme nt=1&RSPEligibi lity=2&cmdRefre sh=Refresh> X 13:48:50.103 22 067 783 Authentication
> 24.101.225.120 126007 ns 0
> un GET
> http://www.sny.ca/investing/search.asp?
> t=0&MinInvestme nt=0&RSPEligibi lity=2&cmdRefre sh=Refresh> X 13:49:06.738 22 051 149 Preproc headers
> 24.101.225.120 126128 ns
>
> ResellersLive (4:52:23 PM): 0 un GET
> http://www.sny.ca/X 19:50:43.529 354 357 Preproc
> headers 24.101.225.120 232810 ns 0un
>
GEThttp://www.sny.ca/investing/institution_pro ductdetails.a> sp?InvestmentPr oductID=5X 19:55:04.647 93 240 Preproc
> headers 24.101.225.120 233802 ns 0un
>
GEThttp://www.sny.ca/investing/institution_pro ductdetails.a> sp?InvestmentPr oductID=5X 19:55:11.318 86 569
> Authentication 24.101.225.120 233832 ns 0
>
unGEThttp://www.sny.ca/investing/institution_pro ductdetails> .asp?Investment ProductID=12X 19:55:54.075 43 812
> Authentication 24.101.225.120 233958 ns 0
> unGEThttp://www.sny.ca/investing/search.asp?
>
t=0&MinInvestme nt=0&RSPEligibi lity=0&OrderByR SP.x=31&OrderB> yRSP.y=7
>
> I haven't a clue what all that means. My website used two
> databases that i connected through without and ODBC
> connection (i gave ADO the real path of the database file
> on every open)
>
> The typial website had about 5-10 include files and i
> always closed my rs at the end of every asp file.
>
> Throughout the site i use the CreateObject method (used on
> all of the above listed files). I do not set them to null
> at the end of hte asp file - should i?
>
> Anything else?
>
> I know in VB i can use the Unload command to unload the
> form, and i can use hte END command to end the program
> (albiet a crude way of doing so), is there anything like
> this in asp?
>
> please help!
>
> Siomn
> we*******@sny.c a
.

.


Jul 19 '05 #6
Kewl, I'll give it a try. Hopefully i wont get cut off
this time. Thanks Joe and Bob for all your help!

Best wishes,

Simon
-----Original Message-----
It's been reported as being a leading cause of memory leaks which can leadto "hung" servers.

Bob

Simon wrote:
Ahh.. okay so i doo need to clear my object variables...
its all falling into place.... :-)

So by me not doing this, would this create those hung
processes?
-----Original Message-----
Don't forget
Set rs = nothing
This is vital.

Bob Barrows
Simon wrote:
I'd love to upgrade, but i cant afford VStudio.NET so i'm just trying to make do for now.

As for my host they're not saying. They're only response is "everything we found is explained up there (in the IIS Trace readout)" and "you need to ask your programmer that".
I can easily quote them because their only means

of "real-
time" tech support is through IM. - You get what you pay for.

As for the database, i dont create a database object... i open the recordset as follows....

<html>
<body>
<%
Option Explicit

Dim sConnectionStri ng
sConnectionSrin g = "Driver={Micros oft Access Driver
(*.mdb)};DBQ=" & Server.MapPath( "../cgi-bin/sny.mdb")

& ";"

Dim rs
Set rs = Server.CreateOb ject("ADODB.rec ordset")
rs.Open "Institutions", sConnectionSrin g
rs.MoveFirst
Response.Write rs("Institution Name")
rs.Close

%>
</body>
</html>
Well okay, maybe my webpages arn't that dull, but besides the standard html, thats about it. Anything i can do to keep "this is unacceptable" website from crashing?
> -----Original Message-----
> Not only that but the connection to the database should be closed> while the user is working with the dataset.
>
> It sounds like your application is an ideal candidate for upgrade> to ASP.Net. vs just ASP.
>
>
>
>
>
>
> "Simon" <we*******@sny. ca> wrote in message
> news:02******** *************** *****@phx.gbl.. .
>> If I understand you correctly, i think your asking if i do>> anything to close the recordset or null the object
>> variables if the user hits the Stop button before the page>> loads. If I'm right, the answer is no - how do i go about>> doing that?
>>
>> Simon
>> we*******@sny.c a
>>
>>> -----Original Message-----
>>> Are you doing anything to help limit the impact of abandoned>>> processes where the object hasn't been unloaded through your>>> code?
>>>
>>> Not sure if that would cause your problem but it's worth a>>> thought.
>>>
>>> ASP.Net performs a cleanup for such things that I don't believe>>> ASP does.
>>>
>>>
>>>
>>>
>>>
>>> "Simon" <we*******@sny. ca> wrote in message
>>> news:05******** *************** *****@phx.gbl.. .
>>>> My webhosting company cut off my website the other day>>>> because i had "too many hanging processes"
>>>>
>>>> What does this mean and what can i do to prevent this from>>>> happening. They gave me the following readout...
>>>>
>>>> X 13:02:32.954 24 844 933 Preproc headers
>>>> 24.101.225.120 111433 ns
>>>> 0 un GET
>>>>
>>

http://www.sny.ca/investing/institut...ctdetails.asp?
>>>> InvestmentProdu ctID=12
>>>> X 13:02:40.626 24 837 261 Authentication
>>>> 24.101.225.120 111454 ns 0
>>>> un GET
>>>> http://www.sny.ca/investing/search.asp?
>>>>
t=30&MinInvestm ent=1&RSPEligib ility=2&cmdRefr esh=Refresh>>>> X 13:08:27.287 24 490 599 Authentication
>>>> 24.101.225.120 112977 ns 0
>>>> un GET
>>>> ResellersLive (4:52:21 PM):
>>>> http://www.sny.ca/investing/search.asp?
>>>>
t=30&MinInvestm ent=1&RSPEligib ility=2&cmdRefr esh=Refresh>>>> X 13:09:19.327 24 438 560 Authentication
>>>> 24.101.225.120 113243 ns 0
>>>> un GET
>>>> http://www.sny.ca/investing/search.asp?
>>>>
t=0&MinInvestme nt=1&RSPEligibi lity=2&cmdRefre sh=Refresh>>>> X 13:48:50.103 22 067 783 Authentication
>>>> 24.101.225.120 126007 ns 0
>>>> un GET
>>>> http://www.sny.ca/investing/search.asp?
>>>>
t=0&MinInvestme nt=0&RSPEligibi lity=2&cmdRefre sh=Refresh>>>> X 13:49:06.738 22 051 149 Preproc headers
>>>> 24.101.225.120 126128 ns
>>>>
>>>> ResellersLive (4:52:23 PM): 0 un GET
>>>> http://www.sny.ca/X 19:50:43.529 354 357 Preproc>>>> headers 24.101.225.120 232810 ns 0un
>>>>
>>

GEThttp://www.sny.ca/investing/institution_pro ductdetails.a
>>>> sp?InvestmentPr oductID=5X 19:55:04.647 93 240 Preproc>>>> headers 24.101.225.120 233802 ns 0un
>>>>
>>

GEThttp://www.sny.ca/investing/institution_pro ductdetails.a
>>>> sp?InvestmentPr oductID=5X 19:55:11.318 86 569
>>>> Authentication 24.101.225.120 233832 ns 0
>>>>
>>

unGEThttp://www.sny.ca/investing/institution_pro ductdetails
>>>> .asp?Investment ProductID=12X 19:55:54.075 43 812
>>>> Authentication 24.101.225.120 233958 ns 0
>>>> unGEThttp://www.sny.ca/investing/search.asp?
>>>>
>>

t=0&MinInvestme nt=0&RSPEligibi lity=0&OrderByR SP.x=31&OrderB
>>>> yRSP.y=7
>>>>
>>>> I haven't a clue what all that means. My website used two>>>> databases that i connected through without and ODBC>>>> connection (i gave ADO the real path of the database file>>>> on every open)
>>>>
>>>> The typial website had about 5-10 include files and i>>>> always closed my rs at the end of every asp file.
>>>>
>>>> Throughout the site i use the CreateObject method (used on>>>> all of the above listed files). I do not set them to null>>>> at the end of hte asp file - should i?
>>>>
>>>> Anything else?
>>>>
>>>> I know in VB i can use the Unload command to unload the>>>> form, and i can use hte END command to end the program>>>> (albiet a crude way of doing so), is there anything like>>>> this in asp?
>>>>
>>>> please help!
>>>>
>>>> Siomn
>>>> we*******@sny.c a
>>>
>>>
>>> .
>>>
>
>
> .

.


.

Jul 19 '05 #7
> I'd love to upgrade, but i cant afford VStudio.NET so i'm
just trying to make do for now.


Surely you can afford notepad or web matrix (http://www.asp.net).
Jul 19 '05 #8

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

Similar topics

6
6692
by: Harlan Messinger | last post by:
A publication style guide indicates that for a table heading like the following, Table 3. Wheat and rye harvest in European countries in years that end in 3 or 7 or when a new prime minister takes office. when the heading flows over more than one line, a hanging indent should be used, such that the remainder of the heading should be left-aligned, in this example, with "Wheat", leaving "Table 3. " standing off by itself on the left.
25
5017
by: Shannon Jacobs | last post by:
Maybe there is a simple trick here, and I'm not spotting it... Is there a guru of CSS hanging around here who can help out? The page in question has a multi-column table with a list of links in each column. Because links are added and deleted separately in each column, it would be exceedingly awkward to use a separate table row for each link. Therefore, within each column the links are separated by <br> tags. However, the automatic line...
2
2240
by: Jim | last post by:
We are experiencing a problem with component services in .Net and IIS. We use component services to handle transactions against SQL Server. At some point of usage, IIS will hang up and the lowest level in the stack trace is at System.EnterpriseServices.Thunk.Proxy.CoCreateObject and also sometimes at System.EnterpriseServices.Thunk.Proxy.RevokeObject. Each thread that comes in after this gets stuck in the same spot and IIS is hung at that...
5
2467
by: David C. Allen | last post by:
I have a vb.net app that is controling excel 2000 thru the com interop interface. I have referenced the excel 9.0 library and have cut down the code in the problem subroutine to this: Dim objExcelApp As New Excel.Application objExcelApp.Quit() objExcelApp = Nothing The problem is excel is hanging in memory and has to be closed by the task
3
2822
by: Steve Crawford | last post by:
When I run: vacuumdb --full --all --analyze --quiet on my database cluster it will complete in < 2 minutes (this cluster is a few million total rows and ~2GB). After testing, I set this up as an off-hours cron job and it worked fine for several days then hung the whole database. After my pager pulled me from bed I found the vacuumdb process still running but the vacuum process on the first database (alphabetically) was showing it was...
1
2311
by: Marcel Groner | last post by:
I have a problem with postgresql runnung on smp kernel. setup: master: ------- - Pentium 4 (hyperthreading) - 2 GB Memory - os: fedora core 1 - kernel: 2.4.22-1.2188.nptlsmp
14
19770
by: Rochester | last post by:
Hi, I just found out that the general open file mechanism doesn't work for named pipes (fifo). Say I wrote something like this and it simply hangs python: #!/usr/bin/python import os
0
1282
by: Jorre Meijrink | last post by:
Dear reader, We have two Win2003 webfarms each consisting of 5 servers. Which we call cluster1 and cluster2. Cluster2 is the bussiest of these two and periodicaly (varies from 2 times per day to two times per week) one of the servers (this is pretty random) starts to build up Requests Executing. During this 'queueing' it still serves about approx. 75% of the requests. The requests that don't come back with an answer are added to the...
1
3066
by: =?iso-8859-1?q?Jean-Fran=E7ois_Michaud?= | last post by:
Hello guys, I was wondering if anybody here had implemented a solution where Tables are aligned according to what the hanging indent tells us when there is a potential for the table overflowing in the right margin or out of the page. I did some research a while back and came to the conclusion at that time that it wasn't possible to have both (either we align on the hanging indent and if there is a potential for a table to be 6.75
0
8671
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
8598
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 effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
0
9152
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...
0
9016
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 tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth. The Art of Business Website Design Your website is...
0
8856
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 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...
1
6515
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
4613
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
3037
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
2321
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.

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.