cancel
Showing results for 
Search instead for 
Did you mean: 

Error in MAIN_SHDRUN/ACT_UPG stage while doing upgrade from ehp4 to ehp7

former_member209962
Participant
0 Kudos

Dear All,

We are upgrading our system form EHP4 to EHP7 and we are in preprocessing stage and we are geting error in MAIN_SHDRUN/ACT_UPG as below

DDIC ACTIVATION ERRORS and RETURN CODE in SAPA-405AGINEAIPPE.FNS

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

1AETR012XProgram terminated (job: "RDDMASGL", no.: "14112900")

1AEPU320 See job log"RDDMASGL""14112900""FNS"

1 ETP111 exit code           : "12"

Please find attached ACTUPG.ELG log for your reference.

Kindly help to solve this issue.

Database is Oracle 11.2

operating system: Win 2008 Ent

Thanks

Tabrayz

Accepted Solutions (0)

Answers (8)

Answers (8)

former_member182657
Active Contributor
0 Kudos

Hi,

Please go through SAP Note 1387739.

Thanks,

Gaurav

former_member182657
Active Contributor
0 Kudos

HI,

Share the space details for /tmp directory.Have you recently modified any parameters.

Thanks,

Gaurav

Former Member
0 Kudos

/tmp is 4.5GB free.

Regards,

Nikunj Thaker

Reagan
Advisor
Advisor
0 Kudos

Hello Nikunj


shadow instance running with below parameter value

abap/heap_area_dia = 10000000000

abap/heap_area_nondia = 10000000000

abap/heap_area_total = 10000000000

ztta/roll_area = 20000000

em/initial_size_MB = 4096

ztta/roll_extension = 4000000000

This is what you have set. Instead of that set the values that I have provided.

Here is what I have suggested in this thread.


I suggest you to set these parameters and restart the shadow instance.

ztta/roll_extension = 64000000000

abap/heap_area_total = 10000000000

abap/heap_area_nondia = 10000000000

ztta/roll_area = 20000000

abap/buffersize = 400000

Secondly instead of hijacking a thread why don't you raise a new thread ?

If the file system used for the upgrade (/ehpupdate/SUM/abap/QLS) has sufficient free space then check the ulimits for the sidadm user.

Regards

RB

Former Member
0 Kudos

Hi,

Please check this note.

OSS 1049553 - , Upgrade

Regards,

Prabhakar

former_member209962
Participant
0 Kudos

Dear All,

As per your suggestions we have followed note 1387739 and set below parameters in shadow instance profile

uth/shadow_upgrade = 1

bap/heap_area_total = 20000000000

abap/heap_area_nondia = 20000000000

ztta/roll_area = 20000000

ztta/roll_area = 6500000

ztta/roll_first = 1

em/blocksize_KB = 2048

em/initial_size_MB = 1024

after setting above parameters MAIN_SHDRUN/ACT_UPG Phase ran for more than 16 hours and then ended with error and short dump please see below dump this dump is related to memeory again but a diffrent dump this time.

Runtime Errors     EXSORT_NOT_ENOUGH_MEMORY
Date and Time      08.10.2013 16:19:27

----------------------------------------------------------------------------------------------------

----------------------------------------------------------------------------------------------------

|Short text                                                                                    |
|Internal error: Too little memory for the external sort                                   |

----------------------------------------------------------------------------------------------------

----------------------------------------------------------------------------------------------------

|What happened?                                                                                |
|Error in the SAP kernel.                                                                  |
|                                                                                              |
|The current ABAP "RADMASDSC" program had to be terminated because the                     |
|ABAP processor detected an internal system error.                                         |

----------------------------------------------------------------------------------------------------

----------------------------------------------------------------------------------------------------

|What can you do?                                                                              |
|Note which actions and input led to the error.                                            |
|                                                                                              |
|For further help in handling the problem, contact your SAP administrator                  |
|.                                                                                         |
|                                                                                              |
|You can use the ABAP dump analysis transaction ST22 to view and manage                    |
|termination messages, in particular for long term reference.                              |
|                                                                                              |

