cancel
Showing results for 
Search instead for 
Did you mean: 

DBIF_RSQL_SQL_ERROR - Production system stopped!

Former Member
0 Kudos

Hi All

I need some help with a problem we had last night with our ECC6 System, which basically had some serious memory issues and consequently stopped users logging on, batch jobs failed etc. In total we had 439 short dumps in the space of two hours.

Here is some system info which might help:

Platform

Windows 2003 Enterprise (32-Bit)

SQL 2000 Enterprise (32-Bit)

16GB RAM

ECC6 - Stack 10

Short Dump

Runtime Errors DBIF_RSQL_SQL_ERROR

Exception CX_SY_OPEN_SQL_DB

Date and Time 01.05.2008 04:30:49

How to correct the error

Database error text........: "[8645] A time out occurred while waiting for

memory resources to execute the query. Rerun the query."

Internal call code.........: "[RSQL/OPEN/TBTCS ]"

Please check the entries in the system log (Transaction SM21).

If the error occures in a non-modified SAP program, you may be able to

find an interim solution in an SAP Note.

If you have access to SAP Notes, carry out a search with the following

keywords:

"DBIF_RSQL_SQL_ERROR" "CX_SY_OPEN_SQL_DB"

"SAPMSSY2" or "SAPMSSY2"

"SELECT_TIME_TRIGGERED_JOBS"

If you cannot solve the problem yourself and want to send an error

notification to SAP, include the following information:

1. The description of the current problem (short dump)

To save the description, choose "System->List->Save->Local File

(Unconverted)".

2. Corresponding system log

Display the system log by calling transaction SM21.

Restrict the time interval to 10 minutes before and five minutes

after the short dump. Then choose "System->List->Save->Local File

(Unconverted)".

3. If the problem occurs in a problem of your own or a modified SAP

program: The source code of the program

In the editor, choose "Utilities->More

Utilities->Upload/Download->Download".

4. Details about the conditions under which the error occurred or which

actions and input led to the error.

The exception must either be prevented, caught within proedure

"SELECT_TIME_TRIGGERED_JOBS" "(FORM)", or its possible occurrence must be

declared in the

RAISING clause of the procedure.

To prevent the exception, note the following:

Client.............. 000

User................ "SAPSYS"

Language key........ "E"

Transaction......... " "

Transactions ID..... "D02E17DD9233F1E1A1280002A54EC93B"

Program............. "SAPMSSY2"

Screen.............. "SAPMSSY2 4004"

Screen line......... 4

Information on where terminated

Termination occurred in the ABAP program "SAPMSSY2" - in

"SELECT_TIME_TRIGGERED_JOBS".

The main program was "SAPMSSY2 ".

In the source code you have the termination point in line 527

of the (Include) program "SAPMSSY2".

The program "SAPMSSY2" was started as a background job.

Job Name....... " "

Job Initiator.. " "

Job Number..... " "

The termination is caused because exception "CX_SY_OPEN_SQL_DB" occurred in

procedure "SELECT_TIME_TRIGGERED_JOBS" "(FORM)", but it was neither handled

locally nor declared

in the RAISING clause of its signature.

The procedure is in program "SAPMSSY2 "; its source code begins in line

