12
返回列表 发新帖
楼主: lwitpub

[原创] 求助:很多perl.exe进程占用大量CPU

[复制链接]
论坛徽章:
19
授权会员
日期:2005-10-30 17:05:33马上有对象
日期:2014-02-19 11:55:14马上有钱
日期:2014-02-19 11:55:14马上有房
日期:2014-02-19 11:55:14马上有车
日期:2014-02-19 11:55:142012新春纪念徽章
日期:2012-02-13 15:11:522012新春纪念徽章
日期:2012-02-13 15:11:522012新春纪念徽章
日期:2012-02-13 15:11:522012新春纪念徽章
日期:2012-02-13 15:11:522012新春纪念徽章
日期:2012-02-13 15:11:52
11#
发表于 2008-5-9 21:27 | 只看该作者

Re:

9楼提供的Note 很有用.

我再多说两句: 这些perl 进程是干什么用的呢? 一般来说,分为三种:
1. Agent自身的watchdog, 检测agent的健康状况. dbconsole 的agent是embedd的.
2. 后台收集Metric信息,并且上传到repository
3. 一些数据库操作是用perl 脚本(调用DBI模块)实现的,因为这些操作都需要和OS交互,
而perl正好是跨平台应用的.

如果其中一个或多个操作很费时,就会出现CPU占用过高的问题.

[ 本帖最后由 LoveWinter 于 2008-5-9 21:28 编辑 ]

使用道具 举报

回复
论坛徽章:
1
ITPUB新首页上线纪念徽章
日期:2007-10-20 08:38:44
12#
发表于 2008-8-18 10:03 | 只看该作者
http://forums.oracle.com/forums/ ... art=15&tstart=0
我刚才碰到我的机器是300多个perl进程,cpu 100%使用。
可能是oem的bug,据说打补丁可以解决!

使用道具 举报

回复
论坛徽章:
2
生肖徽章2007版:虎
日期:2009-03-10 21:27:072011新春纪念徽章
日期:2011-02-18 11:43:35
13#
发表于 2008-9-19 15:46 | 只看该作者
我的是10203的, win2000中系統盤C:改成了G:后,出現Perl.exe的CUP 100%
按下面的方法解決了

謝謝了

有問題我修正下:
四個文件正確路徑是
%ORACLE_HOME%sysman/admin/scripts/db/db_common.pl
%ORACLE_HOME%sysman/admin/scripts/db/db_instance.pl
%ORACLE_HOME%sysman/admin/scripts/db/net/listenerUtil.pl
%ORACLE_HOME%sysman/admin/scripts/db/net/netAdmin.pl





原帖由 cc59 于 2008-5-7 11:20 发表
楼主可以参考一下这个方法,


from metalink:


PERL Perl.Exe using too much Cpu Resources
  Doc ID:  Note:392059.1 Type:  PROBLEM
  Last Revision Date:  19-SEP-2006 Status:  REVIEW_READY

In this Document
  Symptoms
  Cause
  Solution
  References



--------------------------------------------------------------------------------

@ (AuthWiz 2.4) Created from SR 16659628.600 with ODM
@ Click here to edit in wizard.   


Applies to: Oracle Server - Enterprise Edition - Version: 10.2.0.2.0
This problem can occur on any platform.
Symptomsperl. exe program that is launched with the EM DBConsole is eating up all of their cpu resources -
50% processing and all RAM.


.
Verified the issue by the customer problem description, which shows that when the customer stop or
kill the EM DBConsole Service, the high CPU usage disappers.








CauseThere are system files that reference the c: drive when setting variables. There is no c: drive on
the system.

Bug 5005739 specified that the following files reference the c: drive which must be present:

%ORACLE_HOME%sysmanadminscriptsdbdb_common.pl
%ORACLE_HOME%sysmanadminscriptsdbdb_instance.pl
%ORACLE_HOME%sysmanadminscriptsdb
etlistenerUtil.pl
%ORACLE_HOME%sysmanadminscriptsdb
et
etAdmin.pl

Also chacke to make sure the TMP and TEMP system varialbes are set to a location where the drive exists






SolutionIf the c: drive does not exist then to implement the solution, please execute the following steps:

1. Change all references of c: over to e: (or a drive that exists) in the following files:

%ORACLE_HOME%sysmanadminscriptsdbdb_common.pl
%ORACLE_HOME%sysmanadminscriptsdbdb_instance.pl
%ORACLE_HOME%sysmanadminscriptsdb
etlistenerUtil.pl
%ORACLE_HOME%sysmanadminscriptsdb
et
etAdmin.pl

2. Make sure the TMP and TEMP system variables are set to a location that exists with at least
125Mb of free space. In this case TMP and TEMP should reference a temp directory on the e: drive.

Start Menu -> Settings -> Control Panel -> System -> Advanced -> Environment Variables

[ 本帖最后由 haoyuanfen 于 2008-9-19 15:48 编辑 ]

使用道具 举报

回复
论坛徽章:
10
生肖徽章2007版:马
日期:2008-09-21 12:37:06ITPUB9周年纪念徽章
日期:2010-10-08 09:34:022010新春纪念徽章
日期:2010-03-01 11:07:212009日食纪念
日期:2009-07-22 09:30:00ITPUB北京2009年会纪念徽章
日期:2009-02-09 11:42:45八级虎吧徽章
日期:2008-12-08 16:10:57每日论坛发贴之星
日期:2008-10-06 01:01:54授权会员
日期:2008-09-28 22:57:33生肖徽章2007版:马
日期:2008-09-26 23:20:07IT宝贝
日期:2010-10-14 10:32:51
14#
发表于 2008-9-23 22:36 | 只看该作者
看看

使用道具 举报

回复

您需要登录后才可以回帖 登录 | 注册

本版积分规则 发表回复

TOP技术积分榜 社区积分榜 徽章 团队 统计 知识索引树 积分竞拍 文本模式 帮助
  ITPUB首页 | ITPUB论坛 | 数据库技术 | 企业信息化 | 开发技术 | 微软技术 | 软件工程与项目管理 | IBM技术园地 | 行业纵向讨论 | IT招聘 | IT文档
  ChinaUnix | ChinaUnix博客 | ChinaUnix论坛
CopyRight 1999-2011 itpub.net All Right Reserved. 北京盛拓优讯信息技术有限公司版权所有 联系我们 未成年人举报专区 
京ICP备16024965号-8  北京市公安局海淀分局网监中心备案编号:11010802021510 广播电视节目制作经营许可证:编号(京)字第1149号
  
快速回复 返回顶部 返回列表