----------------------------------------------------------------------------------------------------

----------------------------------------------------------------------------------------------------

|Error analysis                                                                                |
|The running ABAP program wanted to sort a dataset (internal table or                      |
|extract). For reasons of capacity, it was not possible to sort the                        |
|dataset in available main memory. The external sort was therefore called                  |
|. The following error occurred when doing so:                                             |
|                                                                                              |
|SAP runtime system internal error.                                                        |
|Last error logged in SAP kernel                                                           |
|                                                                                              |
|Component............ "EM"                                                                |
|Place................ "SAP-Server SAPTESPR_FNS_01 on host SAPTESPR (wp 6)"                |
|Version.............. 37                                                                  |
|Error code........... 7                                                                   |
|Error text........... "Warning: EM-Memory exhausted: Workprocess gets PRIV "              |
|Description.......... " "                                                                 |
|System call.......... " "                                                                 |
|Module............... "D:/depot/bas/740_REL/src/krn/em/emxx.c"                            |
|Line................. 2369                                                                |
|                                                                                              |
|The error reported by the operating system is:                                            |
|Error number..... " "                                                                     |
|Error text....... " "                                                                     |
|                                                                                              |
|                                                                                              |
|                                                                                              |
|                                                                                              |

----------------------------------------------------------------------------------------------------

----------------------------------------------------------------------------------------------------

|How to correct the error                                                                      |
|Try to decide by analysis whether this request is                                         |
|reasonable or whether there is a program error. You should pay                            |
|particular attention to the internal table entries listed below.                          |
|                                                                                              |
|                                                                                              |
|                                                                                              |
|                                                                                              |
|                                                                                              |
|                                                                                              |
|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:                                                                                 |
|                                                                                              |
|"EXSORT_NOT_ENOUGH_MEMORY" " "                                                            |
|"RADMASDSC" or "RADMASDSC"                                                                |
|"MA_DTEL_TABL_MCID_SEL"                                                                   |
|                                                                                              |
|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.                                                       |
|                                                                                              |

----------------------------------------------------------------------------------------------------

----------------------------------------------------------------------------------------------------

|System environment                                                                            |
|SAP-Release 701                                                                           |
|                                                                                              |
|Application server... "SAPTESPR"                                                          |
|Network address...... "192.168.100.22"                                                    |
|Operating system..... "Windows NT"                                                        |
|Release.............. "6.0"                                                               |
|Hardware type........ "8x AMD64 Level"                                                    |
|Character length.... 16 Bits                                                              |
|Pointer length....... 64 Bits                                                             |
|Work process number.. 6                                                                   |
|Shortdump setting.... "full"                                                              |
|                                                                                              |
|Database server... "SAPTESPR"                                                             |
|Database type..... "ORACLE"                                                               |
|Database name..... "FNS"                                                                  |
|Database user ID.. "SAPSR3"                                                               |
|                                                                                              |
|Terminal.......... " "                                                                    |
|                                                                                              |
|Char.set.... "C"                                                                          |
|                                                                                              |
|SAP kernel....... 740                                                                     |
|created (date)... "Jun 17 2013 22:17:19"                                                  |
|create on........ "NT 6.0 6002 x86 MS VC++ 16.00"                                         |
|Database version. "OCI_11201_SHARE, 11.2.0.3.0 "                                          |
|                                                                                              |
|Patch level. 22                                                                           |
|Patch text.. " "                                                                          |
|                                                                                              |
|Database............. ", , ORACLE 11.2.*.*.*"                                             |
|SAP database version. 740                                                                 |
|Operating system..... ", , , , Windows NT 6.2"                                            |
|                                                                                              |
|Memory consumption                                                                        |
|Roll.... 0                                                                                |
|EM...... 938739232                                                                        |
|Heap.... 1819118736                                                                       |
|Page.... 65536                                                                            |
|MM Used. 2738984048                                                                       |
|MM Free. 12671712                                                                         |

----------------------------------------------------------------------------------------------------

----------------------------------------------------------------------------------------------------