511 of the (Include program "SAPMSSY2 ".

Event Logs and SQL Logs

Nothing - relating to the memory issue only short dump info.

If you need to know anything else please let me know

Thanks in advance

Phil (Very tired!!)

Accepted Solutions (1)

Accepted Solutions (1)

former_member185954
Active Contributor
0 Kudos

Hello Phil,

What does the SAP system log say ?

I do not recollect if SQL 2000 has any log file like the alertSID.log in Oracle, if yes, please post it.

Regards,

Siddhesh

Edited by: Siddhesh Ghag on May 1, 2008 11:28 AM

Former Member
0 Kudos

SQL Log file says nothing - only the fact the the server was restarted (which we did manually!)

SM21 Shows the following (This is just an extract, if you would like to see more please let me know):

03:30:47 BTC 019 900 ZBATCH_SUSER BY 4 Database error 8645 at SEL access to table ATP_EKET

03:30:47 BTC 019 900 ZBATCH_SUSER BY 0 > [8645] A time out occurred while waiting for memory resource

03:30:47 BTC 019 900 ZBATCH_SUSER BY 0 > to execute the query. Rerun the query.

03:30:48 BTC 019 900 ZBATCH_SUSER AB 0 Run-time error "DBIF_RSQL_SQL_ERROR" occurred

03:30:52 DIA 000 000 SAPSYS BY 4 Database error 8645 at SEL access to table TBTCS

03:30:52 DIA 000 000 SAPSYS BY 0 > [8645] A time out occurred while waiting for memory resource

03:30:52 DIA 000 000 SAPSYS BY 0 > to execute the query. Rerun the query.

03:30:52 DIA 000 000 SAPSYS AB 0 Run-time error "DBIF_RSQL_SQL_ERROR" occurred

03:30:52 DIA 000 000 SAPSYS AB 1 > Short dump "080501 033052 sapprdr3 PRD00 " generated

03:30:52 DIA 000 000 SAPSYS D0 1 Transaction Canceled 00 671 ( DBIF_RSQL_SQL_ERROR 20080501033052sapprdr3_PRD_00 SAPSYS 000 )

03:30:55 BTC 019 900 ZBATCH_SUSER AB 1 > Short dump "080501 033048 sapprdr3 PRD00 " generated

03:30:55 BTC 019 900 ZBATCH_SUSER D0 1 Transaction Canceled 00 671 ( DBIF_RSQL_SQL_ERROR 20080501033048sapprdr3_PRD_00 ZBATCH_SUSER900 )

03:31:17 DIA 000 000 SAPSYS BY 4 Database error 8645 at SEL access to table TBTCS

03:31:17 DIA 000 000 SAPSYS BY 0 > [8645] A time out occurred while waiting for memory resource

03:31:17 DIA 000 000 SAPSYS BY 0 > to execute the query. Rerun the query.

03:31:17 DIA 000 000 SAPSYS AB 0 Run-time error "DBIF_RSQL_SQL_ERROR" occurred

03:31:17 DIA 000 000 SAPSYS AB 1 > Short dump "080501 033117 sapprdr3 PRD00 " generated

03:31:17 DIA 000 000 SAPSYS D0 1 Transaction Canceled 00 671 ( DBIF_RSQL_SQL_ERROR 20080501033117sapprdr3_PRD_00 SAPSYS 000 )

03:31:42 BTC 019 900 ZBATCH_SUSER BY 4 Database error 8645 at SEL access to table ZCARIAGE

03:31:42 BTC 019 900 ZBATCH_SUSER BY 0 > [8645] A time out occurred while waiting for memory resource

03:31:42 BTC 019 900 ZBATCH_SUSER BY 0 > to execute the query. Rerun the query.

03:31:43 BTC 019 900 ZBATCH_SUSER AB 0 Run-time error "DBIF_RSQL_SQL_ERROR" occurred

03:31:43 BTC 019 900 ZBATCH_SUSER AB 1 > Short dump "080501 033143 sapprdr3 PRD00 " generated

03:31:43 BTC 019 900 ZBATCH_SUSER D0 1 Transaction Canceled 00 671 ( DBIF_RSQL_SQL_ERROR 20080501033143sapprdr3_PRD_00 ZBATCH_SUSER900 )

03:35:38 DIA 000 000 SAPSYS BY 4 Database error 8645 at SEL access to table TSP02

03:35:38 DIA 000 000 SAPSYS BY 0 > [8645] A time out occurred while waiting for memory resource

03:35:38 DIA 000 000 SAPSYS BY 0 > to execute the query. Rerun the query.

03:35:39 DIA 000 000 SAPSYS AB 0 Run-time error "DBIF_RSQL_SQL_ERROR" occurred

03:35:45 DIA 000 000 SAPSYS AB 1 > Short dump "080501 033539 sapprdr3 PRD00 " generated

03:35:45 DIA 000 000 SAPSYS D0 1 Transaction Canceled 00 671 ( DBIF_RSQL_SQL_ERROR 20080501033539sapprdr3_PRD_00 SAPSYS 000 )

03:36:14 DIA 000 000 SAPSYS BY 4 Database error 8645 at SEL access to table TBTCS

03:36:14 DIA 000 000 SAPSYS BY 0 > [8645] A time out occurred while waiting for memory resource

03:36:14 DIA 000 000 SAPSYS BY 0 > to execute the query. Rerun the query.

03:36:14 DIA 000 000 SAPSYS AB 0 Run-time error "DBIF_RSQL_SQL_ERROR" occurred

03:36:14 DIA 000 000 SAPSYS AB 1 > Short dump "080501 033614 sapprdr3 PRD00 " generated

03:36:14 DIA 000 000 SAPSYS D0 1 Transaction Canceled 00 671 ( DBIF_RSQL_SQL_ERROR 20080501033614sapprdr3_PRD_00 SAPSYS 000 )

03:36:32 BTC 018 900 ZBATCH_SUSER BY 4 Database error 8645 at UPD access to table YCA_BGROUN

03:36:32 BTC 018 900 ZBATCH_SUSER BY 0 > [8645] A time out occurred while waiting for memory resource

03:36:32 BTC 018 900 ZBATCH_SUSER BY 0 > to execute the query. Rerun the query.

03:36:36 BTC 018 900 ZBATCH_SUSER AB 0 Run-time error "DBIF_RSQL_SQL_ERROR" occurred

03:36:37 BTC 018 900 ZBATCH_SUSER AB 1 > Short dump "080501 033636 sapprdr3 PRD00 " generated

03:36:37 BTC 018 900 ZBATCH_SUSER D0 1 Transaction Canceled 00 671 ( DBIF_RSQL_SQL_ERROR 20080501033636sapprdr3_PRD_00 ZBATCH_SUSER900 )

03:37:02 DIA 000 000 SAPSYS BY 4 Database error 8645 at SEL access to table TBTCS

03:37:02 DIA 000 000 SAPSYS BY 0 > [8645] A time out occurred while waiting for memory resource

03:37:02 DIA 000 000 SAPSYS BY 0 > to execute the query. Rerun the query.

03:37:02 DIA 000 000 SAPSYS AB 0 Run-time error "DBIF_RSQL_SQL_ERROR" occurred

03:37:02 DIA 000 000 SAPSYS AB 1 > Short dump "080501 033702 sapprdr3 PRD00 " generated

03:37:02 DIA 000 000 SAPSYS D0 1 Transaction Canceled 00 671 ( DBIF_RSQL_SQL_ERROR 20080501033702sapprdr3_PRD_00 SAPSYS 000 )

03:38:03 DIA 000 000 SAPSYS BY 4 Database error 8645 at SEL access to table TBTCS

Thanks for you time

Phil

Edited by: Phil Wade on May 1, 2008 10:36 AM

former_member185954
Active Contributor
0 Kudos

Hello Phil,

I think the following SAP Note 206694 - SQL 7.0 Error 8645 {Insufficient Memory Resources}

gives you enough cues to fine tune your system.

Hope that helps.

Regards,

Siddhesh

Former Member
0 Kudos

Thanks, unfortunately we are using SQL 2000 so this note does not really apply!

former_member185954
Active Contributor
0 Kudos

Phil,

Please go thru that note irrespective of its release, cause it is a descriptive note and gives you what is causing this error and how can you fix it.

Regards,

Siddhesh

Answers (0)