Dialog work process in stop gui status

Hi,
there are lots of dialog work process are stuck status due to stop gui error.
stop gui work process are not getting released automatic from the system due to this many users are facing problem and they are getting sap slow problem.
to resolve the issue we have to kill the work process manually from the system by using tcode sm66.
kindly help to resolve the issue.
Regards,
Koushal Solanki

Hi,
kindly find the log below
M  *** WARNING => ThAdXDelUser: delete T149
M  *** ERROR => ThCheckEmState: no em context for T2/M0 [thxxmem.c    381]
M  *** ERROR => ThCheckEmState: no em context for T2/M0 [thxxmem.c    381]
C
C Wed May 19 09:01:40 2010
C  build_stmt: reallocating stmt buffer: 2304 -> 3312 characters
C  build_stmt: reallocating stmt buffer: 3312 -> 4328 characters
C  build_stmt: reallocating stmt buffer: 256 -> 2000 characters
C  build_stmt: reallocating stmt buffer: 2816 -> 3822 characters
C  build_stmt: reallocating stmt buffer: 3822 -> 4823 characters
C  build_stmt: reallocating stmt buffer: 512 -> 2000 characters
C  build_stmt: reallocating stmt buffer: 2048 -> 3050 characters
C  build_stmt: reallocating stmt buffer: 3050 -> 4052 characters
M
M Wed May 19 09:01:42 2010
M  *** ERROR => ThCheckEmState: no em context for T2/M0 [thxxmem.c    381]
M
M Wed May 19 09:01:57 2010
M  *** ERROR => ThCheckEmState: no em context for T2/M0 [thxxmem.c    381]
M
M Wed May 19 09:04:46 2010
M  *** ERROR => ThCheckEmState: no em context for T2/M0 [thxxmem.c    381]
B  ***LOG BY4=> sql error 60     performing SEL on table NRIV       [dbtran#4 @ 7588] [dbtran  7588 ]
B  ***LOG BY0=> ORA-00060: deadlock detected while waiting for resource [dbtran#4 @ 7588] [dbtran  7588 ]
B  dbtran ERROR LOG (hdl_dbsl_error): DbSl 'SEL'
B   RSLT: {dbsl=99, tran=1}
B   FHDR: {tab='NRIV', fcode=33, mode=2, bpb=0, dbcnt=0, crsr=1,
B          hold=0, keep=1, xfer=0, pkg=0, upto=0, init:b=0,
B          init:p=(nil), init:#=172, wa:p=0xc0000004440b6120, wa:#=172}
B  dbtran ERROR LOG (hdl_dbsl_error): DbSl 'SEL'
M Wed May 19 08:57:25 2010
M  *** ERROR => ThCheckEmState: no em context for T2/M0 [thxxmem.c    381]
C
C Wed May 19 08:58:57 2010
C     OCIStmtExecute() failed with -1=OCI_ERROR
C     SQL error 60:
C  *** ERROR => Error 60 in stmt_fetch() from oci_execute_stmt(), orpc=0
[dbsloci.c    12990]
C  *** ERROR => ORA-60 occurred when executing SQL stmt (parse error offset=0)
[dbsloci.c    13011]
dispatcher log
Wed May 19 15:13:43 2010
ERROR => DpWPCheck: max_hold_time W2 exceeded (T140=msb85       ) [dpxxdisp.c   15928]
ERROR => DpTmRetErr: DpTmSend [dpxxdisp.c   13138]

Similar Messages

  • Dialog Work process being blocked

    Hi All ,
    I deleted one of the sessions using ctrl + alt + del in one of my application server. Now when i checked using work process overview through sm51 in that application server (logged in through other application server). The dialog work process is in the running status and it is still held by me for a long time.
    can anyone suggest me that I go for cancelling the process by choosing
    Process -> cancel without core. I have already tried terminating the session through sm04. I would like to add one more thing that in action column of the work process overview is shown as roll out.
    Regards
    Gaurav

    Hi gaurav,
    You can cancel the Process using CANCEL WITHOUT CORE , incase if you do not require a log details for that particular Work Process.
    You can cancel the Process using CACEL WITH CORE , incase if you want a Log details for the same !
    The same activity can be performed at Operating system level using the "dpmon" utility.
    Regards,
    Prem

  • Long Running dialog work process in production ststem

    Dear Friends,
                              IIn our production system one dialog work process is running more then 5 days. i can not terminate or cancel the process.'
    I tried all the ways to cancel the work process. i restart the system (offline backup) but still that work process are showing running status....
    Kindly advice....
    Thanks & Regards,
    Sundar.C

    IIn our production system one dialog work process is running more then 5 days. i can not terminate or cancel the process.'
    I tried all the ways to cancel the work process. i restart the system (offline backup) but still that work process are showing running status....
    Maximum runtime of dialog work process is controlled by parameter rdisp/max_wprun_time  I am not sure how it is possible to have dialog work process running for so many days. Secondly, when you restart the system means new PIDs will be allocated and it will be not the same dialog work process. Check SM50, trace information for more details and clues.

  • Maximum number of dialog work process

    Hello gurus,
    Could you please let me know what is the maximum number of dialog work process that you can configure in an Netweaver system with ABAP 7.0 before considering to install a new application server to distribute the load?
    Thaks for your help,
    Best regards

    > Just one question, according to the following statement, can I think that I should estimate a usage of 1/4 CPU core by every dialog WP?
    No, this was just an example to make clear what I mean.
    > Do you know any SAP note that could help me to estimate the number of WP according to the load of the system?
    There is no such note and there can't be.
    You could have a system with e. g. 100 users where 10 of them do really produce load, the other 90 may just run a few transactions or do just nothing - so 50 WPs is too much. You could also have a system with 20 users where ALL are entering data all data and doing reporting and stuff so 20 WPs is too less. There may also be processes like ATP that use one background worprocess and spawn a number of dialog WPs you configure in the application. If you configure too few of them, the ATP run will run very log, if you configure too much, the system will be overloaded and slowing down. I can imagine dozens of other examples what may cause load or not.
    Because of that it's not possible to give a formular how many WPs to be configured for how many users.
    This is a tuning thing and needs to be estimated in the first weeks after a GoLive; watch the system, reconfigure, watch. Check ST03N and SM50/SM66 or book an early watch after some time, they have rough estimates and give usually good advises. Out of theory it's almost impossible to predict something.
    Markus

  • Increasing Dialog Work Process

    Hi All
    In one of our Applicaion Systems we initially had allocated only 2 Dialog Work Processes, now we want to increase this, without reducing any of the other Work Processes.
    How is it possible ?
    Regards
    Biju Kumar

    You can increase the number of work processes by either:
    increasing the parameter rdisp/wp_no_dia in RZ10 (restart required to take effect)
    Or by creating an operation mode in RZ04.
    By creating an operation mode you can switch between Operation modes at certain times of the day (SM63).

  • Dialog work process

    Hi Experts,
    I am working as a BASIS Consultant,I have one doubt.
    In our company about 50 users are there.If all 50 users are logged into the SAP PRD System,In SM50 tcode dialog work process are 9 free out of 10.
    how many users can use one  dialog work process. Please let me know.If any doubt please ask me.

    Hi Patan,
    Please understand the concept of work process understand it's not a 1-to-1 relationship between DIA workprocess and user.One Dialog process can handle multiple users and is solely based on the activity performed by the user.Logged users wont occupy 100% of workprocess unless it goes to "private"/PRIV mode.If you found any user any priv mode check whether he is performing any backgroud/batch processing updates.If found idle kill the process in SM51 as it will consume more memory leads to high cpu utilization.The Dispatcher handles all the request of all users and put them in the Dispatcher-queue, and this will be forwarded to a DIA workprocess as soon as it became idle, even in milliseconds, so that's why it can handle hundreds of requests in this queue.
    Please read the documentations on dispatcher to understand the process better.
    https://help.sap.com/saphelp_46c/helpdata/en/fc/eb2e7d358411d1829f0000e829fbfe/content.htm
    notes on work process - ABAP Development - SCN Wiki
    Dispatcher & Work Process
    Hope it will address all your doubts.Please close the thread once you are fine with answers as these are the frequently asked questions.
    Regards,
    Kannan

  • How to statistic the rest dialog work process?

    Dear Gurus,
       Is there some method we can statistic the rest dialog work process in every ten minutes in our sap ECC prd system(ECC 6.0)?(I want to use the number to evaluate our SAP system's performance. Esp, at the business peak period.)
    Thank you!
    Jason

    Hi Jason,
    If I understand correct, you want to find out number of required work processes.
    You can find it, by using "ST02 -> Go to -> Current Local Data -> SAP cursor cache -> ID cache" path. On this table, you can analyze how many work processes are really running and how many work processes are waiting at the idle state.
    There is no time based values, about these statistics. These values indicate current stats.
    Best regards,
    Orkun Gedik

  • Help regarding dialog work process

    hello experts,
                          In S.A.P abap or abap+java,why we need atleast 2 dialog work process.Is that 2 dialog work process are used for any extra functions?

    Hi,
    it is mandatory to have two dialog work processes within an ABAP-Instance.
    There is no way around.
    It is the same for enqueue process, you have to have exactly one for your ABAP system.
    (Remember: an ABAP system can persist of many instances, but only one central instance).
    Hope, this is helpful.
    Kind regards,
    Achim
    P.S. Never the less, this is the wrong Forum for your question.

  • Dialog work process and single-sign on

    Hi,
    I have read that we should have atleast 2 dialog work processes configured.
    can anyone tell me the reason why?
    what is the concept behind single sign-on?
    much appreciate ur help.
    regards,
    swaroop.

    Hi Swaroop,
    I have never heard of something like that before...
    You can read more about single sign on here,
    https://www.sdn.sap.com/irj/sdn/itpractices?rid=/webcontent/uuid/01c62876-0a01-0010-f5a5-d39e7651b9fd [original link is broken]
    and here,
    http://help.sap.com/saphelp_nw04/helpdata/en/94/695b3ebd564644e10000000a114084/frameset.htm
    Regards
    Juan
    Please reward with points if helpful

  • Connection to sap not possible, all dialog work processes in running status

    Dear SAP gurus,
    We have problem with two of our productive systems (different servers) . This morning there was two times problem with connection to the system, via dpmon i saw there are all dialog work proccesses in running status, no connection was possible. After restart is was ok, but the problem
    appeares again and again after some time. Please help me with this issue, it is very critical.
    here is the dev_disp log :
    r4201:ispadm 60> more dev_disp
    trc file: "dev_disp", trc level: 1, release: "46D"
    Tue Jul 1 10:56:32 2008
    relno 4640
    patchlevel 0
    patchno 2318
    intno 0
    pid 3351042
    ***LOG Q00=> DpSapEnvInit, DPStart (00 3351042) [dpxxdisp.c 921]
    MtxInit: -2 0 0
    DpIPCInit: start server >r4201i1_ISP_00 <
    MBUF state OFF
    MBUF opmode USE
    EmInit: MmSetImplementation( 2 ).
    EM/TOTAL_SIZE_MB = 28000
    Tue Jul 1 10:56:34 2008
    ***LOG Q0K=> DpMsAttach, mscon ( r4201i1) [dpxxdisp.c 8384]
    use SAPLOCALHOST=<r4201i1> as internal hostname
    MBUF set hwid_state to HWID_PENDING
    DpStartStopMsg: send start message (myname is >r4201i1_ISP_00 <)
    DpStartStopMsg: start msg sent
    CCMS: AlInitGlobals : alert/use_sema_lock = TRUE.
    CCMS: start to initalize 3.X shared alert area (first segment).
    DpMsgAdmin: Set release to 4640, patchlevel 0
    MBUF state PREPARED
    MBUF component UP
    MBUF set hwid_state to SAP_O_K
    (F1785294464 )
    DpMsgAdmin: Set patchno for this platform to 2318
    Release check o.K.
    Tue Jul 1 10:56:37 2008
    MBUF state ACTIVE
    Tue Jul 1 10:58:51 2008
    SoftCancel request for T188 M0 received from REMOTE_TERMINAL
    Tue Jul 1 11:10:02 2008
    Network error of client T142, NiBufReceive (-6: NIECONN_BROKEN),
    dp_tm_status=3
    Tue Jul 1 11:10:57 2008
    *** Warning => NiAddrToHost took 55 seconds
    Client address of T142 is 10.42.197.30(10.42.197.30)
    ***LOG Q04=> DpRTmPrep, NiBufReceive (159 GAJDOSECHOVA142 P10063 )
    [dpxxdisp.c 8106]
    RM-T142, U159, 400 GAJDOSECHOVA, P10063, 11:09:34, M1, W3, ZCSR, 3/2
    *** ERROR => DpRqNoWpHandle: req for DISCONNECTED tm [dpxxdisp.c 3077]SoftCancel request for T368 M0 received from REMOTE_TERMINAL
    SoftCancel request for T244 M0 received from REMOTE_TERMINAL
    SoftCancel request for T113 M0 received from REMOTE_TERMINAL
    Network error of client T109, NiBufReceive (-6: NIECONN_BROKEN),
    dp_tm_status=3
    Tue Jul 1 11:11:52 2008
    *** Warning => NiAddrToHost took 55 seconds
    Client address of T109 is 10.42.197.31(10.42.197.31)
    ***LOG Q04=> DpRTmPrep, NiBufReceive (120 VELICKA 109 P10240 )
    [dpxxdisp.c 8106]
    RM-T109, U120, 400 VELICKA, P10240, 11:08:35, M0, W2, CIC0, 4/1
    Network error of client T271, NiBufReceive (-6: NIECONN_BROKEN),
    dp_tm_status=3
    Tue Jul 1 11:12:47 2008
    *** Warning => NiAddrToHost took 55 seconds
    Client address of T271 is 10.42.197.28(10.42.197.28)
    ***LOG Q04=> DpRTmPrep, NiBufReceive (540 FOJTIKOVA 271 P10260 )
    [dpxxdisp.c 8106]
    RM-T271, U540, 400 FOJTIKOVA, P10260, 11:11:52, M0, W4, CIC0, 2/1
    Network error of client T150, NiBufReceive (-6: NIECONN_BROKEN),
    dp_tm_status=3
    Tue Jul 1 11:13:42 2008
    *** Warning => NiAddrToHost took 55 seconds
    Client address of T150 is 10.42.197.155(10.42.197.155)
    ***LOG Q04=> DpRTmPrep, NiBufReceive (162 INCEDI 150 P1855 )
    [dpxxdisp.c 8106]
    RM-T150, U162, 400 INCEDI, P1855, 11:08:40, M0, W15, CIC0, 5/2
    *** ERROR => DpTmSend: NiBufSend failed(rc=-6)->disconnect tm: 332
    [dpxxdisp.c 9048]
    RM-T332, U1395, 400 6KVAH, p2501, 11:10:57, M0, W44, CIC0, 2/2
    *** ERROR => DpTmSend: NiBufSend failed(rc=-6)->disconnect tm: 269
    [dpxxdisp.c 9048]
    RM-T269, U537, 400 5SIMS, p6453, 11:11:52, M1, W5, EL27, 4/2
    *** ERROR => DpTmSend: NiBufSend failed(rc=-6)->disconnect tm: 252
    [dpxxdisp.c 9048]
    RM-T252, U429, 400 3ZAMT, N10184, 11:11:52, M0, W27, EEDM, 2/1
    *** ERROR => DpRqNoWpHandle: req for DISCONNECTED tm [dpxxdisp.c 3077]*** ERROR => DpRqNoWpHandle: req for DISCONNECTED tm [dpxxdisp.c 3077]*** ERROR => DpRqCheck: mode 0 in status CANCEL/HAND_SHAKE
    [dpxxdisp.c 4841]
    ***LOG Q0G=> DpRqBadHandle, bad_req ( DIA) [dpxxdisp.c 3880]
    *** ERROR => BAD REQUEST - Reason: DpRqCheck failed (line 4311):
    [dpxxdisp.c 3882]
    -IN-- sender_id REMOTE_TERMINAL tid 150 wp_ca_blk 26 wp_id -1
    -IN-- action SEND_TO_WP uid 162 appc_ca_blk -1 type
    DIA
    -IN-- new_stat NO_CHANGE mode 0 len 91 rq_id
    4115
    *** ERROR => DpRqCheck: mode 0 in status CANCEL/HAND_SHAKE
    [dpxxdisp.c 4841]
    ***LOG Q0G=> DpRqBadHandle, bad_req ( DIA) [dpxxdisp.c 3880]
    *** ERROR => BAD REQUEST - Reason: DpRqCheck failed (line 4311):
    [dpxxdisp.c 3882]
    -IN-- sender_id REMOTE_TERMINAL tid 109 wp_ca_blk 5 wp_id -1
    -IN-- action SEND_TO_WP uid 120 appc_ca_blk -1 type
    DIA
    -IN-- new_stat NO_CHANGE mode 0 len 376 rq_id
    4133
    *** ERROR => DpRqCheck: mode 0 in status CANCEL/HAND_SHAKE
    [dpxxdisp.c 4841]
    ***LOG Q0G=> DpRqBadHandle, bad_req ( DIA) [dpxxdisp.c 3880]
    *** ERROR => BAD REQUEST - Reason: DpRqCheck failed (line 4311):
    [dpxxdisp.c 3882]
    -IN-- sender_id REMOTE_TERMINAL tid 269 wp_ca_blk 159 wp_id -1
    -IN-- action SEND_TO_WP uid 537 appc_ca_blk -1 type
    DIA
    -IN-- new_stat NO_CHANGE mode 0 len 219 rq_id
    4138
    *** ERROR => DpHdlSoftCancel: terminal has token [dpxxdisp.c 11982]
    RM-T368, U1988, 400 JJANISOV, P1761, 11:10:00, M0, W26, , 2/0
    Network error of client T329, NiBufReceive (-6: NIECONN_BROKEN),
    dp_tm_status=3
    Tue Jul 1 11:14:02 2008
    *** Warning => NiAddrToHost took 20 seconds
    Client address of T329 is 10.42.101.49(10.42.101.49)
    ***LOG Q04=> DpRTmPrep, NiBufReceive (1418 6BLUV 329 n2153 )
    [dpxxdisp.c 8106]
    RM-T329, U1418, 400 6BLUV, n2153, 11:09:17, M0, W10, ZPPL, 2/1
    Network error of client T310, NiBufReceive (-6: NIECONN_BROKEN),
    dp_tm_status=3
    Tue Jul 1 11:14:57 2008
    *** Warning => NiAddrToHost took 55 seconds
    Client address of T310 is 10.42.95.65(10.42.95.65)
    ***LOG Q04=> DpRTmPrep, NiBufReceive (1154 5RICI 310 P6342 )
    [dpxxdisp.c 8106]
    RM-T310, U1154, 400 5RICI, P6342, 11:10:57, M0, W50, EL28, 2/1
    Network error of client T287, NiBufReceive (-6: NIECONN_BROKEN),
    dp_tm_status=3
    Tue Jul 1 11:15:17 2008
    *** Warning => NiAddrToHost took 20 seconds
    Client address of T287 is 10.42.53.89(p10172.smp.rwegroup.cz)
    ***LOG Q04=> DpRTmPrep, NiBufReceive (974 SFOLTYNO 287 P10172 )
    [dpxxdisp.c 8106]
    RM-T287, U974, 400 SFOLTYNO, P10172, 11:08:43, M0, W1, CIC0, 2/1
    Network error of client T267, NiBufReceive (-6: NIECONN_BROKEN),
    dp_tm_status=3

    here is the dpmon output when the problems occured ->
    Workprocess Table (long) Tue Jul 1 10:43:01 2008========================
    No Ty. Pid Status Cause Start Err Sem CPU Time Program Cl
    User Action Table
    0 DIA 3416750 Run yes 0 0 86SAPLSNR3 400
    IMIKULAS
    1 DIA 4538818 Run yes 0 0 0
    2 DIA 3474660 Run yes 0 0 0
    3 DIA 3929066 Run yes 0 0 132SAPLEVDB 400
    6PETK Sequential Read ERCH
    4 DIA 3268678 Run yes 0 0 0
    5 DIA 3404518 Run yes 0 0 0
    6 DIA 139764 Run yes 0 0 30SAPLE10G 400
    OPENMIND
    7 DIA 3449954 Run yes 0 0 0
    8 DIA 3904336 Run yes 0 0 0
    9 DIA 3248272 Run yes 0 0 0
    10 DIA 3383962 Run yes 0 0 0
    11 DIA 422200 Run yes 0 0 0
    12 DIA 357308 Run yes 0 0 0
    13 DIA 3227708 Run yes 0 0 0
    14 DIA 332038 Run yes 0 0 4011SAPLERCH 400
    DPATROVSKA1 Sequential Read ERCH
    15 DIA 3044598 Run yes 0 0 0
    16 DIA 3912454 Run yes 0 0 0
    17 DIA 3223644 Run yes 0 0 0
    18 DIA 3007018 Stop GUI yes 0 0 88SAPLSGUI 400
    HEINDL
    19 DIA 311766 Run yes 0 0 30SAPLBUPA 400
    VSOKOLIK
    20 DIA 3429582 Run yes 0 0 0
    21 DIA 3908454 Run yes 0 0 10 400
    5STEL
    22 DIA 2977948 Run yes 0 0 0
    23 DIA 291262 Run yes 0 0 0
    24 DIA 516332 Run yes 0 0 0
    25 DIA 3875678 Run yes 0 0 0
    26 DIA 258416 Stop GUI yes 0 0 87SAPLOLEA 400
    SICHANOVA
    27 DIA 382010 Run yes 0 0 0
    28 DIA 454862 Run yes 0 0 0
    29 DIA 3855260 Run yes 0 0 30SAPLSNR3 400
    6KRAN
    30 DIA 184820 Run yes 0 0 0
    31 DIA 402100 Run yes 0 0 0
    32 DIA 450758 Run yes 0 0 0
    33 DIA 389748 Run yes 0 0 10 400
    3SOBB
    34 DIA 357580 Run yes 0 0 0
    35 DIA 3355606 Run yes 0 0 0
    36 DIA 438464 Run yes 0 0 10 400
    2KREU
    37 DIA 4510046 Run yes 0 0 0
    38 DIA 381516 Run yes 0 0 0
    39 DIA 353468 Run yes 0 0 0
    40 DIA 426162 Run yes 0 0 0
    41 DIA 4501866 Run yes 0 0 30SAPLFKLO 400
    4MENJ
    42 DIA 401560 Run yes 0 0 0
    43 DIA 349368 Run yes 0 0 10 400
    INCEDI
    44 DIA 324448 Run yes 0 0 0
    45 DIA 369188 Run yes 0 0 0
    46 DIA 299778 Run yes 0 0 0
    47 DIA 365090 Stop GUI yes 0 0 30SAPLCOIH 400
    3STRA
    48 DIA 345276 Stop GUI yes 0 0 30SAPLEFND 400
    5TETD
    49 DIA 291798 Run yes 0 0 0
    50 DIA 360990 Run yes 0 0 30SAPLE10E 400
    JKONECNA
    51 DIA 4493568 Run yes 0 0 0
    52 DIA 271268 Run yes 0 0 0
    53 DIA 348684 Run yes 0 0 0
    54 DIA 267166 Run yes 0 0 0
    55 DIA 340538 Run yes 0 0 0
    56 DIA 4485546 Run yes 0 0 0
    57 DIA 304238 Run yes 0 0 0
    58 DIA 263068 Run yes 0 0 0
    59 DIA 258960 Run yes 0 0 0
    60 DIA 4477390 Run yes 0 0 0
    61 DIA 332540 Run yes 0 0 0
    62 DIA 397462 Run yes 0 0 0
    63 DIA 254720 Run yes 0 0 0
    64 DIA 4464982 Run yes 0 0 0
    65 UPD 328348 Wait yes 0 0 0
    66 UPD 242544 Wait yes 0 0 0
    67 UPD 300168 Wait yes 0 0 0
    68 UPD 426416 Wait yes 0 0 0
    69 UPD 193486 Wait yes 0 0 0
    70 ENQ 414102 Run yes 0 0 0
    71 BTC 283638 Run yes 0 8 2540SAPLFKB2 400
    0KRAK
    72 BTC 381302 Run yes 0 0 1419SAPLES21 400
    MSTRUHOVA1
    73 BTC 275432 Run yes 0 0 10 400
    SYSCUA
    74 BTC 377200 Run yes 0 0 4012SAPLERCH 400
    DPATROVSKA1 Sequential Read ERCH
    75 BTC 283728 Run yes 0 0 3515SAPLSNR3 400
    VYLETALM
    76 BTC 373102 Wait yes 0 0 0
    77 BTC 279630 Wait yes 0 0 0
    78 BTC 381052 Wait yes 0 0 0
    79 BTC 369002 Wait yes 0 0 0
    80 BTC 364892 Wait yes 0 0 0
    81 BTC 271464 Wait yes 0 0 0
    82 BTC 360796 Wait yes 0 0 0
    83 BTC 376916 Wait yes 0 0 0
    84 BTC 372814 Wait yes 0 0 0
    85 BTC 364604 Wait yes 0 0 0
    86 BTC 263210 Wait yes 0 0 0
    87 BTC 356404 Wait yes 0 0 0
    88 BTC 348192 Wait yes 0 0 0
    89 BTC 255012 Wait yes 0 0 0
    90 BTC 331994 Wait yes 0 0 0
    91 BTC 311936 Wait yes 0 0 0
    92 BTC 299638 Wait yes 0 0 0
    93 SPO 230612 Wait yes 0 0 0
    94 SPO 295534 Wait yes 0 0 0
    95 SPO 217800 Wait yes 0 0 0
    96 SPO 222402 Wait yes 0 0 0
    97 UP2 193112 Run yes 0 0 10 400
    ANDRESIKOVA
    98 UP2 201878 Wait yes 0 0 0
    99 UP2 172842 Wait yes 0 0 0
    100 UP2 328568 Wait yes 0 0 0
    s - stop workprocess
    k - kill workprocess (with core)
    r - enable restart flag (only possible in wp-status "ended")
    q - quit
    m - menue

  • How to moniter the max quantity of used dialog work process in SAP system

    Dear Gurus,
    The quantity of Dia Work Process(DWP) of APP1 is: 16 (rdisp/wp_no_dia=16)
    The quantity of Dia Work Process(DWP) of APP2 is: 16 (rdisp/wp_no_dia=16)
    The quantity of Dia Work Process(DWP) of APP3 is: 20 (rdisp/wp_no_dia=20)
    The quantity of Dia Work Process(DWP) of APP4 is: 20 (rdisp/wp_no_dia=20)
    So the quantity of DWP in our SAP system is: 72 (=161620+20).
    We have 75 dialog users and many RFC callings via JCO method from J2EE system.
    I'm afriad the 72 DWPs will be run out of use someday.
    So I want to moniter the max quantity of used DWP every per hour to prevent the situation I mentioned above.
    Could you give me some suggestions?
    Thank you very much..
    Jason

    Hi Olivier,
      I really appreciate your help. You told me a very useful clew!
      As the method you told me, I have some questions:
      (a3) Do you restart your 'CI + 6 DIA' separately every week? Why did you do that?
      (a4) How to calculate 'CPU intensive time'?  For example, App server 'APS' was restarted on 8-10-2011 and stopped on 8-20-2011.
    There was a DWP(PID 557550) was created and activated on APS during this period(10 days). So If I add up each 'cpu time' of the task
    which 557550 executed, I can get the 'CPU intensive time' of 557550 (dispalyed in SM50). Right?
        In other words:
           DWP(PID 557550) finished task1: cpu time = 5ms  8-10-2011
           DWP(PID 557550) finished task2: cpu time = 4ms 
           DWP(PID 557550) finished task3: cpu time = 6ms  8-20-2011
         So the 'CPU intensive time'(Between 8-10-2011 and 8-20-2011) of DWP(PID 557550) is: 15ms (5ms4ms6ms). Right?
      (a5)Can we moniter the 'CPU intensive time' of DWPs in CCMS automatically? (I want to prevent the situation: The DWPs in our entire ECC are occupied.)
    Thank you!
                                                                                    Jason

  • How to moniter the max quantity of used dialog work process in our SAP syst

    Dear Gurus,
    The quantity of Dia Work Process(DWP) of APP1 is: 16 (rdisp/wp_no_dia=16)
    The quantity of Dia Work Process(DWP) of APP2 is: 16 (rdisp/wp_no_dia=16)
    The quantity of Dia Work Process(DWP) of APP3 is: 20 (rdisp/wp_no_dia=20)
    The quantity of Dia Work Process(DWP) of APP4 is: 20 (rdisp/wp_no_dia=20)
    So the quantity of DWP in our SAP system is: 72 (=161620+20).
    We have 75 dialog users and many RFC callings via JCO method from J2EE system.
    I'm afriad the 72 DWPs will be run out of use someday.
    So I want to moniter the max quantity of used DWP every per hour to prevent the situation I mentioned above.
    Could you give me some suggestions?
    Thank you very much..
    Jason
    Edited by: jason xu on Aug 22, 2011 6:20 PM

    duplicate thread !!

  • Work process is in Run status , unable to login to SAP

    Dear All,
    Suddenly my Dev server went down,
    Workprocess turn to status Run , and dispatcher status says,Running But Dialog Queue Stand Still ; J2EE : sysnchronizing Binary.
    It is unable to attach the database,
    Database displays connected.
    Please see the dev_wo file..
    ===========================================================================
    trc file: "dev_w0", trc level: 1, release: "700"
    ACTIVE TRACE LEVEL           1
    ACTIVE TRACE COMPONENTS      all, MJ

    B Mon Dec 24 18:27:26 2007
    B  create_con (con_name=R/3)
    B  Loading DB library 'C:\usr\sap\DEV\DVEBMGS00\exe\dboraslib.dll' ...
    B  Library 'C:\usr\sap\DEV\DVEBMGS00\exe\dboraslib.dll' loaded
    B  Version of 'C:\usr\sap\DEV\DVEBMGS00\exe\dboraslib.dll' is "700.08", patchlevel (0.102)
    B  New connection 0 created
    M sysno      00
    M sid        DEV
    M systemid   560 (PC with Windows NT)
    M relno      7000
    M patchlevel 0
    M patchno    102
    M intno      20050900
    M make:      multithreaded, Unicode, optimized
    M pid        2300
    M
    M  kernel runs with dp version 224000(ext=109000) (@(#) DPLIB-INT-VERSION-224000-UC)
    M  length of sys_adm_ext is 572 bytes
    M  ***LOG Q0Q=> tskh_init, WPStart (Workproc 0 2300) [dpxxdisp.c   1301]
    I  MtxInit: 30000 0 0
    M  DpSysAdmExtCreate: ABAP is active
    M  DpSysAdmExtCreate: VMC (JAVA VM in WP) is not active
    M  DpShMCreate: sizeof(wp_adm)          17184     (1432)
    M  DpShMCreate: sizeof(tm_adm)          4232256     (21056)
    M  DpShMCreate: sizeof(wp_ca_adm)          24000     (80)
    M  DpShMCreate: sizeof(appc_ca_adm)     8000     (80)
    M  DpCommTableSize: max/headSize/ftSize/tableSize=500/8/528056/528064
    M  DpShMCreate: sizeof(comm_adm)          528064     (1048)
    M  DpSlockTableSize: max/headSize/ftSize/fiSize/tableSize=0/0/0/0/0
    M  DpShMCreate: sizeof(slock_adm)          0     (96)
    M  DpFileTableSize: max/headSize/ftSize/tableSize=0/0/0/0
    M  DpShMCreate: sizeof(file_adm)          0     (72)
    M  DpShMCreate: sizeof(vmc_adm)          0     (1520)
    M  DpShMCreate: sizeof(wall_adm)          (38456/34360/64/184)
    M  DpShMCreate: sizeof(gw_adm)     48
    M  DpShMCreate: SHM_DP_ADM_KEY          (addr: 060B0040, size: 4890296)
    M  DpShMCreate: allocated sys_adm at 060B0040
    M  DpShMCreate: allocated wp_adm at 060B1E80
    M  DpShMCreate: allocated tm_adm_list at 060B61A0
    M  DpShMCreate: allocated tm_adm at 060B61D0
    M  DpShMCreate: allocated wp_ca_adm at 064BF610
    M  DpShMCreate: allocated appc_ca_adm at 064C53D0
    M  DpShMCreate: allocated comm_adm at 064C7310
    M  DpShMCreate: system runs without slock table
    M  DpShMCreate: system runs without file table
    M  DpShMCreate: allocated vmc_adm_list at 065481D0
    M  DpShMCreate: allocated gw_adm at 06548210
    M  DpShMCreate: system runs without vmc_adm
    M  DpShMCreate: allocated ca_info at 06548240
    M  DpShMCreate: allocated wall_adm at 06548248
    X  EmInit: MmSetImplementation( 2 ).
    X  MM global diagnostic options set: 0
    X  <ES> client 0 initializing ....
    X  Using implementation view
    M  <EsNT> Memory Reset disabled as NT default
    X  ES initialized.

    M Mon Dec 24 18:27:27 2007
    M  ThInit: running on host ECC6DEV

    M Mon Dec 24 18:27:28 2007
    M  calling db_connect ...
    C  Prepending C:\usr\sap\DEV\DVEBMGS00\exe to Path.

    C Mon Dec 24 18:27:29 2007
    C  Oracle Client Version: '10.2.0.1.0'
    C  Client NLS settings: AMERICAN_AMERICA.UTF8
    C  Logon as OPS$-user to get SAPSR3's password
    C  Connecting as /@DEV on connection 0 (nls_hdl 0) ... (dbsl 700 010307)
    C  Nls CharacterSet                 NationalCharSet              C      EnvHp      ErrHp ErrHpBatch
    C    0 UTF8                                                      1   05DF7758   05DFCCF4   05DFC57C
    C  Attaching to DB Server DEV (con_hdl=0,svchp=05DFC4C8,srvhp=05E0BE94)
    ==========================================================================================================================================================
    Please advice which is very urgent ,
    Regards,
    SM

    C:\Documents and Settings\devadm>dpmon
    dpmon=>sapparam(1c): No Profile used.
    dpmon=>sapparam: SAPSYSTEMNAME neither in Profile nor in Commandline
    Dispatcher Queue Statistics                     Wed Dec 26 14:00:41 2007
    ===========================
    --------++++--
    +
    Typ
    now
    high
    max
    writes
    reads
    --------++++--
    +
    NOWP
    0
    2
    2000
    6
    6
    --------++++--
    +
    DIA
    25
    25
    2000
    25
    0
    --------++++--
    +
    UPD
    0
    0
    2000
    0
    0
    --------++++--
    +
    ENQ
    0
    0
    2000
    0
    0
    --------++++--
    +
    BTC
    0
    0
    2000
    0
    0
    --------++++--
    +
    SPO
    1
    1
    2000
    1
    0
    --------++++--
    +
    UP2
    0
    0
    2000
    0
    0
    --------++++--
    +
    max_rq_id               33
    wake_evt_udp_now        0
    wake events             total    28,  udp    25 ( 89%),  shm     3 ( 10%)
    since last update       total    28,  udp    25 ( 89%),  shm     3 ( 10%)
        q - quit
        m - menue
    --> Dispatcher Queue Statistics                 Wed Dec 26 14:00:46 2007
    ===========================
    --------++++--
    +
    Typ
    now
    high
    max
    writes
    reads
    --------++++--
    +
    NOWP
    0
    2
    2000
    6
    6
    --------++++--
    +
    DIA
    25
    25
    2000
    25
    0
    --------++++--
    +
    UPD
    0
    0
    2000
    0
    0
    --------++++--
    +
    ENQ
    0
    0
    2000
    0
    0
    --------++++--
    +
    BTC
    0
    0
    2000
    0
    0
    --------++++--
    +
    SPO
    1
    1
    2000
    1
    0
    --------++++--
    +
    UP2
    0
    0
    2000
    0
    0
    --------++++--
    +
    max_rq_id               33
    wake_evt_udp_now        0
    wake events             total    28,  udp    25 ( 89%),  shm     3 ( 10%)
    since last update       total     0,  udp     0 (  0%),  shm     0 (  0%)
        q - quit
        m - menue
    --> Dispatcher Queue Statistics                 Wed Dec 26 14:00:59 2007
    ===========================
    --------++++--
    +
    Typ
    now
    high
    max
    writes
    reads
    --------++++--
    +
    NOWP
    0
    2
    2000
    6
    6
    --------++++--
    +
    DIA
    25
    25
    2000
    25
    0
    --------++++--
    +
    UPD
    0
    0
    2000
    0
    0
    --------++++--
    +
    ENQ
    0
    0
    2000
    0
    0
    --------++++--
    +
    BTC
    0
    0
    2000
    0
    0
    --------++++--
    +
    SPO
    1
    1
    2000
    1
    0
    --------++++--
    +
    UP2
    0
    0
    2000
    0
    0
    --------++++--
    +
    max_rq_id               33
    wake_evt_udp_now        0
    wake events             total    28,  udp    25 ( 89%),  shm     3 ( 10%)
    since last update       total     0,  udp     0 (  0%),  shm     0 (  0%)
        q - quit
        m - menue
    --> Dispatcher Queue Statistics                 Wed Dec 26 14:01:12 2007
    ===========================
    --------++++--
    +
    Typ
    now
    high
    max
    writes
    reads
    --------++++--
    +
    NOWP
    0
    2
    2000
    6
    6
    --------++++--
    +
    DIA
    25
    25
    2000
    25
    0
    --------++++--
    +
    UPD
    0
    0
    2000
    0
    0
    --------++++--
    +
    ENQ
    0
    0
    2000
    0
    0
    --------++++--
    +
    BTC
    0
    0
    2000
    0
    0
    --------++++--
    +
    SPO
    1
    1
    2000
    1
    0
    --------++++--
    +
    UP2
    0
    0
    2000
    0
    0
    --------++++--
    +
    max_rq_id               33
    wake_evt_udp_now        0
    wake events             total    28,  udp    25 ( 89%),  shm     3 ( 10%)
    since last update       total     0,  udp     0 (  0%),  shm     0 (  0%)
        q - quit
        m - menue
    --> Dispatcher Queue Statistics                 Wed Dec 26 14:01:23 2007
    ===========================
    --------++++--
    +
    Typ
    now
    high
    max
    writes
    reads
    --------++++--
    +
    NOWP
    0
    2
    2000
    6
    6
    --------++++--
    +
    DIA
    25
    25
    2000
    25
    0
    --------++++--
    +
    UPD
    0
    0
    2000
    0
    0
    --------++++--
    +
    ENQ
    0
    0
    2000
    0
    0
    --------++++--
    +
    BTC
    0
    0
    2000
    0
    0
    --------++++--
    +
    SPO
    1
    1
    2000
    1
    0
    --------++++--
    +
    UP2
    0
    0
    2000
    0
    0
    --------++++--
    +
    max_rq_id               33
    wake_evt_udp_now        0
    wake events             total    28,  udp    25 ( 89%),  shm     3 ( 10%)
    since last update       total     0,  udp     0 (  0%),  shm     0 (  0%)
        q - quit
        m - menue
    --> Workprocess Table                           Wed Dec 26 14:03:57 2007
    =================
    No Ty. Pid      Status  Cause Start Err Sem CPU    Time  Program  Cl  Us
    0 DIA     3296 Run           no      0   0        0
    1 DIA     1340 Run           no      0   0        0
    2 DIA     3684 Run           no      0   0        0
    3 DIA     3248 Run           no      0   0        0
    4 DIA     2108 Run           no      0   0        0
    5 UPD     1088 Run           no      0   0        0
    6 ENQ     3828 Run           no      0   0        0
    7 BTC     3320 Run           no      0   0        0
    8 BTC     3336 Run           no      0   0        0
    9 BTC     1492 Run           no      0   0        0
    10 SPO     3356 Run           no      0   0        0
    11 UP2     1840 Run           no      0   0        0
        s - stop workprocess
        k - kill workprocess (with core)
        r - enable restart flag (only possible in wp-status "ended")
        q - quit
        m - menue
    Regards,
    SM

  • Work Process stopped

    Dear All ,
    When I execute TC--> sm50 , I saw that some of dialog work process were showing stopped status and the reason column shows as CPIC . Can anyone suggest me as to what should be done ??
    Some of the Work process under the time column also shows time values highlighted in red.
    Regards
    Gaurav

    Hi Bidhwan ,
    Thanks for your suggestion. I observed from Work process overview that one of the background work process is currently executing one SD report and when I just click on the CPU button to view the CPU time then CPU time is constant but the value under the time column is changing i.e it indicates that the work process got stuck . Can you suggest as to what should to be done in this case.
    Regards
    Gaurav

  • 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

Maybe you are looking for

  • How to install SAP NETWEAVER XI 3.0 on UNIX operating system

    Hi, we are migrating from AIX to HP SUPERDOME on UNIX operating system. Can anyone give details about how to do it i.e about the installation and neccessary steps that need to take in the above problem

  • Logical standby not synced with primary!

    Dear All, I am in a new environment. Oracle 10g database is running on windows 2003 server. This is the primary database and there is a logical database 10gR2 also on windows. Since yesterday all SCN were applied on standby and it was 100% synced wit

  • "Enable Sap Business One Suggest" what is it?

    Hello experts, On General Settings> Display> there is an option at the bottom that says "Enable Sap Business One Suggest". Do you know what is for? I can't find any documentation. I have SAP B1 8.8 patch 19 hot fix Many thanks

  • How to get system tasks using Java?

    I have question about system tasks. I have to list all tasks which are working in the system. Is there any class which i useful to do that? I've tried to write shell script but it won't be working in system different than Linux. I will be grateful fo

  • Getting errors printing to PDF with Acrobat 8 in Leopard

    I get the following error when trying to print to PDF in Acrobat 8 under 10.5: "No %%BoundingBox: comment in header" What does this mean and how do I fix it? I have updated to 10.5.4 and Acrobat 8.1.2 with the same results. The error remains the same