|User and Transaction                                                                          |
|                                                                                              |
|Client.............. 000                                                                  |
|User................ "DDIC"                                                               |
|Language key........ "E"                                                                  |
|Transaction......... " "                                                                  |
|Transactions ID..... "8ED72FE305E2F10DB437001B78064320"                                   |
|                                                                                              |
|Program............. "RADMASDSC"                                                          |
|Screen.............. "SAPMSSY0 1000"                                                      |
|Screen line......... 6                                                                    |

----------------------------------------------------------------------------------------------------

----------------------------------------------------------------------------------------------------

|Information on where terminated                                                               |
|Termination occurred in the ABAP program "RADMASDSC" - in                                 |
| "MA_DTEL_TABL_MCID_SEL".                                                                 |
|The main program was "RADMASG0_C3 ".                                                      |
|                                                                                              |
|In the source code you have the termination point in line 425                             |
|of the (Include) program "RADMASDSC".                                                     |
|The program "RADMASDSC" was started as a background job.                                  |
|Job Name....... "RDDMASGL"                                                                |
|Job Initiator.. "DDIC"                                                                    |
|Job Number..... 09074100                                                                  |
Reagan
Advisor
Advisor
0 Kudos

Hello

Did you set the parameters according to the SAP note I provided above ?

Here is what the SAP note says:

abap/heap_area_total = 10000000000

abap/heap_area_nondia = 10000000000

ztta/roll_area = 20000000

Here is what you have set:

abap/heap_area_total = 20000000000

abap/heap_area_nondia = 20000000000

ztta/roll_area = 20000000

ztta/roll_area = 6500000

ztta/roll_first = 1

em/blocksize_KB = 2048

em/initial_size_MB = 1024

The ztta/roll_area is specified twice.

Remove the parameters that are specified twice.

I suggest you to set these parameters and restart the shadow instance.

ztta/roll_extension = 64000000000

abap/heap_area_total = 10000000000

abap/heap_area_nondia = 10000000000

ztta/roll_area = 20000000

abap/buffersize = 400000

Make sure the parameters are specified only once in the profile.

Regards

RB

Former Member
0 Kudos

This answer should be correct, after modifying the profile you should restart the shadow instance. Change to subdirectory ../abap/bin and use ./SAPup stopshd and ./SAPup startshd

Former Member
0 Kudos

Hi,

Facing EXSORT_NOT_ENOUGH_MEMORY in ACT_UPG phase only.

Please let me know how did you resolved the issue ?

Regards,

Nikunj Thaker

Reagan
Advisor
Advisor
0 Kudos

Have you tried setting the parameters I have mentioned above ?

Regards

RB

Former Member
0 Kudos

Hi RB,

Getting EXSOR_SETVBUF_FAILED in ST22 of Shadow instance.

shadow instance running with below parameter value

abap/heap_area_dia = 10000000000

abap/heap_area_nondia = 10000000000

abap/heap_area_total = 10000000000

ztta/roll_area = 20000000

em/initial_size_MB = 4096

ztta/roll_extension = 4000000000

Regards,

Nikunj Thaker

Reagan
Advisor
Advisor
0 Kudos

Could you provide the complete dump ?

Few things you can try.

1 - Try with a different version of kernel.

2 - Stop the SAP primary and shadow and clean the shared memory segments and then start the systems.

Regards

RB

Former Member
0 Kudos

Hi RB,

Already running Shadow with latest Kernel.

There is sufficient space in /ehupdate/ directory ( 66GB free ).

Runtime Errors EXSORT_SETVBUF_FAILED

Date and Time 02.02.2014 20:53:12

Short Text

Error when writing the sorted data to the temporary file.

What happened?

    Runtime error

    The current ABAP program "RADMASDSC" had to be terminated because one

    of the statements could not be executed at runtime.

What can you do?

    Note which actions and input led to the error.

    For further help in handling the problem, contact your SAP administrator

    .

    You can use the ABAP dump analysis transaction ST22 to view and manage

    termination messages, in particular for long term reference.

