Workprocesses go into PRIV immediately

Our users connect through our intranet and a portal to a SRM backed (among other things). When a user starts a session from the intranet, we can see it using a dialog process at the backend. This dialog process starts in PRIV mode immediately. As a consequence, the process is linked to the user for the duration of the transaction. This happens to more than one user simultaneously, so the available dialog processes are saturated quickly and new sessions started from the intranet are no longer processed.
While executing the transaction at the backend (mostly BBPSC02), we also see processes with status "GUI", when a search of some sort is started. These sessions are not detected by the cleanup mechanism using rdisp/wppriv_max_no and rdisp/max_priv_time.
Has anybody seen this behaviour before?

Our users connect through our intranet and a portal to a SRM backed (among other things). When a user starts a session from the intranet, we can see it using a dialog process at the backend. This dialog process starts in PRIV mode immediately. As a consequence, the process is linked to the user for the duration of the transaction. This happens to more than one user simultaneously, so the available dialog processes are saturated quickly and new sessions started from the intranet are no longer processed.
While executing the transaction at the backend (mostly BBPSC02), we also see processes with status "GUI", when a search of some sort is started. These sessions are not detected by the cleanup mechanism using rdisp/wppriv_max_no and rdisp/max_priv_time.
Has anybody seen this behaviour before?

