on 08-31-2010 10:55 PM
Could a slight increase in either parameter create a huge backlash in the system:
1. ztta/roll_area or
2. abap/heap_area_total ??
I've researched each and understand what they do, but still want to ask if this could create issues. I reviewed response times for the day and compared it to passed days to find them quite similiar, but we still ran into an issue with 'slowness' all day. The dialog processes filled up and it hour glassed for a good minute. Then it would react like the bottleneck cleared and everything would go back to 'normal' for a bit. This happened pretty much all day today. The 2 parameters were changed to fix an ABAP dump we received daily.
Thanks for the help,
Ryan
abap/heap_area_total can easily kill your system, if it is set too large. How big did you set it? How much phyiscal memory do you have on the server? What is the Max use in ST02 for Heap memory?
You will need to check your server during the slow periods for paging/swapping and high disk activity.
Cheers Michael
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
We are running on OS400 V6R1 OS, the LPAR has roughly 200GBs of memory.</p>
I changed
ztta/roll_area went from 5000000 to 7500000 and
abap/heap_area_total went from 2000000000 to 3500000000.</p>
ST02 is showing:</br>
Date + Time of Snapshot: 09/01/2010 09:25:26 Startup: 08/28/2010 18:45:10</br>
Roll memory Dialog session kB 7,324</br>
Nondialog sess. kB 7,324</br>
Available kB 524,288</br>
in shared memory kB 524,288</br>
on disk kB 0</br>
Used kB 280,690</br>
Maximum used kB 338,416</br>
Paging memory Session buffer kB 1,200</br>
Available kB 2,000,000</br>
in shared memory kB 1,048,576</br>
on disk kB 951,424</br>
Used kB 387,407</br>
Maximum used kB 569,304</br>
Extended memory Dialog session kB 1,953,125</br>
Nondialog sess. kB 1,953,125</br>
Available kB 46,133,248</br>
Used kB 31,203,328</br>
Maximum used kB 39,948,288</br>
Heap memory Dialog session kB 1,953,125</br>
Nondialog sess. kB 1,953,125</br>
Used kB 0</br>
Maximum used kB 3,417,949</p>
The ABAP dump i was referring it is a TSV_TNEW_PAGE_ALLOC_FAILED, more info is:</br>
Short text</br>
No more storage space available for extending an internal table.</p>
What happened?</br>
You attempted to extend an internal table, but the required space was
not available.</p>
What can you do?</br>
Note which actions and input led to the error.
For further help in handling the problem, contact your SAP administrato
.
You can use the ABAP dump analysis transaction ST22 to view and manage
termination messages, in particular for long term reference.</br>
Try to find out (e.g. by targetted data selection) whether the
transaction will run with less main memory.</br>
If there is a temporary bottleneck, execute the transaction again.</br>
-
If the error persists, ask your system administrator to check the
following profile parameters:</br>
o ztta/roll_area (1.000.000 - 15.000.000)</br>
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)</br>
Amount of memory per user in extended memory (EM)
o abap/heap_area_total (100.000.000 - 1.500.000.000)</br>
Amount of memory (malloc) for all users of an application
server. If several background processes are running on
one server, temporary bottlenecks may occur.</br>
Of course, the amount of memory (in bytes) must also be
available on the machine (main memory or file system swap).</br>
Caution:</br>
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.</br>
Ask your hardware manufacturer or your competence center
about this.</br>
In this case, consult your hardware vendor</br>
abap/heap_area_dia: (10.000.000 - 1.000.000.000)</br>
Restriction of memory allocated to the heap with malloc
for each dialog process.</br>
Parameters for background processes:</br>
abap/heap_area_nondia: (10.000.000 - 1.000.000.000)</br>
Restriction of memory allocated to the heap with malloc
for each background process.</br>
Other memory-relevant parameters are:</br>
em/initial_size_MB: (35-1200)</br>
Extended memory area from which all users of an
application server can satisfy their memory requirement.
or analysis
The internal table "\FUNCTION-POOL=SCMS_R3DB\FORM=DB_PACK\DATA=PHIO_DATA-CONT_B
IN" 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.</br>
At the time of the termination, the following data was determined for
the relevant internal table:</br>
Memory location: "Session memory"</br>
Row width: 1022</br>
Number of rows: 378832</br>
Allocated rows: 378832</br>
Newly requested rows: 16 (in 1 blocks)</br>
to correct the error
The amount of storage space (in bytes) filled at termination time was:</p>
Roll area...................... 7219584</br>
Extended memory (EM)........... 2002781760</br>
Assigned memory (HEAP)......... 2000061360</br>
Short area..................... " "</br>
Paging area.................... 122880</br>
Maximum address space.......... 4294967295</br>
If the error occures in a non-modified SAP program, you may be able to
find an interim solution in an SAP Note.</br>
If you have access to SAP Notes, carry out a search with the following
keywords:</br>
"TSV_TNEW_PAGE_ALLOC_FAILED" " "
"SAPLSCMS_R3DB" or "LSCMS_R3DBF01"
"DB_PACK"
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)".</br>
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)".</br>
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".</br>
4. Details about the conditions under which the error occurred or which
actions and input led to the error.</br>
Memory consumption</br>
Roll.... 7219584</br>
EM...... 2002781760</br>
Heap.... 2000061360</br>
Page.... 122880</br>
MM Used. 3960623456</br>
MM Free. 40162736</p>
I've got a customer message message open on this but I've got more back from you guys then that message. Thanks for the info.
Edited by: Ryan Cossette on Sep 1, 2010 4:45 PM
Can you say the transaction or report where you see this error ? If this are ERP system the 4 GB of memory for internal table will be enougth at all .... From your last post if i understannd you have set up the 46,133,248 KB extendent memory and max used are 39,948,288 KB , this is are not good ... In any case forget about ztta/roll_area this parameter are in bytes and hold's only initial user context. If you have much memory (200 Gb is good ) you can easly increase the
abap/heap_area_total but as you can see from dump your program used only 2 GB from this 3.5GB ,because you not change the abap/heap_area_dia and abap/heap_area_nondia .
But in your case first of all (using debugger or other method's) need to find why this program try's to allocate the 4GB from memory .... Regards.
Hello,
To deal with this ABAP dump, you need to ask your dev team to tune the report or query that is being executed. If that's not possible only then should you increase parameters related to memory.
Also,
you have increased heap total, however this will not have any effect if your heap_dia and heap_non_dia are still setup with the same value.
The dump says that the work process used up Extended memory quota ~ 2G as well as the heap ~ 2G, so my suggestion is, use the parameter ztta_roll_extension (EM memory quota) to 3GB, heap is private memory, once used up is unavailable for other processes till the process is restarted so avoid using it and maintain it at 2GB.
If you are increasing ztta_roll_extension, please note that you may need to increase the em/initial_size_MB accordingly to ensure the total Extended memory bracket is also increased accordingly.
Hope that helps.
Regards,
Siddhesh
Edited by: Siddhesh Ghag on Sep 17, 2010 3:50 PM
Too many things were going on within the system, OS, and business to be able to pin point this issue we had. We ended up taking the changes away from the system but the issues continued. I can see how these changes would make the system slow but it doesn't look like it was the case this time.
We verified our parameters with notes 3223 and 384971.
The other large change we made was to increase the size of our sql packages; we doubled the size.
Thanks for the suggestions.
ztta/roll_area
are you think this parameter can help you ?
You say about abap dump's but where is ? Wery little information from you ... Need more complex analyse in your case ...
What do you see at OS level, try to check it in ST06N t-code (top 40 CPU, free memory, and other).
Regards.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You should check how much memory have available to the operation system.
As you have increase the heap memory, the SAP is allocating more memory from the operation system.
Are you facing 'slowness' only from SAP side or from operation system side too?
Clébio
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.