Error analysis

    The running ABAP program wanted to sort a dataset (internal table or

    extract). For reasons of capacity, it was not possible to sort the

    dataset in available main memory. The external sort was therefore called

    . The following error occurred when doing so:

    An error occurred when buffering while writing the sorted data to the

    temporary file "/ehpupdate/SUM/abap/QLS/DVEBMGS01/data/S02NBI5W".

    Error number: 12

Error text: "Not enough space"

How to correct the error

    If the cause of the error indicates that the external sort does

    not have access to sufficient disk space, you should ensure that

    the file system that contains the directory

"/ehpupdate/SUM/abap/QLS/DVEBMGS01/data"

    (the external sort uses this to create its help files)

    has enough space or use the profile parameter DIR_SORTTMP to choose

    another directory.

    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:

    "EXSORT_SETVBUF_FAILED" " "

    "RADMASDSC" or "RADMASDSC"

    "MA_DTEL_TABL_MCID_SEL"

    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.

    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:

    "EXSORT_SETVBUF_FAILED" " "

    "RADMASDSC" or "RADMASDSC"

    "MA_DTEL_TABL_MCID_SEL"

    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.

System environment

    SAP-Release 700

    Application server... "IPLQLS"

    Network address...... "10.32.1.20"

    Operating system..... "HP-UX"

    Release.............. "B.11.31"

    Hardware type........ "ia64"

    Character length.... 16 Bits

    Pointer length....... 64 Bits

    Work process number.. 16

    Shortdump setting.... "full"

    Database server... "IPLQLS"

    Database type..... "ORACLE"

    Database name..... "QLS"

    Database user ID.. "SAPSR3"

    Terminal................. " "

    Char.set.... "C"

    SAP kernel....... 721

    created (date)... "Dec 4 2013 13:23:12"

    create on........ "HP-UX B.11.31 U ia64"

    Database version. "OCI_112, 11.2.0.3.0, V1, default"

    Patch level. 201

    Patch text.. " "

    Database............. "ORACLE 10.1.0.*.*, ORACLE 10.2.0.*.*, ORACLE 11.2.*.*.*"

    SAP database version. 721

    Operating system..... "HP-UX B.11.31"

    Memory consumption

    Roll.... 19732160

    EM...... 0

    Heap.... 3018392976

    Page.... 73728

    MM Used. 2876980320

MM Free. 152436432

User and Transaction

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

    User................ "DDIC"

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

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

    Transactions ID..... "52EEECBB0DBC0343E10000000A200114"

    Program............. "RADMASDSC"

    Screen.............. "SAPMSSY0 1000"

Screen line......... 6

Information on where terminated

    Termination occurred in the ABAP program "RADMASDSC" - in

     "MA_DTEL_TABL_MCID_SEL".

    The main program was "RADMASG0_C3 ".

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

    of the (Include) program "RADMASDSC".

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

    Job Name....... "RDDMASGL"

    Job Initiator.. "DDIC"

Job Number..... 14495600

former_member189797
Active Contributor
0 Kudos

Hello,

Where do the parameters DIR_EXTRACT and DIR_SORTTMP point to?

How much free space do you have at these locations?

Have you checked note  310712.

Regards,

Gaurav

Former Member
0 Kudos

Hi,

Already mention there is sufficient Free space already 66GB Free.

Regards,

Nikunj Thaker

Former Member
0 Kudos

The dump clearly says "Not enough space" in /ehpupdate/SUM/abap/QLS/DVEBMGS01/data directory while writing the sorted data to the temporary file. Please attach full dump as file or try itself to determine which amount of data the system tries to write to that directory.

Former Member
0 Kudos

Hi,

Refer the below notes,

Note 1292069

also

Phase: ACT_UPG

Note: 1321756

let us know if the issue still presist.

Thanks,

Prabhakar BR

Nibu
Contributor
0 Kudos

I had few out of memory issues at ACT_UPG phase , and I did as below , that made it resolved the

memory issue

Note 1387739 - Out of memory in ACT_UPG phase during EHP installation

Increased abap/heap_area_nondia from 900000000 to 10000000000

abap/heap_area_total = 10000000000

