EMAGENT defunct spawns on an Application Server 10.1.2.0.2
Alot of emagent defunct processes are spawned on an Application Server 10.1.2.0.2.
[oracle@xxx bin]$ ps -ef | grep defunct
…
oracle 18274 10893 0 Mar11 ? 00:00:17 [emagent]
oracle 28218 10893 0 Mar12 ? 00:00:18 [emagent]
oracle 5595 10893 0 Mar27 ? 00:00:12 [emagent]
oracle 19773 10893 0 Apr06 ? 00:00:25 [emagent]
oracle 11317 10893 0 Apr21 ? 00:00:15 [emagent]
oracle 30937 10893 0 Apr22 ? 00:00:14 [emagent]
oracle 9499 10893 0 Apr24 ? 00:00:13 [emagent]
oracle 14341 10893 0 May08 ? 00:00:15 [emagent]
oracle 500 10893 0 May15 ? 00:00:17 [emagent]
oracle 20530 10893 0 May21 ? 00:00:12 [emagent]
oracle 19296 10893 0 Jun11 ? 00:00:13 [emagent]
oracle 22293 10893 0 Jun14 ? 00:00:13 [emagent]
oracle 2288 10893 0 Jun18 ? 00:00:13 [emagent]
…
This can be traced back to the iasconsole process that calls for a “Windows_NT” file which is not available on the server.
[oracle@xxx bin]$ ps -ef | grep 10893
oracle 10893 1 0 Feb10 ? 00:01:02 /u00/oracle/product/10.1.2/as/perl/bin/perl /u00/oracle/product/10.1.2/as/bin/emwd.pl iasconsole /u00/oracle/product/10.1.2/as/sysman/log/emiasconsole.nohup
This is causing the system to spawn defunct processes which intime will cause the server to hang.
Solution wil be to :
( perform as the oracle user )
Stop the iasconsole by executing “./emctl stop iasconsole” on the commandline from the $ORACLE_HOME/bin
cd $ORACLE_HOME/bin
touch Windows_NT
chmod 544 Windows_NT
Start the iasconsole by executing “./emctl start iasconsole” on the commandline from the $ORACLE_HOME/bin
(Reference : BUG 5504078 EMWD.PL SPWANS DEFUNCT PERL PROCESSES AFTER OMS PATCH 10.1.2.0.2)

Comments are closed.