10g Listener: High CPU Utilization - Listener May Hang [ID 284602.1]Symptoms1) If the listener is hanging, a sqlnet trace (level 16) will show that the last operation was a fork.[000068 28-SEP-2004 14:16:17:398] sntpcall: entry[000068 28-SEP-2004 14:16:17:401] sntpcall: detaching from parent with additional fork 68 bytes to NS buffer2) netstat -na reports numerous (maybe thousands) of sockets associated with port 6100 in a TIME_WAIT status127.0.0.1.6100 127.0.0.1.55228 49152 0 49152 0 TIME_WAIT127.0.0.1.6100 127.0.0.1.55229 49152 0 49152 0 TIME_WAIT127.0.0.1.6100 127.0.0.1.55230 49152 0 49152 0 TIME_WAIT127.0.0.1.6100 127.0.0.1.55231 49152 0 49152 0 TIME_WAIT127.0.0.1.6100 127.0.0.1.55232 49152 0 49152 0 TIME_WAIT3) "sdtprocess" (Solaris), or "top" show that the listener process (tnslsnr) is using a large amount of cpu.ID Name Owner CPU% RAM Size Started Parent-----------------------------------------------------------------------------------------------21145 tnslsnr mseibt 44 9440 22368 13:36:03 1 /u01/app/oracle/product/10.1.0/bin/tnslsnr LISTENER -inherit4) The 10g(iAS) $ORACLE_HOME/opmn/log on the same system shows the following repeating error in the ons logs:04/10/01 13:30:43 [4] Local connection 0,127.0.0.1,6100 missing form factor04/10/01 13:30:43 [4] Local connection 0,127.0.0.1,6100 missing form factor04/10/01 13:30:43 [4] Local connection 0,127.0.0.1,6100 missing form factor04/10/01 13:30:43 [4] Local connection 0,127.0.0.1,6100 missing form factor04/10/01 13:30:43 [4] Local connection 0,127.0.0.1,6100 missing form factorChanges- Both 10g(iAS) and Oracle 10g(rdbms) are installed on the same system.- Oracle 10g (non-RAC) is installed on a system with or without other Oracle installations.CauseThe Oracle Notification Server (ONS) running in the 10g(iAS) home uses the ports defined in $ORACLE_HOME/opmn/conf/ons.config. The database listener, which is an ONS client, also utilizes the ONS ports identified in its own $ORACLE_HOME/opmn/conf/ons.config. When 10g(iAS) and 10g(rdbms) are installed on the same box, the installer will mistakenly configure identical ONS ports in both homes which creates an operational conflict when both the 10g(iAS) ONS and 10g(rdbms) listener services are running.In non-RAC environments where Oracle 10g is the only Oracle product on the system, the existence of the ons.config may still cause a hang condition in the listener.SolutionThis issue is corrected in versions 10.2.0.3 and higher.(or apply backport patch <<4518443>>)You may also use either of the following 2 workarounds to address this problem:1) In the 10g(rdbms) home, rename the $ORACLE_HOME/opmn/conf/ons.config file (so that the listener does not find or use it).For example:cd $ORACLE_HOME/opmn/confmv ons.config ons.config.orig(then restart the listener)- or -2) Explicitly disable the 10g TNS Listener from subscribing to the ONS.Edit the active 10g listener.ora file and add the parameter below:SUBSCRIBE_FOR_NODE_DOWN_EVENT_=OFFwhere would be replaced with the actual listener name configured in the listener.ora file.For example, if the listener name is LISTENER (default), the parameter would be:SUBSCRIBE_FOR_NODE_DOWN_EVENT_LISTENER=OFF(then restart the listener)ReferencesBUG:3881276 - LISTENER HANGS INTERMITTANTLY AFTER APPLYING 10.1.0.3 PATCHSETBUG:6017068 - PMON SPINNING IN NETWORKING CODE
oracle lsnr重启不了,Linux Oracle 10.2.0.1 lsnrctl无法启动
最新推荐文章于 2021-05-03 00:40:43 发布