abap/heap_area_nondia = 10000000000

ztta/roll_area = 20000000

Killed tp

Restarted shadow instance…

Refer http://scn.sap.com/thread/1897287

former_member189797
Active Contributor
0 Kudos

As you can see the JOB failed. Please log in the shadow system and check the why the JOB failed.

Generally it is because of the dump. in that case please provide the dum from the shadow system.

Reagrds,

Gaurav

former_member209962
Participant
0 Kudos

Hi Gaurav,

Yes you are correct there r two dumps in shadow instance.

Runtime Errors     TSV_TNEW_BLOCKS_NO_ROLL_MEMORY
Date and Time      05.10.2013 01:08:29

----------------------------------------------------------------------------------------------------

----------------------------------------------------------------------------------------------------

|Short text                                                                                    |
|No roll storage space of length 354352 available for internal storage.                    |

----------------------------------------------------------------------------------------------------

----------------------------------------------------------------------------------------------------

|What happened?                                                                                |
|Each transaction requires some main memory space to process                               |
|application data. If the operating system cannot provide any more                         |
|space, the transaction is terminated.                                                     |

----------------------------------------------------------------------------------------------------

----------------------------------------------------------------------------------------------------

|What can you do?                                                                              |
|                                                                                              |
|Try to find out (e.g. by targetted data selection) whether the                            |
|transaction will run with less main memory.                                               |
|                                                                                              |
|If there is a temporary bottleneck, execute the transaction again.                        |
|-                                                                                         |
|                                                                                              |
|If the error persists, ask your system administrator to check the                         |
|following profile parameters:                                                             |
|                                                                                              |
|o  ztta/roll_area        (1.000.000 - 15.000.000)                                     |
|       Classic roll area per user and internal mode                                       |
|       usual amount of roll area per user and internal mode                               |
|o  ztta/roll_extension   (10.000.000 - 500.000.000)                                   |
|       Amount of memory per user in extended memory (EM)                                  |
|o  abap/heap_area_total  (100.000.000 - 1.500.000.000)                                |
|       Amount of memory (malloc) for all users of an application                          |
|       server. If several background processes are running on                             |
|       one server, temporary bottlenecks may occur.                                       |
|       Of course, the amount of memory (in bytes) must also be                            |
|       available on the machine (main memory or file system swap).                        |
|       Caution:                                                                           |
|       The operating system must be set up so that there is also                          |
|       enough memory for each process. Usually, the maximum address                       |
|       space is too small.                                                                |
|       Ask your hardware manufacturer or your competence center                           |
|       about this.                                                                        |
|       In this case, consult your hardware vendor                                         |
|abap/heap_area_dia:    (10.000.000 - 1.000.000.000)                                   |
|       Restriction of memory allocated to the heap with malloc                            |
|       for each dialog process.                                                           |
|Parameters for background processes:                                                      |
|abap/heap_area_nondia:    (10.000.000 - 1.000.000.000)                                |
|       Restriction of memory allocated to the heap with malloc                            |
|       for each background process.                                                       |
|Other memory-relevant parameters are:                                                     |
|em/initial_size_MB:     (35-1200)                                                     |
|       Extended memory area from which all users of an                                    |
|       application server can satisfy their memory requirement.                           |
|Note which actions and input led to the error.                                            |
|                                                                                              |
|For further help in handling the problem, contact your SAP administrator                  |
|.                                                                                         |
|                                                                                              |
|You can use the ABAP dump analysis transaction ST22 to view and manage                    |
|termination messages, in particular for long term reference.                              |
|                                                                                              |

----------------------------------------------------------------------------------------------------

----------------------------------------------------------------------------------------------------

