杀掉当前运行的concurrent program

Oracle EBS的concurrent program通常可以通过"Submit Request Submission"表单来取消的,但有时会出现并未释放数据库session和process的情况。因此,需要手动kill并发进程来释放CPU memory。
1. Take the "request_id" of a Concurrent Program which is currently running or which is to be canceled from the database side.
2. Connect to SQLPLUS as APPS User :
SQL> SELECT ses.sid, ses.serial# ,pro.spid FROM v$session ses, v$process pro 
WHERE ses.paddr = pro.addr 
AND pro.spid IN (SELECT oracle_process_id FROM fnd_concurrent_requests WHERE request_id = &request_id);
Note : oracle_process_id is Unix PID and request_id is running concurrent program's request ID. If "sid" and "serial#" value is returning then it means that process is running at database level. When canceling a request from the "Submit Request Submission" form, then it should release associated database process and session but it doesn't mean that it will kill database process immediately. Database process will take their own time to validate concurrent program execution process that has been canceled and then it will kill database process. So ideally when canceling a request from "Submit Request Submission", wait for some time and then check associated database process.
3. Connect to SQLPLUS as the SYSTEM user:
SQL> ALTER SYSTEM KILL SESSION 'sid,serial#';
OR on Linux system user:
$ kill -9 <spid> 
  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值