Extended memory 50% free,but work process reach PRIV
hi,
many dialog work process reach PRIV mode though extended memory is 50% free.
profile parameters as below :
ztta/roll_first 1 MB
ztta/roll_extension 2GB
ztta/roll_area 6MB
abap/heap_area_dia 2GB
can anyone throw light ?
Hi Krishna,
In addition to the parameter you have mentioned check these parameter as well in the system.
A process going into PRIV means that either it has exhausted its quota of extended memory (ztta/roll_extension) or that the total extended memory (em/initial_size_MB) has been used up by other sessions.So increase these 2 parameter to start with and then tune others.
rdisp/ROLL_SHM 32768 8 kB Part of roll file in shared memory
rdisp/PG_SHM 16384 8 kB Part of paging file in shared memory
rdisp/PG_LOCAL 150 8 kB Paging buffer per workprocess
em/initial_size_MB 61440 MB Initial size of extended memory
em/blocksize_KB 4096 kB Size of one extended memory block
em/address_space_MB 4096 MB Address space reserved for ext. mem. (NT only)
ztta/roll_extension 2000000000 Byte Max. extended mem. per session (external mode)
abap/heap_area_total 64424500000 Byte Max. usable heap memory
abap/heaplimit 40000000 Byte Workprocess restart limit of heap memory
Also,consider setting rdisp/wppriv_max_no and rdisp/max_priv_time,so that system performance is not much impacted.
http://help.sap.com/saphelp_nw04/helpdata/en/7a/caa6f3bfdb11d188b30000e83539c3/content.htm
Regards,
Ashutosh
Similar Messages
-
Hi All,
how to check statistics of free background work process in the system.
Regards,
MKHello Manikandan,
RZ20 has a monitor for this under
RZ20 --> SAP CCMS Monitor Templates
--> Background Processing
--> System Wide
--> Background
--> BackgroundService
--> SystemWideFreeBPWP
If you need statistics for a longer time period you can activate collection of data for this MTE in CPH.
Regards,
Alwina -
Stop DIA work process with PRIV mode.
Hi,
How to stop DIA workprocess with PRIV mode. by searching notes, I find it is possible to setl the max time and max number of the private memory.
Kind regards,
MasaakiHello Masaaki,
Before deciding whether to wait for the process to finish by itself or not, i would suggest that you find out the program which is causing the work process to go into PRIV mode. Once this is done, as your technical guys (ABAP) to analyse why this is happening (is the program logic inefficient and hence using so much memory etc).
You have to note that (Dialog) work processes going into PRIV mode is not a healthy sign for the SAP application server.
This is beacuse once the WP goes into PRIV mode it is not available to any other transactions, and we only have a limited number of work processes.
Please make sure the parameters below are defined in RZ10 instance profile:
rdisp/max_priv_time - used to define the maximum time that a work process can remain in PRIV mode. (After this the work processes is terminated and restarted). This is reasonable because beyond the time limit set, it is imperative to assume that the program using the work process is in efficient. (in case a program really needs that much time, it needs to be scheduled as a background job).
rdisp/wppriv_max_no- this parameter defines the maximum number of work processes that can be in PRIV mode. Very useful.
Also, make sure that a parameter ABAP/heaplimit is defined. This ensures that if a program eats up a certain amount of heap memory, the work process being used can be terminated.
And finally please do check if your extended memory allocation is not big enough. the parameter em/initial_size_mb defines the fixed size of extended memory. Increasing this size only if you find that a lot of processes are frequently going into PRIV mode.
Hope this helps.
Regards,
Prashant -
Stop DIA work process with PRIV mode in my program
Hello,
I write Program that display in the end an alv report and when i display it after same time my dia wp get in PRIV mode
I search about it and I didn't find the solution but it happend only with my program this reject the memory parameter that cause the problem
Thanks for your helpHi,
>I think this not the problem because in the dev and the qa system it won't get in priv thanks
>mode and the have the same value in the parameter ztta/roll_extension and the qa is the copy of the prod but 3 month old
And these 3 months difference can perfectly explain why you have the problemn on production and not on QA.
Private modes are generated usually because of badly designed programs (including standard ones...).
ALV is not designed to display a huge amoiunt of data.
Beware also of internal tables : Abap programmer usually abuse internal tables thinking memory is an unlmimited ressource...
Just a few ideas.
Regards,
Olivier -
hi,
What is the complete process for job work process,when we are receiving the material for job work processs.
Regards
prabudhBackground jobs run in a special type of work processthe background work processthat is different from dialog work processes in two ways:
1. A dialog work process has a run-time limit that prevents users from interactively running especially long reports. that limit is always in effect for dialog work processes. No such limit applies to background work processes.
2. Background work processes allocate memory differently than dialog work processes so that background work processes can become as large as they need to in allocated memory to allow for processing large volumes of data.
<b>Use</b>
Using background work processes also lets you optimize both background or dialog processing. In night mode, more servers can offer more work processes to accommodate background processing jobs that are scheduled to run when there are lower numbers of interactive users. In day mode, you could limit background processing to fewer servers and/or fewer background work processes.
When a time-driven scheduler is activated, it starts the jobs for which it has free work processes. If there is another background processing server, then the scheduler on that server starts the remaining jobs for which it has capacity, and so on.
<b>PROCESS</b>
Assigning the program to the variant in T/C SE38
Enter the Program,
Enter Variant Radio Button ON,
Name the Variant
Assigning the varient job to its importancy & Frequency in T/C SE36
Enter Variant Job Name -- Save,
Class--- Save ,
Period Values---Save
Executing the Varient Jobs in T/C SM37
Enter The Jobname --- Execute
Hope This Works For you..Reward if its helpful
Regards,
Rajasekaran. -
Work process in running status from Long time
Hi all,
In my production system Workprocess is in runnig staus almost from 44 hours.
i tried to end session of user but it not ending.
i tried to kill work process from sm50 end work process and from os(unix) kill -9 pid every thing i tried but work process is in still running
please give some ideas to clear this
Thanks,
Shashi
Edited by: shashikiran.ss on Oct 11, 2010 1:23 PMHi Juan,
yes from sm50 i have done cancel without core. no jobs are running or sheduled with that user. but work process status is in running with program J_1IREGS no action is taking place.
Restarting box not possible right now.
Regards
Shashi -
Several Disp work process runing and consuming Memory
Hi Folks,
We see some sluggish response from the SAP production system.Looking at the server, there is a high rate of paging going on with several of the disp+work.exe instances with sapservice<sid> user. I did not find any background jobs in active state and also there are enough free work processes. Checked in DPMON aswell.
We have recently updated all support patches in system. also i see some problem with SAPOSCOLL. At os level service seems to be running but when i check in os06 transaction status shows as "not running - process ID not found". Please suggest.
is it normal behaviour that i found total 14 disp work.exe are runing by sapservice<SID> and occupied around 3.7 GB of memory. we have total 6 -dia,2 -Upd,3-bacground,2-spo processes configured. But when i logged in other servers. I didn't find any disp work.exe 's runing in task manager.
Thanks & Regards,
VinodHi Juan,
Thanks for your prompt response.
I see message as " OSCOLL not running (process ID not found). . I did not change any permissions during kernel upgrade.I see saposcol service is running with user "<SID>ADM user. Below is log message.
As i said earlier i checked in processes tab in task manager but i did not find like 14 disp+work.exe processes are running with SAPservice <SID> user. Please suggest.
OSCOLL Log:
HWO description
SAPOSCOL version COLL 20.90 700 - 20.54 NT 06/06/06, 64 bit, multithreaded, Non-Unicode
compiled at Oct 12 2006
systemid 562 (PC with Windows NT)
relno 7000
patch text COLL 20.90 700 - 20.54 NT 06/06/06
patchno 80
intno 20050900
running on NEWLOTS Windows NT 5.2 3790 Service Pack 2 4x AMD64 Level 6 (Mod 15 Step 6)
23:13:07 22.02.2010 LOG: Profile : no profile used
23:13:07 22.02.2010 LOG: Saposcol Version : [COLL 20.90 700 - 20.54 NT 06/06/06]
23:13:07 22.02.2010 LOG: Working directory : E:\usr\sap\PRFCLOG
23:13:07 22.02.2010 LOG: Allocate Counter Buffer [10000 Bytes]
23:13:07 22.02.2010 LOG: Allocate Instance Buffer [10000 Bytes]
23:13:07 22.02.2010 LOG: You can ignore :"Index of Title:[Disk Queue Length] not found" on Windows NT 4.0
23:13:07 22.02.2010 LOG: You can ignore :"Index of Title:[Disk Queue Length] not found" on Windows NT 4.0
23:13:07 22.02.2010 LOG: You can ignore :"Index of Title:[Disk Queue Length] not found" on Windows NT 4.0
23:13:07 22.02.2010 LOG: You can ignore :"Index of Title:[Disk Queue Length] not found" on Windows NT 4.0
23:13:07 22.02.2010 LOG: You can ignore :"Index of Title:[Disk Queue Length] not found" on Windows NT 4.0
23:13:07 22.02.2010 LOG: You can ignore :"Index of Title:[Disk Queue Length] not found" on Windows NT 4.0
23:13:07 22.02.2010 LOG: You can ignore :"Index of Title:[Disk Queue Length] not found" on Windows NT 4.0
23:13:07 22.02.2010 LOG: You can ignore :"Index of Title:[Disk Queue Length] not found" on Windows NT 4.0
23:13:07 22.02.2010 LOG: You can ignore :"Index of Title:[Disk Queue Length] not found" on Windows NT 4.0
23:13:07 22.02.2010 LOG: You can ignore :"Index of Title:[Disk Queue Length] not found" on Windows NT 4.0 23:13:08 22.02.2010 LOG: Shared Memory Size: 77198.
23:13:08 22.02.2010 LOG: Shared Memory was created by process:13288
23:13:11 22.02.2010 LOG: Collector daemon started
23:13:11 22.02.2010 LOG: read coll.put Mon Feb 22 23:01:24 2010
23:13:11 22.02.2010 LOG: Collector PID: 13288
23:13:21 22.02.2010 LOG: Process Monitoring active.
23:13:21 22.02.2010 LOG: searching for Process Monitoring Templates in E:\usr\sap\PRFCLOG\dev_proc
23:13:21 22.02.2010 LOG: searching for Process Monitoring Templates in E:\usr\sap\PRFCLOG\procmon\
23:13:21 22.02.2010 LOG: The following processes will be monitored:
Collector Versions
running COLL 20.90 700 - 20.54 NT 06/06/06
dialog COLL 20.95 700 - 20.68 NT 09/03/27
Shared Memory attached
Number of records 725
Active Flag active (01)
Operating System Windows NT 5.2.3790 SP 2 4x AMD64 Level 6
Collector PID 13288 (000033E8)
OpenProcess failed, lasterror 5
Collector not running (process ID not found).
Start time coll. Mon Feb 22 23:13:11 2010
Current Time Tue Feb 23 14:59:51 2010
Last write access Tue Feb 23 14:59:42 2010
Last Read Access Tue Feb 23 14:58:46 2010
Collection Interval 10 sec (next delay).
Collection Interval 10 sec (last ).
Status free
Collect Details required
Refresh required
Header Extention Structure
Number of x-header Records 1
Number of Communication Records 60
Number of free Com. Records 60
Resulting offset to 1.data rec. 61
Trace level 2
Collector in IDLE - mode ? NO
become idle after 300 sec without read access.
Length of Idle Interval 60 sec
Length of norm.Interval 10 sec
Thanks in advance for any suggessions.
Regards,
Vinod -
Solaris process memory usage increase but not forever
On Solaris 10 I have a multithreaded process with a strange behaviour. It manages complicated C++ structures (RWTVal or RWPtr). These structures are built from data stored in a database (using Pro*C). Each hour the process looks for new informacion in database, builds new structures on memory and it frees older data. But, each time it repeats this procedure, the process memory usage increases several MB (12/16MB). Process's memory usage starts from 100M until near 1,4G. Just to this point, it seems the process has memory leaks. But the strange behaviour is that after this point, the process stops to continue growing up anymore. When I try to look for memory leaks (using Purify tool) the process doesn't grow up and no significant leaks were showed. Did anyone found a similar behaviour or can explain what could be happening?
markza wrote:
Hi, thanks for responding
Ja, i guess thats possible, but to do it all one row by row seems ridiculous, and it'll be so time consuming and sluggish surely. I mean, for a months worth of data (which is realistic) thats 44640 individual queries. If push comes to shove, then I'll have to try that for sure.
You can see by the example that I'm saving it to a text file, in csv format. So it needs to be a string array, a cluster won't be of much help I dont think.
The only other way I can think of is to break it up into more manageable chunks...maybe pull each column separately in a for loop and build up a 2D array like that until the spreadsheet storing.
You only do 1 query, but instead of Fetching All (as the Select does) you'll use the cursor to step through the data.
You can use Format to String or Write Spreadsheet fire with doubles.
You can break it down to get the data day by day instead of a full month at once.
/Y
LabVIEW 8.2 - 2014
"Only dead fish swim downstream" - "My life for Kudos!" - "Dumb people repeat old mistakes - smart ones create new ones."
G# - Free award winning reference based OOP for LV -
Internal Memory of the Work Process
Hi Gurus,
wat will be stored in the internal memory area that is available exclusively to the work process.
I know that the memory area that can be accessed by all the work process stores programs,table buffers,
user context and possible the roll file.
But here im asking about the memory area that is available exclusively to a workprocess.
Cheers,
Abdul HakimResolved
-
Bought iPhone as "SIM-Free", but it not work with my local SIM card
I have bought iPhone Serial No: 82108W75A4T in Canada as "SIM-Free", but it not work with my local SIM (Orange in Israel) card. Where to check: it is or not Factory Unlocked or have any hardware/software problems or have carrier ("adhered" any phone company)
In the local Orange: They tried with them SIM, the same negative result.
I have addressed to Canadien phone wireless carriers.
From some [Rogers'] has already received the answer:
... have checked our system and did not find your iPhone listed... Please contact Apple... -
Background Job Hanged but no work process assigned
Hi,
Background job has hanged When i see in SM37. But no work process assigned to this job. All work process are waiting status.
What could be the reason. What is the resolution process.
Thanks,
DayakarHow did you come to a conclusion that the bg job is hangend.
What is the status of the job. ? I guess Job defined, but not yet eligible to run even if the start condition has been fulfilled so it should be in Scheduled status. -
Hello,
BPEL process fails in SOA (in UNIX), but works fine in SOA (in Windows) environment
Step 1: Build a asynchronous BPEL process which has no extra node. Make and deploy it in 'local windows desktop SOA' server
The BPEL process has three nodes:
a. client - on the left side of the swim lane
b. receiveInput - first node in swim lane (client calls 'receiveInput')
c. callbackClient - second and last node in the swim lane ('callbackClient' calls client)
Step 2: Go to BPEL console and 'Initiate' the BPEL process -> 'Post XML Message'
Step 3: Now, I can see the successfully completed BPEL instance in the BPEL console.
Now,
Step 4: Deploy the same BPEL process (dummy asynchronous) in the SOA server (hosted in unix box)
Step 5: Go to BPEL console and 'Initiate' the BPEL process -> 'Post XML Message'
Step 6: I find that the BPEL instance appears to have ended in error (on the second node i.e. callbackClient )
With the following error message
+<invalidVariables xmlns="http://schemas.oracle.com/bpel/extension"><part name="code"><code>9710</code>+
+</part><part name="summary"><summary>Invalid xml document.+
According to the xml schemas, the xml document is invalid. The reason is: Error::cvc-complex-type.2.4.b: The content of element 'DummyBPELProcessProcessResponse' is not complete. One of '{"http://xmlns.oracle.com/DummyBPELProcess":result}' is expected.
Please make sure that the xml document is valid against your schemas.
+</summary>+
+</part></invalidVariables>+
Has anyone faced similar issue as above ?
i.e. process works find in windows environment (local SOA), but fails in SOA server in UNIX environment
Appreciate your help in understanding this issue.
Thanks,
SanthoshHello,
The fix to this issue appears to have been as follows:
+<schema attributeFormDefault="unqualified"+
+ elementFormDefault="qualified"+
+ targetNamespace="http://xmlns.oracle.com/DummyBPELProcess"+
+ xmlns="http://www.w3.org/2001/XMLSchema">+
+ <element name="DummyBPELProcessProcessRequest">+
+ <complexType>+
+ <sequence>+
+ <element name="input" type="string"/>+
+ </sequence>+
+ </complexType>+
+ </element>+
+ <element name="DummyBPELProcessProcessResponse">+
+ <complexType>+
+ <sequence>+
+ <element name="*:result*" type="string"/>+
+ </sequence>+
+ </complexType>+
+ </element>+
+</schema>+
In DummyBPELProcess.xsd,
modifiying "result" to ":result" appears to have resolved the issue in SOA under unix environment.
If anyone can explain why "result" works in SOA under windows and ":result" works in SOA under unix environment, I would really appreciate your help.
Thanks,
Santhosh -
My itunes doesn't open but the processes are working in background.
My itunes doesn't open but the processes are working in background. I had already reinstal, change the compabillity mode to Windows 7 and try to open in safe mode and nothing seams to work. Any suggestions? (windows 8)
Hey,
I just forgot to say because I know it will come up that yes i cann see my Ipod when I open up iTunes. It ios jsut that the wrong thing is now being opend up and ti is sort of annoying. -
I dropped my iPod touch 4 generation on my kitchen tile and it shattered, like chunks of the screen are coming off. But everything works and I’ve had it for a 1 ½ years now. I don’t have the extended warranty or anything but can I get it replaced somehow? if anyone knows anything please let me know. thank you!
Depending on the extent of the damage, Apple may replace the iPod for a flat fee; see the Repair Pricing section here:
http://www.apple.com/support/ipod/service/faq/
There are independent iPod repair services that may be able to repair the iPod for less. Do a web search for "ipod repair". Note, though, that if you elect to have the iPod serviced by an unauthorized shop, all further warranty will be void.
Regards. -
Work Process tries to restart but fails - Operating system call fork:restar
Hi
We have a ECC 5.0 system running on v5r4 (6.40 kernel level 159). Some of the work processes fail and then try to restart and fail again. Thus there are many job log entries in both SAP and OS/400.
The OS/400 logs mention the PASE (unix executable environment) and MCH3203.
SAP mentions Operating system call fork:restart
OSS has note #884359 which mentions a palitative but despite being at 6.40 level 159 the parameter profile as/4/wp_max_restart is said to be "unknown" by RZ10.
We are making sure we are up to date with the APAR II14126 just in case this is the issue.
It did start after the time change but we are not sure this is the root cause.
We are also considering getting upto kernel 171.
Anyone else seen this issue?
thanks
Matthew MilneWe see those problems once a while, and usually they are gone when you restart the instance or after an IPL. You should report the problem to IBM, they will probably be interested in the LIC log entries that come along with the error (STRSST - Start a Service Tool - Licensed Internal Code Log). II14126 is probably a good start (for example, MF40759).
The profile parameter as4/wp_max_restart is only known to the kernel, because it is not intended as a permament setting, but only as a temporary workaround for the problem in the PASE environment. That's why RZ11 does not know about the parameter and reports it as unknown.
Kind regards,
Christian Bartels.
Maybe you are looking for
-
Error while opening a standard form in apps11i
while opening a po form POXPOEPO thru form builder, error is showing that some objects are unable to load. how to rectify that can someone help it out
-
REP -1219 :'R_Header has no size ,length or width is zero
Hi, I am getting REP-1219 while trying to run the report as a concurrent program thru Oracle Applications. The format mentioned in the concurrent program is text and style is portrait. In the system parameter mode of the report,the property 'initial
-
Difference in rows of "symmetric" table
Hello dear gurus! SQL> desc t_mirror Name Type Nullable Default Comments ID NUMBER Y USER VARCHAR2(2000) Y USER_1 VARCHAR2(2000) Y the tabl
-
Calculate "remaining period" from key date and end-of-term
Hello BEx fans We are reporting on InfoCube 0CFM_C10, Positions for Position Value Date. http://help.sap.com/saphelp_bw32/helpdata/en/0b/eaf69b46f2304291b9533a15e5fead/frameset.htm As filter variable we have 0CALDAY which is a key date, showing the p
-
Multitouch: available on this machine?
Hi there do u know if on my machine multitouch feature is available? Here's the detail: Hardware Overview: Model Name: MacBook Pro Model Identifier: MacBookPro4,1 Processor Name: Intel Core 2 Duo Processor Speed: 2.4 GHz Number Of Processors: 1 Total