|Error analysis                                                                                |
|The internal table " " could not be enlarged further.                                     |
|                                                                                              |
|Memory location: "Session memory"                                                         |
|                                                                                              |
|You attempted to extend the data structure for the management of the                      |
|memory blocks for table " ". However, the 354352 bytes required for                       |
|this were no longer available in the specified memory area.                               |
|                                                                                              |
|The amount of memory requested is no longer available.                                    |
|Last error logged in SAP kernel                                                           |
|                                                                                              |
|Component............ "EM"                                                                |
|Place................ "SAP-Server SAPTESPR_FNS_01 on host SAPTESPR (wp 9)"                |
|Version.............. 37                                                                  |
|Error code........... 7                                                                   |
|Error text........... "Warning: EM-Memory exhausted: Workprocess gets PRIV "              |
|Description.......... " "                                                                 |
|System call.......... " "                                                                 |
|Module............... "D:/depot/bas/740_REL/src/krn/em/emxx.c"                            |
|Line................. 2369                                                                |
|                                                                                              |
|The error reported by the operating system is:                                            |
|Error number..... " "                                                                     |
|Error text....... " "                                                                     |
|                                                                                              |
|                                                                                              |
|                                                                                              |
|                                                                                              |

----------------------------------------------------------------------------------------------------

----------------------------------------------------------------------------------------------------

|How to correct the error                                                                      |
|                                                                                              |
|Try to decide by analysis whether this request is                                         |
|reasonable or whether there is a program error. You should pay                            |
|particular attention to the internal table entries listed below.                          |
|                                                                                              |
|                                                                                              |
|                                                                                              |
|                                                                                              |
|                                                                                              |
|                                                                                              |
|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:                                                                                 |
|                                                                                              |
|"TSV_TNEW_BLOCKS_NO_ROLL_MEMORY" " "                                                      |
|"RADMASDSC" or "RADMASDSC"                                                                |
|"MA_STRU_STRU_SEL"                                                                        |
|                                                                                              |
|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.                                     

Runtime Errors     TSV_TNEW_PAGE_ALLOC_FAILED
Date and Time      05.10.2013 15:59:45

----------------------------------------------------------------------------------------------------

----------------------------------------------------------------------------------------------------

|Short text                                                                                    |
|No more storage space available for extending an internal table.                          |

----------------------------------------------------------------------------------------------------

----------------------------------------------------------------------------------------------------

|What happened?                                                                                |
|You attempted to extend an internal table, but the required space was                     |
|not available.                                                                            |

----------------------------------------------------------------------------------------------------

----------------------------------------------------------------------------------------------------

|What can you do?                                                                              |
|Note which actions and input led to the error.                                            |
|                                                                                              |
|For further help in handling the problem, contact your SAP administrator                  |
|.                                                                                         |
|                                                                                              |
|You can use the ABAP dump analysis transaction ST22 to view and manage                    |
|termination messages, in particular for long term reference.                              |
|                                                                                              |
|Try to find out (e.g. by targetted data selection) whether the                            |
|transaction will run with less main memory.                                               |
|                                                                                              |
|If there is a temporary bottleneck, execute the transaction again.                        |
|-                                                                                         |
|                                                                                              |
|If the error persists, ask your system administrator to check the                         |
|following profile parameters:                                                             |
|                                                                                              |
|o  ztta/roll_area        (1.000.000 - 15.000.000)                                     |
|       Classic roll area per user and internal mode                                       |
|       usual amount of roll area per user and internal mode                               |
|o  ztta/roll_extension   (10.000.000 - 500.000.000)                                   |
|       Amount of memory per user in extended memory (EM)                                  |
|o  abap/heap_area_total  (100.000.000 - 1.500.000.000)                                |
|       Amount of memory (malloc) for all users of an application                          |
|       server. If several background processes are running on                             |
|       one server, temporary bottlenecks may occur.                                       |
|       Of course, the amount of memory (in bytes) must also be                            |
|       available on the machine (main memory or file system swap).                        |
|       Caution:                                                                           |
|       The operating system must be set up so that there is also                          |
|       enough memory for each process. Usually, the maximum address                       |
|       space is too small.                                                                |
|       Ask your hardware manufacturer or your competence center                           |
|       about this.                                                                        |
|       In this case, consult your hardware vendor                                         |
|abap/heap_area_dia:    (10.000.000 - 1.000.000.000)                                   |
|       Restriction of memory allocated to the heap with malloc                            |
|       for each dialog process.                                                           |
|Parameters for background processes:                                                      |
|abap/heap_area_nondia:    (10.000.000 - 1.000.000.000)                                |
|       Restriction of memory allocated to the heap with malloc                            |
|       for each background process.                                                       |
|Other memory-relevant parameters are:                                                     |
|em/initial_size_MB:     (35-1200)                                                     |
|       Extended memory area from which all users of an                                    |
|       application server can satisfy their memory requirement.                           |

