Something changed recently on our W2K SP4 machine when we installed
INTERSOLV ODBC software... the following script just opens a connection
to an MS-Access DB, gets a record then tears down the connection
<%
tpl_ConnectString = "DRIVER={Microsoft Access Driver (*.mdb)};
DBQ=g:/inetpub/wwwroot/servers/xta_db/tpl.mdb"
query = "select tpl_text from templates where tpl_name='showart_top'"
response.buffer=false
for i=1 to 100
on error resume next
set Conn = Server.CreateObject("ADODB.Connection")
if (err.number <0 ) then
response.write "Error creating Connection in getrecordset,
number=" & err.description
end if
on error resume next
conn.open TPL_ConnectString
if (err.number <0 ) then
response.write "Error opening Connection in getrecordset,
number=" & err.description
end if
on error resume next
Set rs = Server.CreateObject("ADODB.Recordset")
if (err.number <0 ) then
response.write "Error creating Recordset in getrecordset, number="
& err.description
end if
on error resume next
rs.open query,conn
if (err.number <0 ) then
response.write "Error executing query in
getrecordset(get_template), number=" & err.description
else
xxx=rs("tpl_text")
end if
response.write "loop=" + cstr(i)+"..size of
tpl="+cstr(len(xxx))+"<p>"
rs.close
if (err.number <0 ) then
response.write "Error closing Recordset in getrecordset, number=" &
err.description
end if
on error resume next
rs=nothing
if (err.number <0 ) then
response.write "Error setting to nothing Recordset in getrecordset,
number=" & err.description
end if
on error resume next
conn.close
if (err.number <0 ) then
response.write "Error closing conn in getrecordset, number=" &
err.description
end if
on error resume next
conn=nothing
if (err.number <0 ) then
response.write "Error setting conn to nothing in getrecordset,
number=" & err.description
end if
next
When we run this script now, we can see NP Pool climb in the
DLLHOST.EXE process until it hits about 1,000K , then we get 'system
resource exceeded'.... I've looked everywhere for a clue as to what's
changed , but can't find it... I know it has something to do with MDAC
and the Access driver, but another system we have that does not have
the INTERSOLV installed, does not run out of NP Pool..
My question is... what could possibly be exhausting NP Pool when an
Access db is connected to, retrieved from, followed by a close
recordset, set to nothing, close connection, set to nothing ??? 0 2023 This thread has been closed and replies have been disabled. Please start a new discussion. Similar topics
by: Robert Brown |
last post by:
suppose I have the following table:
CREATE TABLE (int level, color varchar, length int, width int, height
int)
It has the following rows
1, "RED", 8, 10, 12
2, NULL, NULL, NULL, 20...
|
by: John Black |
last post by:
Hi,
I have some code like this,
itr = find_if(this->pool.begin(), this->pool.end(),
bind2nd(mem_fun_ref(&Pool::isAvailable),
make_pair(base, high)));
But compiler always complains a lot STL...
|
by: Guadala Harry |
last post by:
I have a modal dialog that currently does all of the following except item
4.
1. lets users select a graphic from a list of thumbnails (and when selected,
displays the full-size image in a...
|
by: scottyman |
last post by:
I can't make this script work properly. I've gone as far as I can with
it and the rest is out of my ability. I can do some html editing but
I'm lost in the Java world. The script at the bottom of...
|
by: kiran kumar |
last post by:
Hi All,
I am working on embedded python on C these days. I feel there is a
memory leakage in this code. I have used our own memory pool and all
the python code will use the heap from this memory...
|
by: Greg Scharlemann |
last post by:
The last time I tried to ask this question...Google Groups screwed up
my message and there was no subject (sorry for that - I know it's
annoying).
I'm trying to learn how to develop a plug-in...
|
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...
|
by: Navin Mishra |
last post by:
Hi,
I've an ASP.NET web service that consumes other web services as well as
sends data to client using TCP blocking sockets on a custom thread pool
threads. If I use asynchronous sockets to send...
|
by: DannyyBoyy |
last post by:
My daughter has been swimming year round in Mt. Pleasant, SC and she swims at meets with different pool lengths - 100 meters (Long Course Meters or LCM), 50 yards (Short Course Yards or SCY) and 50...
|
by: CloudSolutions |
last post by:
Introduction:
For many beginners and individual users, requiring a credit card and email registration may pose a barrier when starting to use cloud servers. However, some cloud server providers now...
|
by: Faith0G |
last post by:
I am starting a new it consulting business and it's been a while since I setup a new website. Is wordpress still the best web based software for hosting a 5 page website? The webpages will be...
|
by: ryjfgjl |
last post by:
In our work, we often need to import Excel data into databases (such as MySQL, SQL Server, Oracle) for data analysis and processing. Usually, we use database tools like Navicat or the Excel import...
|
by: taylorcarr |
last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
|
by: Charles Arthur |
last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
|
by: ryjfgjl |
last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
|
by: ryjfgjl |
last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
|
by: nemocccc |
last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
|
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...
| |