From Sap:
Stopping Run-Away or "Bad" Work Processes
1. Log on to any client in the appropriate SAP system.
2. Go to transaction SM50.
3. On the Process Overview screen, find the process which must be
stopped. Place a √ in the □ to the left of the process number
to be stopped by pressing Space. On the top-most menu bar,
click the Process → Cancel without core.
4. Click the blue arrow circle picture-icon to refresh the Process
Overview screen until the stopped process has cleared from the
display.
5. You may now leave the SM50 transaction.
If
this does not kill the process, you can go to transaction SM04 and kill
the user's session. If this does not kill the process, you can log on
to the server, open a Task Manager session, and End the Process. If this
does not kill the session, there is an executable in the RUN directory
on the server called sapntkill.exe. Run it providing the process ID
number. If none of the above work, you have no choice but to "bounce"
the SAP instance and/or possibly the serve
From OS Level(HP-UX or SOLARIS):
1) Login as <SID>adm
#ps –ef | grep <SID>adm
ps -ef |grep idsadm
idsadm 7310 7309 0 23:00:38 pts/3 0:00 ps -ef
idsadm 4201 1 0 Mar 17 ? 0:05
/usr/sap/IDS/DVEBMGS00/exe/sapstartsrv
pf=/usr/sap/IDS/SYS/profile/IDS_DVEBMGS0
idsadm 4254 4212 0 Mar 17 ? 0:13 dw.sapIDS_DVEBMGS00 pf=/usr/sap/IDS/SYS/profile/IDS_DVEBMGS00_mhilides
idsadm 4253 4212 0 Mar 17 ? 0:01 ms.sapIDS_DVEBMGS00 pf=/usr/sap/IDS/SYS/profile/IDS_DVEBMGS00_mhilides
idsadm 4212 1 0 Mar 17 ? 0:00
/usr/sap/IDS/DVEBMGS00/exe/sapstart
pf=/usr/sap/IDS/SYS/profile/START_DVEBMGS00
idsadm 7207 7203 0 22:59:44 pts/3 0:00 -sh
idsadm 4255 4212 0 Mar 17 ? 0:00 co.sapIDS_DVEBMGS00 pf=/usr/sap/IDS/SYS/profile/IDS_DVEBMGS00_mhilides -F
idsadm 4256 4212 0 Mar 17 ? 0:00 se.sapIDS_DVEBMGS00 pf=/usr/sap/IDS/SYS/profile/IDS_DVEBMGS00_mhilides -F
idsadm 4257 4212 0 Mar 17 ? 0:00 ig.sapIDS_DVEBMGS00
-mode=profile pf=/usr/sap/IDS/SYS/profile/IDS_DVEBMGS00_mhi
idsadm 4258 4257 0 Mar 17 ? 0:42
/usr/sap/IDS/DVEBMGS00/exe/igsmux_mt -mode=profile -restartcount=0
pf=/usr/sap/
idsadm 4259 4257
0 Mar 17 ? 0:21 /usr/sap/IDS/DVEBMGS00/exe/igspw_mt
-mode=profile -no=0 -restartcount=0 pf=/usr
idsadm 4260 4257 0 Mar 17 ? 0:21
/usr/sap/IDS/DVEBMGS00/exe/igspw_mt -mode=profile -no=1 -restartcount=0
pf=/usr
idsadm 4263 4254 0 Mar 17 ? 0:02 gwrd -dp pf=/usr/sap/IDS/SYS/profile/IDS_DVEBMGS00_mhilides
idsadm 4264 4254 0 Mar 17 ? 0:02 icman -attach pf=/usr/sap/IDS/SYS/profile/IDS_DVEBMGS00_mhilides
idsadm 6221 4254 0 Mar 18 ? 12:47 dw.sapIDS_DVEBMGS00 pf=/usr/sap/IDS/SYS/profile/IDS_DVEBMGS00_mhilides
idsadm 4266 4254 1 Mar 17 ? 50:02 dw.sapIDS_DVEBMGS00 pf=/usr/sap/IDS/SYS/profile/IDS_DVEBMGS00_mhilides
idsadm 4267 4254 1 Mar 17 ? 38:57 dw.sapIDS_DVEBMGS00 pf=/usr/sap/IDS/SYS/profile/IDS_DVEBMGS00_mhilides
idsadm 6095 4254 1 Mar 18 ? 21:34 dw.sapIDS_DVEBMGS00 pf=/usr/sap/IDS/SYS/profile/IDS_DVEBMGS00_mhilides
idsadm 6184 4254 0 Mar 18 ? 16:14 dw.sapIDS_DVEBMGS00 pf=/usr/sap/IDS/SYS/profile/IDS_DVEBMGS00_mhilides
idsadm 6193 4254 1 Mar 18 ? 18:30 dw.sapIDS_DVEBMGS00 pf=/usr/sap/IDS/SYS/profile/IDS_DVEBMGS00_mhilides
idsadm 4271 4254 1 Mar 17 ? 42:12 dw.sapIDS_DVEBMGS00 pf=/usr/sap/IDS/SYS/profile/IDS_DVEBMGS00_mhilides
idsadm 6801 4254 1 10:46:39 ? 7:31 dw.sapIDS_DVEBMGS00 pf=/usr/sap/IDS/SYS/profile/IDS_DVEBMGS00_mhilides
idsadm 5623 4254 1 Mar 18 ? 14:06 dw.sapIDS_DVEBMGS00 pf=/usr/sap/IDS/SYS/profile/IDS_DVEBMGS00_mhilides
idsadm 6158 4254 0 Mar 18 ? 1:52 dw.sapIDS_DVEBMGS00 pf=/usr/sap/IDS/SYS/profile/IDS_DVEBMGS00_mhilides
idsadm 4275 4254 0 Mar 17 ? 0:04 dw.sapIDS_DVEBMGS00 pf=/usr/sap/IDS/SYS/profile/IDS_DVEBMGS00_mhilides
idsadm 4276 4254 0 Mar 17 ? 0:00 dw.sapIDS_DVEBMGS00 pf=/usr/sap/IDS/SYS/profile/IDS_DVEBMGS00_mhilides
idsadm 4277 4254 0 Mar 17 ? 0:16 dw.sapIDS_DVEBMGS00 pf=/usr/sap/IDS/SYS/profile/IDS_DVEBMGS00_mhilides
idsadm 4278 4254 0 Mar 17 ? 0:00 dw.sapIDS_DVEBMGS00 pf=/usr/sap/IDS/SYS/profile/IDS_DVEBMGS00_mhilides
idsadm 4279 4254 0 Mar 17 ? 0:00 dw.sapIDS_DVEBMGS00 pf=/usr/sap/IDS/SYS/profile/IDS_DVEBMGS00_mhilides
idsadm 4280 4254 0 Mar 17 ? 0:08 dw.sapIDS_DVEBMGS00 pf=/usr/sap/IDS/SYS/profile/IDS_DVEBMGS00_mhilides
idsadm 4281 4254 0 Mar 17 ? 0:00 dw.sapIDS_DVEBMGS00 pf=/usr/sap/IDS/SYS/profile/IDS_DVEBMGS00_mhilides
idsadm 7309 7207 0 23:00:38 pts/3 0:00 grep idsadm
idsadm> dpmon
dpmon=>sapparam(1c): No Profile used.
dpmon=>sapparam: SAPSYSTEMNAME neither in Profile nor in Commandline
Dispatcher Queue StatisticsSat Mar 19 17:30:54 2011
===========================
+------+--------+--------+--------+--------+--------+
| Typ | now | high | max | writes | reads |
+------+--------+--------+--------+--------+--------+
| NOWP | 0 | 14 | 2000 | 151119 | 151119 |
+------+--------+--------+--------+--------+--------+
| DIA | 0 | 7 | 2000 | 114521 | 114521 |
+------+--------+--------+--------+--------+--------+
| UPD | 0 | 102 | 2000 | 2345 | 2345 |
+------+--------+--------+--------+--------+--------+
| ENQ | 0 | 0 | 2000 | 0 | 0 |
+------+--------+--------+--------+--------+--------+
| BTC | 0 | 1 | 2000 | 2 | 2 |
+------+--------+--------+--------+--------+--------+
| SPO | 0 | 3 | 2000 | 3592 | 3592 |
+------+--------+--------+--------+--------+--------+
| UP2 | 0 | 0 | 2000 | 0 | 0 |
+------+--------+--------+--------+--------+--------+
max_rq_id34311
wake_evt_udp_now0
wake events total267415, udp241301 ( 90%), shm 26114 ( 9%)
since last updatetotal267415, udp241301 ( 90%), shm 26114 ( 9%)
q - quit
m - menue
--> m
Dispatcher-Monitor-Menue
------------------------
d - dispatcher queue statistics
p - work-process-admin-table
l - work-process-admin-table (long)
t - trace level/components for wp
w - wp_ca blocks
a - appc_ca blocks
b - dump binary content of shared memory blocks
c - comm adm blocks
m - mbuf status
s - service buffer status
v - tm_ad dump
z - sys_ad dump
q - quit
--> p
Workprocess TableSat Mar 19 17:31:16 2011
=================
No Ty. Pid Status Cause Start Err Sem CPU Time Program Cl User
----------------------------------------------------------------------------------
0 DIA 6221 Run yes 0 0 4 000 SAPSYS
1 DIA 4266 Run yes 0 0 41 SAPLSUGP 000 SAP*
2 DIA 4267 Run yes 0 0 41 SAPLSUGP 000 SAP*
3 DIA 6095 Run yes 0 0 38 SAPLSUGP 000 SAP*
4 DIA 6184 Wait yes 0 0 0
5 DIA 6193 Run yes 0 0 0 000 SAP*
6 DIA 4271 Run yes 0 0 52 SAPLSUGP 000 SAP*
7 DIA 6801 Run yes 0 0 75 SAPLSUGP 000 SAP*
8 DIA 5623 Run yes 0 0 71 SAPLSUGP 000 SAP*
9 DIA 6158 Wait yes 0 0 0
10 UPD 4275 Wait yes 0 0 0
11 ENQ 4276 Wait yes 0 0 0
12 BTC 4277 Stop ARFC yes 0 0 402 RSPARAGE 000 SAP*
13 BTC 4278 Wait yes 0 0 0
14 BTC 4279 Wait yes 0 0 0
15 SPO 4280 Wait yes 0 0 0
16 UP2 4281 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
# k <PIDnumber: ex: 6193>
Regards,
Alihamed.sa
No comments:
Post a Comment