Skip to Content
avatar image
Former Member

Processes running in Priv mode and memory is available

I can see that processes for different users executing trivial tasks are entering PRIV mode (AIX, DB2)

I found the below values from the system..

Paging

Page Space      Physical Volume   Volume Group Size %Used Active  Auto  Type Chksum
paging00        hdisk1            rootvg        7168MB     1   yes   yes    lv     0
hd6             hdisk0            rootvg       10752MB     1   yes   yes    lv     0

Total Paging Space   Percent Used
      17920MB               1%

Process LEVEL

SM50 - Process
No Ty. PID      Status  Reasn Start Err Sem CPU      Time   Cl. User
0  DIA 10223810 On Hold PRIV  Yes   1       0:03       1336 100 SomeUser

Report / Spool action
SAPLS_IMG_TOOL_5

Roles / Memory                   Number              Time (usec)

Roll In                       237,568                   1
Roll Out                        1,823                   1
Roll                            4,352  (Bytes)
Page                        6,340,608  (Bytes)
Memory (Total)                                      0  (Bytes)
Memory(Total Private)                               0  (Bytes)
Memory (used)                                       0  (Bytes)
Memory (Max. Transaction)                           0  (Bytes)
Memory (Max. Dialog Step)               2,147,483,648- (Bytes)

Its only using Roll Memory of 4MB, Whereas a lot more is available. Also, Private memory is showing 0 bytes, but the process is in Priv mode.

Parameters (RZ11)

parameter.........................Min.......... MAX..............CURRENT
ztta/roll_area	bytes	1000000	             100000000	                  6500000
ztta/roll_first	bytes	1	                     2000000	                    1
ztta/roll_extension	20000000             64000000000                400000000
ztta/roll_extension_dia	20000000	     64000000000	           400000000
abap/heap_area_dia	0	                     64000000000	           4000000000
abap/heap_area_total	20000000	     64000000000	            8000000000
abap/heaplimit   	10000000	      2000000000                  40000000
em/initial_size_MB	128	                       64000	                      512

ST02

Roll memory     Dialog session   kB     6,348
                Nondialog sess.  kB     6,348
                Available        kB 2,000,000
                in shared memory kB   131,072
                on disk          kB 1,868,928
                Used             kB     7,968
                Maximum used     kB    35,688
Paging memory   Session buffer   kB     1,200
                Available        kB 2,000,000
                in shared memory kB    65,536
                on disk          kB 1,934,464
                Used             kB     2,236
                Maximum used     kB     5,400
Extended memory Dialog session   kB   390,625
                Nondialog sess.  kB   390,625
                Available        kB   520,192
                Used             kB   245,760
                Maximum used     kB   520,192
Heap memory     Dialog session   kB 3,906,250
                Nondialog sess.  kB 3,906,250
                Used             kB    11,285
                Maximum used     kB   805,454

There is something wrong here with extended memory... but there is enough allocated > 590 MB... Is there something more I should check for ?

Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

3 Answers

  • Dec 21, 2011 at 10:36 AM

    Hi,

    work process enters into the Priv mode when the Extended memory get used completely, look out the below(Maximum used), in your case the Em memory once get used completely, this is what you are getting the wp are in priv mode

    Extended memory Dialog session   kB   390,625
                    Nondialog sess.  kB   390,625
                    Available        kB   520,192
                    Used             kB   245,760
                    Maximum used     kB   520,192

    this can be lot of reason, but to avoid this, you can increase the em/initial_size_MB value, and do check the other parameters like abap/heaplimit.

    And we can restrict this priv mode by setting the rdisp/wppriv_max_no and rdisp/max_priv_time too.

    Please check and update.

    Thanks.

    Jansi

    Add comment
    10|10000 characters needed characters exceeded

  • avatar image
    Former Member
    Dec 21, 2011 at 02:18 PM

    Hello,

    PRIV Mode: 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).

    Following link can provide remedy to your problem.

    http://help.sap.com/saphelp_nw70/helpdata/en/7a/caa6f3bfdb11d188b30000e83539c3/content.htm

    Thanks,

    Siva Kumar

    Add comment
    10|10000 characters needed characters exceeded

  • avatar image
    Former Member
    Dec 28, 2011 at 05:50 AM

    Default values of ext memory were increased.

    Add comment
    10|10000 characters needed characters exceeded