ITPub博客

首页 > Linux操作系统 > Linux操作系统 > iasconsole Spawning defunct processes

iasconsole Spawning defunct processes

原创 Linux操作系统 作者:jiuniang012 时间:2009-07-21 23:13:36 0 删除 编辑
安装完GC10.2.0.4后启动iasconsole发现有很多[perl] 进程,而且都来自于一个父进程,

$ ps -ef | grep 11862
oracle   11862     1  0 22:30 pts/2    00:00:08 /u01/app/oracle/product/10.2.0/oms10g/perl/bin/perl /u01/app/oracle/product/10.2.0/oms10g/bin/emwd.pl iasconsole /u01/app/oracle/product/10.2.0/oms10g/sysman/log/em.nohup
oracle   12382 11862  0 22:36 pts/2    00:00:00 [perl]
oracle   12383 11862  5 22:36 pts/2    00:01:34 /u01/app/oracle/product/10.2.0/oms10g/bin/emagent
oracle   12490 11862  0 22:38 pts/2    00:00:00 [perl]
oracle   12551 11862  0 22:39 pts/2    00:00:00 [perl]
oracle   12629 11862  0 22:41 pts/2    00:00:00 [perl]
oracle   12689 11862  0 22:42 pts/2    00:00:00 [perl]
oracle   12745 11862  0 22:43 pts/2    00:00:00 [perl]
oracle   12801 11862  0 22:44 pts/2    00:00:00 [perl]
oracle   12841 11862  0 22:45 pts/2    00:00:00 [perl]
oracle   12881 11862  0 22:46 pts/2    00:00:00 [perl]
oracle   12922 11862  0 22:47 pts/2    00:00:00 [perl]
oracle   12965 11862  0 22:48 pts/2    00:00:00 [perl]
oracle   12999 11862  0 22:49 pts/2    00:00:00 [perl]
oracle   13077 11862  0 22:50 pts/2    00:00:00 [perl]
oracle   13165 11862  0 22:51 pts/2    00:00:00 [perl]
oracle   13643 11862  5 22:59 pts/2    00:00:15 /u01/app/oracle/product/10.2.0/oms10g/jdk/bin/java -Xmx256m -XX:+ForceTimeHighResolution -DORACLE_HOME=/u01/app/oracle/product/10.2.0/oms10g -Doracle.dms.sensors=NONE -Doracle.home=/u01/app/oracle/product/10.2.0/oms10g -Doracle.oc4j.localhome=/u01/app/oracle/product/10.2.0/oms10g/sysman -Doracle.sysman.emSDK.svlt.ConsoleMode=singleNode -Doracle.j2ee.dont.use.memory.archive=true -Djava.protocol.handler.pkgs=HTTPClient -Doracle.security.jazn.config=/u01/app/oracle/product/10.2.0/oms10g/sysman/j2ee/config/jazn.xml -Djava.security.policy=/u01/app/oracle/product/10.2.0/oms10g/sysman/j2ee/config/java2.policy -DEMDROOT=/u01/app/oracle/product/10.2.0/oms10g -Dsmiconfig=/u01/app/oracle/product/10.2.0/oms10g/dcm/config -DemLocOverride= -Dsysman.md5password=true -Drepapi.oracle.home=/u01/app/oracle/product/10.2.0/oms10g -Ddisable.checkForUpdate=true -Diasconfig_loc= -Djava.awt.headless=true -Doracle.sysman.refreshFlag=false -Dhttp.webdir.enable=false -jar /u01/app/oracle/product/10.2.0/oms10g/j2ee/home/oc4j.jar -config /u01/app/oracle/product/10.2.0/oms10g/sysman/j2ee/config/server.xml
oracle   13839 11862  0 23:00 pts/2    00:00:00 [perl]
oracle   13998 11862  0 23:02 pts/2    00:00:00 [perl]
oracle   14147 11862  0 23:03 pts/2    00:00:00 [perl]
oracle   14332 18354  0 23:03 pts/4    00:00:00 grep 11862


从网上搜到一种解决办法:
Stop the iasconsole.
1. Edit $ORACLE_HOME/bin/IASConsole.pm

2. Modify the following line line 506
from #my $ua = LWP::UserAgent->new(keep_alive=>1);
to my $ua = LWP::UserAgent->new;

3. Start the iasconsole.

重启后就解决了这问题,由于不懂perl也不知道为什么这能解决这问题。

来自 “ ITPUB博客 ” ,链接:http://blog.itpub.net/9466564/viewspace-609851/,如需转载,请注明出处,否则将追究法律责任。

请登录后发表评论 登录
全部评论

注册时间:2009-07-02

  • 博文量
    126
  • 访问量
    211262