终止EBS并发请求后,解锁相关的进程。 还有种方法可以在PLSQL->tools->session 中找到并且kill

Every concurrent Request uses some resources for running. If we find that the concurrent request is taking long time and decided to terminate the concurrent request , the resources may not be released soon. These processes are called runaway processes. So we need to manually kill the processes at database and os level to have the resources released to the system. Terminate the concurrent request from the front end. Then

  1. SQL>select request_id,oracle_process_id,os_process_id from fnd_concurrent_requests
  2. where request_id=’&Req_Id’;
  3. SQL>select p.spid , s.sid , s.serial# from v$session s , v$process p
  4. where s.paddr = p.addr and s.process = &os_process_id ;
  5. SQL> alter system kill session session-id,session-serial $ kill -9 <server pid>
  1. SELECT qt.user_concurrent_queue_name,
  2. fcr.Request_Id Request_id,
  3. fu.User_name,
  4. p.spid,
  5. s.sid || ',
  6. ' || s.serial# SIDSERIAL,
  7. SUBSTR(Fcpv.Concurrent_Program_Name || ' – ' ||
  8. Fcpv.User_Concurrent_Program_Name,
  9. 1,
  10. 46) Program,
  11. TO_CHAR(fcr.actual_start_date, 'mm/dd hh24:mi') actual_start_date,
  12. phase_code,
  13. status_code,
  14. TO_CHAR(TRUNC(SYSDATE) + (SYSDATE - fcr.actual_start_date),
  15. 'hh24:mi:ss') duration
  16. FROM apps.Fnd_Concurrent_Queues Fcq,
  17. apps.fnd_concurrent_queues_tl qt,
  18. apps.Fnd_Concurrent_Requests Fcr,
  19. apps.Fnd_Concurrent_Programs Fcp,
  20. apps.Fnd_User Fu,
  21. apps.Fnd_Concurrent_Processes Fpro,
  22. v$session s,
  23. v$process p,
  24. apps.Fnd_Concurrent_Programs_Vl Fcpv
  25. WHERE phase_code = 'C'
  26. AND status_Code = 'X'
  27. AND s.paddr = p.addr
  28. AND fcr.requested_by = user_id
  29. AND fcq.application_id = qt.application_id
  30. AND fcq.concurrent_queue_id = qt.concurrent_queue_id
  31. AND userenv('lang') = qt.language
  32. AND fcr.os_process_id = s.process
  33. AND fcr.Controlling_Manager = Concurrent_Process_Id
  34. AND (fcq.concurrent_queue_id = fpro.concurrent_queue_id AND
  35. fcq.application_id = fpro.queue_application_id)
  36. AND (fcr.concurrent_program_id = fcp.concurrent_program_id AND
  37. fcr.program_application_id = fcp.application_id)
  38. AND (fcr.concurrent_program_id = fcpv.concurrent_program_id AND
  39. fcr.program_application_id = fcpv.application_id)

(转)How To Kill runaway processes After Terminating Concurrent Request的更多相关文章

  1. How to Kill All Processes That Have Open Connection in a SQL Server Database[关闭数据库链接 最佳方法] -摘自网络

    SQL Server database administrators may frequently need in especially development and test environmen ...

  2. fuser - identify processes using files or sockets

    FUSER(1) User Commands FUSER(1) NAME fuser - identify processes using files or sockets SYNOPSIS fuse ...

  3. Program 3 – CS 344

    Program 3 – CS 344OverviewIn this assignment you will write your own shell in C, similar to bash. No ...

  4. Worker Thread

    http://www.codeproject.com/Articles/552/Using-Worker-Threads Introduction Worker threads are an eleg ...

  5. 《Oracle Applications DBA 基础》- 9 - Concurrent Processing[Z]

    <Oracle Applications DBA 基础>- 9 - Concurrent Processing================================== 参考资料 ...

  6. 《Oracle Applications DBA 基础》- 9 - Concurrent Processing

    来自:http://www.itpub.net/thread-1411293-1-4.html <Oracle Applications DBA 基础>- 9 - Concurrent P ...

  7. Oracle Applications DBA 基础(二)

    6.OAM及系统管理 2014年9月13日 20:40 参考资料: 1.Oracle Applications System Administrator's Guide - Configuration ...

  8. 基于CentOS与VmwareStation10搭建Oracle11G RAC 64集群环境

    1.资源准备 最近,在VmwareStation 10虚拟机上,基于CentOS5.4安装Oracle 11g RAC,并把过程记录下来.刚开始时,是基于CentOS 6.4安装Oracle 11g ...

  9. 使用cgroups来控制内存使用

    磨砺技术珠矶,践行数据之道,追求卓越价值 回到上一级页面:PostgreSQL内部结构与源代码研究索引页    回到顶级页面:PostgreSQL索引页 [作者 高健@博客园  luckyjackga ...

随机推荐

  1. 如何让一个类可以被foreach枚举?

    答:实现IEnumerable或其IEnumerable<T>.该接口只有一个函数 public IEnumerator GetEnumerator(); 在这里,IEnumerator也 ...

  2. Ubuntu14.04安装Ubuntu Tweak

    第一步:添加tweak源 sudo add-apt-repository ppa:tualatrix/ppa 第二步:更新 sudo apt-get update 第三步:安装ubuntu-tweak ...

  3. Web前端学习过程

    推荐学习网站www.freecodecamp.cn http://www.w3school.com.cn/ 步骤: 作者:张帅 知乎链接:https://www.zhihu.com/question/ ...

  4. 对称、非对称加密算,openssl生成证书(笔记)

    对称加密算法 1.密钥只有一个,加密和解密都需要同一个密钥2.DES,IDEA,AES3.明文+密钥=密文, 密文+密钥=明文4.加密速度快,系统开销小,适用大量数据的加密 非对称加密算法1.密钥由公 ...

  5. 用Java实现简单的web服务器

    运行结果: 1.WebServer.java文件 package webserver; import java.io.*; import java.net.*; public class WebSer ...

  6. 2016huasacm暑假集训训练四 DP_B

    题目链接:http://acm.hust.edu.cn/vjudge/contest/125308#problem/M 题意:有N件物品和一个容量为V的背包.第i件物品的费用是体积c[i],价值是w[ ...

  7. java面试问题整理-垃圾回收

    对于GC来说,当程序员创建对象时,GC就开始监控这个对象的地址.大小以及使用情况.通常,GC采用有向图的方式记录和管理堆(heap)中的所有对象,通过这种方式确定哪些对象是"可达的" ...

  8. buy

    <script type="text/javascript"> var is_enabled = -1; var checkSubmitFlg = false; var ...

  9. 总结-javascript-ajax

    <html><head><meta charset="utf-8"><script type="text/javascript& ...

  10. 「iOS造轮子」之UIButton 用Block响应事件

    俗语说 一个不懒的程序员不是好程序员 造轮子,也只是为了以后更好的coding. coding,简易明了的代码更是所有程序员都希望看到的 无论是看自己的代码,还是接手别人的代码 都希望一看都知道这代码 ...