cancel
Showing results for 
Search instead for 
Did you mean: 

DIA work processes in PRIV status

Former Member
0 Kudos

Hello,

I understand that DIA work processes going in PRIV mode indicates memory issues and we need to work on setting up memory parameters. However, my question here is that it was working fine till yesterday and since today morning all or most DIA work processes are going in PRIV mode. Even when DIA work processes if freed up and occupied by new user only for 20 seconds then also it goes in PRIV status.

Can anyone please assist on what could be the main reason for this sudden behavior for one of the app server? I will work on setting up memory parameters in parallel.

2DIA242158On HoldPRIVYes711RFITEMAR3001673
3DIA622850On HoldPRIVYes11RM06EN003001019
4DIA794938On HoldPRIVYes289SAPMV45A3001080
5DIA549146On HoldPRIVYes1178SAPLMIGO3005353
8DIA639392On HoldPRIVYes789RFITEMAP3004044
9DIA364980On HoldPRIVYes103SAPLSMTR_NAVIGATION3005393
12DIA569660WaitingYes2
14DIA311694On HoldPRIVYes591SAPMF05L3001982
15DIA680358RunningYes1SAPLZSD_RFC_CUST300CDISequential ReadVBAK
16DIA250170On HoldPRIVYes7SAPMV45A3003054
17DIA659714WaitingYes
18DIA856380RunningYesSAPLCNPB_W300KUPEKARDirect ReadPRPS
19DIA929894RunningYes8129ZFI_CONTRACT_TRACKER23005393
21DIA844172On HoldPRIVYes483SAPLSMTR_NAVIGATION300648
23DIA455014RunningYes128CL_SALV_BS_TT_MHTML===========CP3001068
25DIA237984RunningYes119SAPLFAGL_ITEMS_SELECT3002213Sequential ReadBSIS
26DIA315758RunningYes1174SAPLCNACL300464Sequential ReadPSACL_TAB
28DIA758094On HoldPRIVYes151SAPMF05L3005130
29DIA573642RunningYesSAPLTHFB300BASIS
38DIA307638RunningYes119/1BCDWB/SAPLSF000000753003730Sequential ReadESLH
40DIA524580On HoldPRIVYes545RM_MEPO_GUI3005557
41DIA602446On HoldPRIVYes466RM_MEPO_GUI3005665

Regards,

NK

Accepted Solutions (0)

Answers (2)

Answers (2)

former_member188883
Active Contributor
0 Kudos

Hi Nitin,

How much RAM is configured in your application server above ?

Regards,

Deepak Kori

Former Member
0 Kudos

Online memory is 22400 MB

Sriram2009
Active Contributor
Former Member
0 Kudos

Hi,

Give us the parameters of the instance profile.

Regards.

Karthik.R

Former Member
0 Kudos

There are lot of parameters in instance profile. Please let me know which parameter value is meaningful for you and I will paste the details for the same here.

Regards,

NK

Former Member
0 Kudos

Hi,

Parameters related to memory and wp is needed.

If possible paste the dev_w* logs also.

Regards,

Karthik.R

former_member188883
Active Contributor
0 Kudos

Hi Nitin,

For 22GB RAM you have configured 42 work processes. This could be one of the reasons system is running short of memory.

In SM04 -> Goto --> Memory

check what is the current consumption of each work process.

You may reduce the work process to 25 and check the results.

Also you may control the number of work processes which enter PRIV mode using the parameters

rdisp/wppriv_max_no and

rdisp/max_priv_time

Hope this helps.

Regards,

Deepak Kori

Former Member
0 Kudos

Thanks Deepak. On what basis you calculated that 42 work processes count is high for 22 GB RAM as I was informed that 1GB RAM can support upto 4 work processes. Do we have standard calculation per GB RAM?

Regards,

NK

former_member188883
Active Contributor
0 Kudos

Hi Nitin,

 I was informed that 1GB RAM can support upto 4 work processes. Do we have standard calculation per GB RAM?

Ideal case 1GB RAM can support 4 work processes . Even in your system you have 42 work processes configured on 22GB RAM. Its not the problem with how many processes are supported with x-number of RAM. But whether your system has enough free memory to process the request.

Each work process in the system will occupy and block certain amount of RAM when SAP starts.

This will reduce the Memory requirement for any other work process.

My suggestion is to reduce the number of work process to release some memory to the system for processing.

Second action would be to analyse which are the tables being access due to which WP is going to PRIV. Ideally when a table is buffered , have complex queries running on them will lead the WP enter PRIV mode as it needs to allocate memory from the buffer.

Hope this helps.

Regards,

Deepak Kori

Former Member
0 Kudos

Makes perfect sense. I did quick check on the total RAM consumed in SM04 for that app server. SM04 shows consumption of 5500 MB out of total 22400 MB RAM allocated of that lpar. Any inputs?

Secondly, there is no particular table being troublesome, it is the problem with all tables/program overall. However, there are 7 long running jobs since 2 days on that app servers and I feel they are occupying a lot of system resources/memory and hence causing rest DIA work processes to cry for memory and going in PRIV mode. Please correct me if my understanding is wrong?

Regards,

NK

former_member188883
Active Contributor
0 Kudos

Hi Nitin,

However, there are 7 long running jobs since 2 days on that app servers and I feel they are occupying a lot of system resources/memory and hence causing rest DIA work processes to cry for memory and going in PRIV mode. Please correct me if my understanding is wrong?

Above is one of the reasons for WPs going into PRIV mode.

You may check with respective job owners whether these jobs can be deleted. Post that check system behaviour.

Regards,

Deepak Kori

Former Member
0 Kudos

abap/use_paging                             0

ztta/roll_first                             1024

ztta/roll_area                              6500352

rdisp/ROLL_SHM                              31488

rdisp/ROLL_MAXFS                            250000

rdisp/PG_SHM                                32768

rdisp/PG_MAXFS                              250112

abap/heap_area_dia                          3001024512

abap/heap_area_nondia                       4000317440

abap/heap_area_total                        4000317440

abap/heaplimit                              40894464

abap/swap_reserve                           20971520

ztta/roll_extension                         4000683008

em/initial_size_MB                          8192

em/blocksize_KB                             4096

em/stat_log_size_MB                         20

em/stat_log_timeout                         0

Regards,

NK

Former Member
0 Kudos

Struggling to get the approval to kill those jobs since morning.

Thanks!!

Regards,

NK

Former Member
0 Kudos

Hi,

Run the sappfpar check pf=<profile> and the paste the output here.

regards,

Karthik.R

Former Member
0 Kudos

There are no errors when running sappfpar check pf=<profile>

Regards,

NK

Former Member
0 Kudos

Just for your information

After cancelling those jobs everything was normal and DIA work processes started working normal without going in PRIV mode as memory resources were released by cancelling those jobs.

Regards,

NK