on 11-07-2013 12:24 PM
A month ago I have started to see too many PRIV processes in SM50.
I have only R/3 with Oracle 10.2 ECC 6.0 in an HP-UX with 16Gb RAM.
Why the performance started to worsen ?
Is it possible I have to increase one of these parameters ?
Or maybe there is something wrong in them ?
abap/heap_area_dia = 4000000000
abap/heap_area_nondia = 4000000000
abap/heap_area_total = 8000000000
abap/heaplimit = 20000000
abap/buffersize = 500000
em/initial_size_MB = 1200
em/stat_log_size_MB = 20
em/stat_log_timeout = 600
rdisp/PG_SHM = 8192
rdisp/ROLL_SHM = 16384
rdisp/ROLL_MAXFS = 32768
rdisp/PG_MAXFS = 32768
rtbb/buffer_length = 30000
rtbb/max_tables = 800
sap/bufdir_entries = 7500
zcsa/db_max_buftab = 10000
zcsa/presentation_buffer_area = 3000
zcsa/table_buffer_area = 50000000
ztta/roll_first = 1
ztta/roll_area = 6500000
ztta/roll_extension = 500000000
ztta/parameter_area = 8000
I would like very much to thank you for your help.
Albe.
Hello Albe,
As mentioned by Reagan, a DIA workprocess will start to use HEAP memory as soon as it's EXTENDED MEMORY quota (ztta/roll_extension) is depleted. Then, it will use HEAP until abap/heap_area_dia is depleted.
Once it starts to use HEAP memory, work process enters PRIV mode because the allocated memory will be released only when it restarts, this after it's task is done.
Your current configuration for HEAP is very good:
abap/heap_area_dia = 4000000000
abap/heap_area_nondia = 4000000000
abap/heap_area_total = 8000000000
Your settings for EM though are undersized and need correction, therefore you'll have many PRIVs:
ztta/roll_extension = 500000000 <-- Undersized. SAP reccomends 2gb minimum. (current 500Mb)
em/initial_size_MB = 1200 <-- Undersized. SAP reccomends 2gb minimum (4Gb even better)
Cheers,
Ian Segóbio.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Albert,
This document will help you to increase the
http://levelx.me/blog/wp-content/uploads/2010/11/SAP-Memory-Management-Collection-by-st4rcH1LD.pdf
http://help.sap.com/saphelp_nw2004s/helpdata/en/7a/caa6f3bfdb11d188b30000e83539c3/content.htm
Regard
Nayeem
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Dear all;
I have increased ztta/roll_extension = 2Gb and em/initial_size_MB = 4092 and the problem still exists.
PRIV processes still happening but I would like very much to thank you for your help.
Now I am not sure to insert the rdisp/wppriv_max_no and rdisp/max_priv_time parameters.
Albe.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi,
Please read the below blog what is the use of the below parameter rdisp/wppriv_max_no and rdisp/max_priv_time.
http://help.sap.com/saphelp_nw2004s/helpdata/en/7a/caa6f3bfdb11d188b30000e83539c3/content.htm
If a dialog work process has used up the roll area assigned to it and the extended memory, private memory is assigned to the work process. The work process goes into PRIV mode (private).
So go ion St02 and see how much memory you see in the for roll and extended memory. Which memory has exosted try to increase the roll and extended memory to 6 and to 8.
Then go in SM04 --> Goto ----> Memory and see which user is reserving the more memory.
What is the kernel you are using.
Do you see issues in other system or only this system.
Thanks
Rishi Abrol
The kernel version 700 has been out of maintenance for more than a year now.
I suggest you to update the kernel to 720 and see whether that helps.
Also you need to find out what transactions are getting into the PRIV mode.
If the custom transactions are only getting into the PRIV mode then the problem is with those programs. So the programs should be optimized to run on the system.
If this is happening with all the programs (including the standard ones) then you should check memory utilization from the OS level and also from SAP and then tune the parameters accordingly.
Unfortunately I don't have the visibility to see how the system memory is utilized from the OS level and from SAP in such a situation.
If you are planning to do a kernel upgrade (which I believe is very important) then follow these SAP notes.
1629598 - SAP Kernel 720 will replace older kernel versions
1636252 - Installing a 7.20 kernel in SAP Web AS 7.00/7.01/7.10/7.11
Lastly, even if you raise an OSS message SAP will ask you to perform a kernel upgrade before they continue with the support.
The basic thing which should be checked is whether the system configuration (including the ulimits for the OS users) are properly set.
You should also check whether the paging size is set according to the recommended size.
Regards
RB
Hi,
You can change it to 720 kernel but if the issue is due to less memory you will still have it.
So try to adjust the parameters and see how it goes.
When this problem start was it after the upgrade of kernel or some new project went live.
Below are the notes for the kernel upgrade to 720_EXT
Note 1636252 - Installing a 7.20 kernel in SAP Web AS 7.00/7.01/7.10/7.11 |
Note 1866499 - 7.20_EXT / 7.21_EXT Kernel - Only 64-bit support |
Thanks
Rishi Abrol
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hello
ztta/roll_extension = 500000000
The extended memory configured on the system is not according to the recommendations.
I believe you know when a work process gets into a PRIV mode.
http://help.sap.com/saphelp_nwpi71/helpdata/en/7a/caa6f3bfdb11d188b30000e83539c3/content.htm
First configure the ztta/roll_extension to a suggested value
Check this SAP note
146289 - Parameter Recommendations for 64-Bit SAP Kernel
Regards
RB
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Albe,
Check with customer on what they are trying to RUN.
So you will get an idea on whats causing these PRIV mode.
later you can think of adaption suggestions made by ashish above on
rdisp/wppriv_max_no and rdisp/max_priv_time
Then go for checking the memory defined for different parameters.
Regards,
Ravi
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Also you can use parameters rdisp/wppriv_max_no and rdisp/max_priv_time
http://help.sap.com/saphelp_nw2004s/helpdata/en/7a/caa6f3bfdb11d188b30000e83539c3/content.htm
best regards
ashish
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi,
I thing you have missed one 0 in this.
em/initial_size_MB = 1200
This is 1.2 gb not 12 gb.
Thanks
Rishi Abrol
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
87 | |
10 | |
10 | |
9 | |
7 | |
6 | |
6 | |
5 | |
4 | |
3 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.