----------------------------------------------------------------------------------------------------

----------------------------------------------------------------------------------------------------

|Error analysis                                                                                |
|The internal table "\FUNCTION=DD_RANGE_SELECT\DATA=???" could not be further              |
| extended. To enable                                                                      |
|error handling, the table had to be delete before this log was written.                   |
|As a result, the table is displayed further down or, if you branch to                     |
|the ABAP Debugger, with 0 rows.                                                           |
|                                                                                              |
|At the time of the termination, the following data was determined for                     |
|the relevant internal table:                                                              |
|                                                                                              |
|Memory location: "Session memory"                                                         |
|Row width: 246                                                                            |
|Number of rows: 388668                                                                    |
|Allocated rows: 388668                                                                    |
|Newly requested rows: 64 (in 1 blocks)                                                    |
|Last error logged in SAP kernel                                                           |
|                                                                                              |
|Component............ "EM"                                                                |
|Place................ "SAP-Server SAPTESPR_FNS_01 on host SAPTESPR (wp 6)"                |
|Version.............. 37                                                                  |
|Error code........... 7                                                                   |
|Error text........... "Warning: EM-Memory exhausted: Workprocess gets PRIV "              |
|Description.......... " "                                                                 |
|System call.......... " "                                                                 |
|Module............... "D:/depot/bas/740_REL/src/krn/em/emxx.c"                            |
|Line................. 2369                                                                |
|                                                                                              |
|The error reported by the operating system is:                                            |
|Error number..... " "                                                                     |
|Error text....... " "                                                                     |
|                                                                                              |
|                                                                                              |
|                                                                                              |
|                                                                                              |

----------------------------------------------------------------------------------------------------

----------------------------------------------------------------------------------------------------

|How to correct the error                                                                      |
|The amount of storage space (in bytes) filled at termination time was:                    |
|                                                                                              |
|Roll area...................... 0                                                         |
|Extended memory (EM)........... 1308377168                                                |
|Assigned memory (HEAP)......... 108936672                                                 |
|Short area..................... " "                                                       |
|Paging area.................... 65536                                                     |
|Maximum address space.......... " "                                                       |
|                                                                                              |
|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:                                                                                 |
|                                                                                              |
|"TSV_TNEW_PAGE_ALLOC_FAILED" " "                                                          |
|"SAPLSDS1" or "LSDS1U01"                                                                  |
|"SETRANGE"                                                                                |
|                                                                                              |
|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.                                                       |
Reagan
Advisor
Advisor
0 Kudos

Hello

Note 1387739 - Out of memory errors during shadow system operation

Implement this SAP note and retry the phase.

Regards

RB

former_member189797
Active Contributor
0 Kudos

Hello,

you are facing the issue due to the memory issue. Please check the note

1387739 and set the parameter accordingly. Restart the shadow system for the parameters to take effect and then try again.

Regards,

Gaurav

karthikeyan_natarajan4
Active Contributor
0 Kudos

Hi Tabrayz,

Along with the Snotes mentioned above, please go through this SAP KBA as well for further info

1578916  - The system dumps with the runtime error TSV_TNEW_BLOCKS_NO_ROLL_MEMORY

regards

kartik

ps0907
Active Participant
0 Kudos

Did you check for short dumps in ST22?  There may be a problem with insufficient memory since all of the component packages appear to be failing, based on the log you provided

former_member209962
Participant
0 Kudos

Hi Paul,

Yes i checked in shadow instance this job is failed and there id dump as

TSV_TNEW_BLOCKS_NO_ROLL_MEMORY  and TSV_TNEW_PAGE_ALLOC_FAILED

Thanks

Tabrayz