cancel
Showing results for 
Search instead for 
Did you mean: 

too many PRIV processes

albert_vivesleal
Explorer
0 Kudos

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.

Accepted Solutions (1)

Accepted Solutions (1)

IanSegobio
Advisor
Advisor
0 Kudos

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.


Answers (7)

Answers (7)

former_member45419
Active Contributor
0 Kudos
albert_vivesleal
Explorer
0 Kudos

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.

Reagan
Advisor
Advisor
0 Kudos

Run sappfpar against the instance profile and check the memory requirement.

If the kernel version is old then update the kernel.

Check what transactions are causing this problem. If these are non standard programs then get them tuned.

Regards

RB

Former Member
0 Kudos

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


albert_vivesleal
Explorer
0 Kudos

The kernel I use is 700 64 bit non-unicode on an Itanium HP-UX server.

Patched 333 level. Maybe older patch but ... it works now.

Do you think I have to upgrade to last level of patch ?

Thank you.

Albe

Reagan
Advisor
Advisor
0 Kudos

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

Former Member
0 Kudos

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

Sriram2009
Active Contributor
Reagan
Advisor
Advisor
0 Kudos

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

Reagan
Advisor
Advisor
0 Kudos

Additionally make sure that the em/initial_size_MB parameter value has a higher value when you increase the ztta/roll_extension

Regards

RB

Former Member
0 Kudos

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

ashish_vikas
Active Contributor
0 Kudos

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

Former Member
0 Kudos

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