Similar Messages

  • Dialogue workprocesses going in PRIV mode

    Dear all,
    More than 95% of dialogue work processes are going in PRIV mode
    The extended memory in ST02 is 100% full
    Nobody is able to do nothing
    Below pasted are the values from the instance profile
    ztta/roll_extension                           4000000000
    rdisp/wppriv_max_no                         1
    zcsa/db_max_buftab                          10000
    sap/bufdir_entries                          6000
    rsdb/obj/large_object_size                  16384
    rsdb/obj/max_objects                        4000
    rsdb/obj/buffersize                         8192
    rsdb/ntab/irbdsize                          9000
    rsdb/ntab/ftabsize                          45000
    rsdb/ntab/entrycount                        30000
    rsdb/cua/buffersize                         6000
    abap/buffersize                             600000
    zcsa/presentation_buffer_area               6600000
    zcsa/table_buffer_area                      30000000
    ztta/parameter_area                         8000
    auth/auth_number_in_userbuffer              9000
    Any suggestions?

    Dear all,
    Problem was with the following two parameters: --
    em/initial_size_MB = 512
    em/max_size_MB = 512
    De-activating these 2 parameters in instance profile, solved the problem
    Thank you all
    Would like to add some more here just in case if anyone wants some more details: --
    If a Dialog work process has used its quota of Extended Memory (EM) defined by parameter ztta/roll_extension OR all EM has been used up by all the other work processes (em/initial_size_MB), then the task starts to allocate HEAP up to quota (per work process) of abap/heap_area_dia.(this is PRIV mode).
    To investigate, check out the dev_w* trace file, to check which program cause work process go into PRIV
    Also, follow what Markus has suggested
    You can try to set rdisp/wppriv_max_no to prevent this kind problem.
    Exmaple: If you set it as 5, will limit only 5 work processes go to PRIVmode.
    Please also update your kernel patch to latest version, if you haven't done so.
    See also note: 79435 Automatic resetting from PRIV mode
    Rgds

  • Just made the switch and running into problems immediately

    Been a lifelong PC user and switched to a MacBook Pro with the update yesterday. I got home, charged it up immediately, and went for my initial boot-up.
    First problem, right as I'm finalizing setup and creating my login and password, I get a "you must shut down now" prompt. That's a crash, right? I can't think of any reason for that to happen off the bat except maybe because of the wi-fi connection, since I had just entered my network password.
    Second, I restart and can't find any wi-fi hosts, even though there's several in range. I run network diagnostics, turn AirPort off and on, still nothing. I finally tried rebooting again and now AirPort detects my wi-fi network.
    Had to leave for work so I couldn't fuss around more but should I be worried about my MacBook or its wi-fi? I'm excited about finally having OS X full time but would hate to have ended up with a lemon.
    MacBook Pro Mac OS X (10.4.9)

    First, ensure the problem is still there, since it could be something simple. Second, call AppleCare and notify them of the issue. If they can’t resolve the matter over the phone, then request/demand a Dead On Arrival (DOA) designation, and have them send you a replacement unit. Personally, I would also ask them for some sort of compensation i.e. hardware upgrade, discount, etc. Occasionally, they do this but you typically have to request it politely. Remind them that you’re a “PC switcher”.
    Regards,

  • RE: Workprocess in PRIV mode

    Hi all,
    We are facing problem in SAP. The performance of the system is very low and all the dialog workprocess are entering 'PRIV' mode in 'ONHOLD' state.
    Can you please say me what are the possible reasons for process to enter 'PRIV' mode?
    Thanks in advance
    Regards,
    Sowmya K

    Hi,
    If all the work processes are going in the PRIV mode, it is very possible to be Kernel bug which you can check with SAP.
    Understanding the HEAP memory better, 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).
    In the parameter settings, ensure that not too many dialog work processes are simultaneously in the PRIV mode, since this lowers system performance.
    The other Work Process types (background, update, enqueue and spool work processes) are assigned heap memory after the roll area is used up. Allocating Extended Memory is not useful since no context change occurs for these processes.
    Other processes cannot use private (heap) memory. After releasing the assigned memory, the operating system still considers the (virtual) memory as being occupied by the allocating process. These characteristics of heap memory require that:
    1. The work process can be run in PRIV mode (private) when the local memory is assigned. This means that the work process is reserved for processing the current user context until the context releases the work process again when the request has ended.
    2. The work process, if it has used a lot of private memory, is restarted when the user context is terminated and the local memory is returned. The restart makes the local memory available again for other processes. A restart occurs if a work process uses more local memory than is defined in the parameter abap/heaplimit. The mechanism is displayed again there.
    Automatic Termination of PRIV Mode Processes:
    If too many dialog work processes run in the PRIV mode in an SAP application server, performance problems arise. The normal processing of user inquiries is slowed down by the PRIV mode work processes.
    The SAP System offers a mechanism that lets you terminate non-active dialog processes in the PRIV mode. This mechanism helps reduce performance problems.
    The mechanism works as follows:
    In the PRIV mode, a maximum number (n) of dialog work processes can run without any time restrictions.
    To determine this number n, set the value of the profile parameter rdisp/wppriv_max_no. If a value is not entered, the SAP System determines this number using the following formula:
    the number (n) is set to the greater of the 2 following values:
    Number of dialog work processes minus 5
    1
    If more than (n) dialog work processes are active and the time span set in parameter rdisp/max_priv_time (default 600 seconds) has elapsed, the transaction for that PRIV process, which has spent the longest possible time in PRIV mode, is reset.
    Hope this information helps in sorting out the issue.
    Thanks
    Tanuj
    (*Award point if useful.)

  • How to push deltas immediately into bw

    Dear Friends,
    Due to an upgradation to R3 , we have a requirement to push all the deltas immediately into BW and delete all the setup tables and data in smq1/lbwe, rsa7 etc .once the upgradation is done r3 should be intact with BW and exactly in the shape in which it was. All I need is how to manually push the data from all the deltas into bw immediately , I have few process chains running in bw (released), are they going to get affected , if yes how can I resolve the problem. I have posted this in one more thread but no one could give me a step by step or a detailed note on this
    thanks,
    Prasad

    To clear deltas and trfc queues from R/3 into BW, you will have to execute delta infopackage manually for each datasource you see in RSA7. Also to make delta queues complete 0, you will have to run each infopackage twice. So that repeat of last delta is also cleared.
    You will start this activity once Basis take system down from users so that no new transactions in R/3 will  be posted. And once you do this clearing step, then basis will apply upgrade support pack.
    Your process chain will be fine and nothing will happen to them.
    Abhijit
    Edited by: ABHIJIT TEMBHEKAR on Nov 16, 2008 6:04 PM

  • 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,
    Masaaki

    Hello 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

  • 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

  • Proccesses goes to PRIV mode

    Hi, we have problem with proccesses going to PRIV mode (SAPHTTP), extended memory:
    Roll, extended and heap memory EXTM                                                         
    ztta/roll_area                3000000    Byte  Roll area per workprocess (total)            
    ztta/roll_first               1          Byte  First amount of roll area used in a dialog WP
    ztta/short_area               1600000    Byte  Short area per workprocess                   
    rdisp/ROLL_SHM                16384      8 kB  Part of roll file in shared memory           
    rdisp/PG_SHM                  8192       8 kB  Part of paging file in shared memory         
    rdisp/PG_LOCAL                150        8 kB  Paging buffer per workprocess                
    em/initial_size_MB            4092       MB    Initial size of extended memory              
    em/blocksize_KB               4096       kB    Size of one extended memory block            
    em/address_space_MB           4092       MB    Address space reserved for ext. mem. (NT only)
    ztta/roll_extension           2000000000 Byte  Max. extended mem. per session (external mode)
    abap/heap_area_dia            2000000000 Byte  Max. heap memory for dialog workprocesses    
    abap/heap_area_nondia         2000000000 Byte  Max. heap memory for non-dialog workprocesses
    abap/heap_area_total          2000000000 Byte  Max. usable heap memory                      
    abap/heaplimit                40000000   Byte  Workprocess restart limit of heap memory     
    abap/use_paging               0                Paging for flat tables used (1) or not (0)   
    have You any advice?
    Thanks

    Hi,
    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.
    The parameters look pretty standard, but you must determine the memory usage at the time you see a PRIV process. Do this via SM04 -> Goto -> Memory.
    Another piece of advice: when you ask a question about memory-related issues, please always mention your operating system (Windows, UNIX, Linux, ...), O/S release and SAP release. SAP memory management has quite a few platform dependencies in it.
    Regards,
    Mark

  • How to separate single photos from that have been put into an album

    I always import and categorize my photos into albums immediately. But I've accidentally imported photos without putting them into an album so they don't appear in the 'events' section. They do however appear in the 'all photos' section along with thousands of other photos. Is there a way to separate photos that are already in an album from those that are not yet in one so I can easily see which ones I haven't organized and sort them from there?

    IN Photos?
    File -> New Smart Album
    Album > is not -> Any

  • WP are going to priv mode

    Hi Gurus,
    WP's are going to priv mode. user is not accepting to kill the process or reduce the number of records. what is the best way to do as a basis consultant?
    Thanks in advance.

    Dear Sahad,
    <PRIV> mode will be used if the work process starts to allocate heap - or private,
    thus PRIV - memory. This is not necessarily a bad thing. There are two scenarios
    that may lead to such a system state:
    1. There is a small number of users that create huge contexts. In this case, it
    will be OK to have such users allocate memory from heap and exclusively lock
    a work process for them (this is a side-effect of the PRIV state, as heap memory
    content can not be seen by another process, and the user context can no longer
    be 'rolled' into another work process. The limit when this will happen is either given
    by the ressource limit (em/initial_size_MB, EM/TOTAL_SIZE_MB) which is the
    overall amount of extended memory (EM). EM is a shared memory. The other limit
    is a user specific quota given by ztta/roll_extension (or ES/SHM_MAX_PRIV_SEGS
    for AIX, when ES/TABLE=SHM_SEGS is used). As I said, this is normally OK, and
    a small number of PRIV processes is not a problem at all.
    2. The user contexts are equally big, but there is not enough EM available on the
    instance. This will force EVERY user context into PRIV, as soon as the EM is
    exhausted. The fact that EM is exhausted will be seen in transaction ST02 (look
    for SAP Memory, Extended memory). Also check with transaction SM04, Goto,
    Memory, the size of the user contexts. In this case, increasing EM, or reducing the
    amount of users on the instance are your choices.
    As I said, if this is only one or two work processes, you must not worry about them.
    Best Regards,
    Tim

  • Auotmating Text from Word into InDesign

    Here is my situation: I am the graphic artist and layout person for the company that I work for.  We produce layouts that have a pretty consistent format.   Each layout has definite text sections.  These text sections are written by the research editor and put into a single word document.  I then have to copy and past the various text sections into the layout in InDesign.
    I know that if my Research Editors worked in InCopy it would elminate the need for me to copy and paste the text from word doc into the the layout document.  The problem is that one of the editors is a contract worker that is outside the office.
    I was wondering if there was some way to set up a template in word.  The idea would be that once the document is finished it could be imported into InDesign in a way that it would automatically populate the the text sections in the layout.

    Well you know what I mean, by copy and paste.  I place the text in first to preserve the formatting.
    This seems backwards, to me. Is the "formatting" in the Word document based on styles? If it is, you can map your InDesign styles to your Word styles on import. If it's not, then I find it much faster to change the formatting into styles immediately upon import.
    If you're not using any defined styles at all in your InDesign document, then yeah, I guess that copying and pasting is faster and a better way to preserve the manually applied formatting in Word. But why do that, when using well-defined styles in ID can be significantly faster?

  • TACACs+ commands not dropping me into enable mode

    Hi All,
    I've just comfigured the following on a router running IOS 15. All my other devices are running the old tacacs commands but thought I'd try the new CLI version.
    It works, e.g get prompted for username/password and authenticates against our AD Server (integrated with ACS4.2). I get into the router but into usermode.
    My other devices drop me straight into Priv Mode. Only difference is the the new commands v the old commands but I can't see anything that is different in relation to putting me into Priv mode.
    Any ideas?
    aaa group server tacacs+ ABC_ACS
    server name ABC_TAC
    tacacs server ABC_TAC
    address ipv4 172.27.10.10
    key secretkey
    aaa authentication login ACS_List group ABC_ACS line
    aaa authorization exec ACS_List group ABC_ACS if-authenticated
    aaa accounting exec ACS_List start-stop group ABC_ACS
    aaa accounting commands 15 ACS_List start-stop group ABC_ACS
    line vty 0 4
    password test
    authorization exec ACS_List
    accounting commands 15 ACS_List
    accounting exec ACS_List
    login authentication ACS_List
    length 0
    transport input ssh

    Make sure you defined the username with a static privilege level of 15 otherwise it will not be able to pass the enable authentication.
    If ACS 5.x or higher go to the policy elements: Shell Profile and make sure you have one assigned for a static maximum privilege of 15 and most important that its applied into a access-policy rule

  • Privilege level 15 to ASA cli administrator via Radius

    Hello Friends!
    Is this supported yet on the ASA?  I want to be able to have radius assign privilege levels to firewall cli administrators.
    Upon login, I'd like them to be immediately be placed into "enabled mode" (without needing to know the local enable password).  I believe we can set the maximum privilege level the user can attain.  But for now, I simply want to have everyone go into priv level 15 without having to know the shared enable secret password.  Switching to tacacs isn't an option.
    I remember finding out a while back that this was not possible.  Please tell me this is now possible.  It's almost 2013.

    Thanks Marcin!
    Very interesting.  Now that you mention it, I do remember seeing someone use the login command after they had already logged in.  That's what they must have been doing.  I wonder what the thought process was in developing it this way.
    I suppose a few different ways around this are (since not everyone will know of this odd behavior and I'm not the only one logging in) to configure radius to authenticate users and then either:
    1.  Configure a MOTD banner that says "ATTENTION:  Type the command 'login', followed by your regular credentials AGAIN to be put into enable mode."
    or
    2.  Configure a MOTD banner that says "ATTENTION:  To gain enable mode privileges, type the command 'enable', followed by the password cisco.".
    Horrible idea?  Thoughts?
    // example of the second 'login' command working:
    ssh [email protected]
    [email protected]'s password:
    Warning!
    Warning!
    Type help or '?' for a list of available commands.
    fw1> ?
      clear       Reset functions
      enable      Turn on privileged commands
      exit        Exit from the EXEC
      help        Interactive help for commands
      login       Log in as a particular user
      logout      Exit from the EXEC
      no          Negate a command or set its defaults
      ping        Send echo messages
      quit        Exit from the EXEC
      show        Show running system information
      traceroute  Trace route to destination
    fw1> login
    Username: admin
    Password: *********
    fw1#
    fw1# sh run username
    username admin password encrypted privilege 15

  • Memory managemnt concept

    Hi all,
    Does any one have any doc about this issue ? (not online help)
    I am confuse at the term "SAP Roll Area","SAP Extended Memory","Private Memory"
    Regards.

    Hi,
    When a dialog workprocess sart executing a task given by a dispatcher, it happens
    in different steps and accordingly the memory allocation takes place as per the
    request of user.
    Roll Area, Extended Memory and Provate Areas are the part of this memory allocation.
    Lets start with Roll Area.
    In the course of their work in dialog work processes, users
    accumulate various pieces of data, "user context". The copy action of the user context in the roll area into the local memory of the work process called roll-in. When the request gets completed by the user the user context gets rolled out from the wrkprocess.
    If buffer space available the roll area or paging area helds in the particular instance or else they must be stored in physical disk files known as Roll File or Paging File.
    Extend Memory:
    User Contexts are stored in buffer or in File as they need less memory but when a transaction start executing, it may need  more memory so in that case Extend Memory
    comes into picture.
    Its  a large area of memory shared by all work processes can
    be accessed through pointers.
    Main Reasons for using Extended Memory:
    1.Fast context switches are needed in SAP systems, because many users share
    few work processes
    2. SAP transactions consist usually of more than one step/screen
    3. Fast context switches are not possible by storing huge amounts of
    transactional data in the roll/paging area
    4. Extended Memory is accessed through pointers, therefore fast context
    switches are possible
    Private Mode:
    A dialog process that was forced to allocate SAP heap memory automatically
    enters PRIV mode. While a user is in a transaction which caused the dialog work
    process to enter PRIV mode, no other user can access this process. Since SAP
    architecture uses a limited number of work processes to satisfy a larger number of
    front end users, other users suffer when a work process goes into PRIV mode. If
    several work processes go into PRIV mode simulataneously, they can work well,
    but other users can hardly work at all.
    Always the PRIV mode is avoided.
    Roll Area and Heap Memory(PRIV Mode) are stored in local memory where as the Extended Memory stored in Shared Memory.
    If you need more details about these paramaters please let me know.
    Thanks,
    Tilak

  • Background process going to " abap/heap limit"

    Hi All,
    When i check the trace file of the workprocess which is a background process it shows that the
    " WP has reached abap/heap limit"
    Does this trigger the dialog process into PRIV mode? or is it OK for a background process to reach the heap limit.
    Please advise.
    Best Regards,
    DVRK

    Hi Ramakrishna,
    The trace you are seeing is for the background process  and is no longer related to dailog process.
    Some times we can see the abap/heaplimit issues due to background jobs running parallely on the same host.
    When the abap/heaplimit reaches max. the job gets cancels
    Try to trigger the job on low load instance
    (or).
    If this occurs on a regular basis. Try to find out the jobs which are failing and tune them accordingly
    (or)
    Take the help of Basis in fine tuning the abap heap memory parameters.
    Hope I answered your query.
    Regards
    Sandy

Maybe you are looking for

  • How to Hide File Extensions in URL

    Hello Again! I've tried to edit my .htaccess file to hide file extensions in my URL, but nothing I try works. I get "Page Not Found" when I try to remove the .html from my pages. Here is the code I have used: RewriteEngine On RewriteCond %{REQUEST_FI

  • How to detect if a file download was OK

    Hi all, I would like to know if exists any way to detect if a file sent out by a servlet to a browser was succesfully saved on the client. At least I would be happy to know if the user pressed the "OK" button or the "CANCEL" button I am sending the f

  • Centering HTML form on Android [subject edited by moderator]

    How do I get a form to 'centre' on android device. Website is http://www.parsonsreviewservices.co.uk. I am using CS6/CC. I assume its something to do with when I first set up the table. If so how do i correct this? And more importantlt....have I give

  • SAP NetWeaver 7.1 error IcmLogout: ICM_SEND failed

    Hello SAP, We have SAP NetWeaver 7.1, the work process dont restart but in the logs the dev_icm show this error, [Thr 05] Wed Dec  1 11:36:31 2010 [Thr 05] JNCMIHttpNodeDel: node 7959750 is removed from the load balancing list [Thr 05] HttpJ2EELbDel:

  • Moving SCOM environment to new servers

    We need to upgrade our SCOM servers from Windows Server 2008 to 2012.   In our current environment we have all of our servers in the same environment -- both Prod and Test servers.  When we make the move to new servers, we want to fix that, so that w