Hi, I'm Xift. I work with MrBucket and am the guy who caused the error leading to his thread "w3dbsmgr.exe pegs CPU around 100% constantly".
We are using Pervasive.SQL 8.1, version 8.10.117.17.
It seems the above error has two parts. The first part is a query that causes some of the database services to fail. The second part is running another program like PCC or PSA which causes the W3DBSMGR process to run and never finish, which then causes the processor to spike. That's what seems to happen, because the W3DBSMGR process is not present most of the time.
So my question is about this query. We use Pervasive as the database behind a clinical management package called Anasazi. One of the tables is CDASSIGN, which tracks assignments of clients to case workers. Here are examples of queries against this table:
this query works:
this also works:
this query fails:
These are all run directly from the SQL Data Manager, on the server computer. The error that occurs is:
Then a few seconds later an ODBC error saying that the server is no longer available. Restarting the two Pervasive.SQL services allows me to access the database again.
I've tried the server_id code 722 with and without quotes in both working and failing queries, it doesn't seem to be the problem. What is a problem is that a "normal" query should crash the database server software.
I did this testing by installing Pervasive.SQL server on my local computer and copying all of the Anasazi data files over so I can "crash" it without interfering with users. When this crashes on the actual Anasazi server, no one can access Anasazi until the services are restarted.
Hopefully someone has seen this before, or has a course of action to suggest. We have sent the information on to Anasazi Software, and either they or we will send it on to Pervasive as well.
- Xift
We are using Pervasive.SQL 8.1, version 8.10.117.17.
It seems the above error has two parts. The first part is a query that causes some of the database services to fail. The second part is running another program like PCC or PSA which causes the W3DBSMGR process to run and never finish, which then causes the processor to spike. That's what seems to happen, because the W3DBSMGR process is not present most of the time.
So my question is about this query. We use Pervasive as the database behind a clinical management package called Anasazi. One of the tables is CDASSIGN, which tracks assignments of clients to case workers. Here are examples of queries against this table:
this query works:
Code:
select client_id, server_id, sub_unit_id, date_opened
from cdassign
where (server_id = 722)
this also works:
Code:
...
where (date_closed is null)
this query fails:
Code:
select client_id, server_id, sub_unit_id, date_opened
from cdassign
where (server_id = 722) and (date_closed is null)
These are all run directly from the SQL Data Manager, on the server computer. The error that occurs is:
Code:
NTDBSMGR.EXE - Application Error
The instruction at "0x00b4bc74" referenced memory at
"0x00000000". The memory could not be "written".
Then a few seconds later an ODBC error saying that the server is no longer available. Restarting the two Pervasive.SQL services allows me to access the database again.
I've tried the server_id code 722 with and without quotes in both working and failing queries, it doesn't seem to be the problem. What is a problem is that a "normal" query should crash the database server software.
I did this testing by installing Pervasive.SQL server on my local computer and copying all of the Anasazi data files over so I can "crash" it without interfering with users. When this crashes on the actual Anasazi server, no one can access Anasazi until the services are restarted.
Hopefully someone has seen this before, or has a course of action to suggest. We have sent the information on to Anasazi Software, and either they or we will send it on to Pervasive as well.
- Xift