Problem:
- Product Name: Borland Enterprise Server
- Product Version: 5.2.1
- Product Component: Naming Service
- Platform/OS Version: All
Naming is not able to resolve serial references. What we notice is that when it happens Naming is very busy, often causing CPU to run up to 100%. Error log shows something as the following:
[Tue Sep 06 15:49:56 CDT 2005] stderr: Writing 357 bytes at offset 0 to Socket[addr=/171.188.252.128,port=55697,localport=7300] timeout 0 msecs... complete
[Tue Sep 06 15:49:56 CDT 2005] stderr: IOR:IOR[type_id=IDL:omg.org/CosNamingExt/Cluster:1.0,profiles={com.inprise.vbroker.IIOP.ProfileImpl[version=1.2,host=171.188.82.205,port=7300,object_key=ServiceId[service=/CLUSTER_POAns_prd235,id={1 bytes: [4]},key_string=PMC/CLUSTER_POAns_prd235 4],components={nothing,OrbTypeComponent{type=1447645952},CodeSetComponent{ForCharData: native codeset=ISO 8859_1 conversion codesets=Null ForWcharData: native codeset=ISO UTF-16 conversion codesets=Null}}]}]
[Tue Sep 06 15:49:56 CDT 2005] stderr: trying to connect to : com.inprise.vbroker.poa.POABidder$Bid@52fcdd
[Tue Sep 06 15:49:56 CDT 2005] stderr: Writing 357 bytes at offset 0 to Socket[addr=/171.188.197.25,port=1809,localport=7300] timeout 0 msecs... complete
[Tue Sep 06 15:49:56 CDT 2005] stderr: IOR:IOR[type_id=IDL:omg.org/CosNamingExt/Cluster:1.0,profiles={com.inprise.vbroker.IIOP.ProfileImpl[version=1.2,host=171.188.82.205,port=7300,object_key=ServiceId[service=/CLUSTER_POAns_prd235,id={1 bytes: [4]},key_string=PMC/CLUSTER_POAns_prd235 4],components={nothing,OrbTypeComponent{type=1447645952},CodeSetComponent{ForCharData: native codeset=ISO 8859_1 conversion codesets=Null ForWcharData: native codeset=ISO UTF-16 conversion codesets=Null}}]}]
[Tue Sep 06 15:49:56 CDT 2005] stderr: trying to connect to : com.inprise.vbroker.poa.POABidder$Bid@573122
[Tue Sep 06 15:49:56 CDT 2005] stderr: Writing 357 bytes at offset 0 to Socket[addr=/171.188.197.23,port=3423,localport=7300] timeout 0 msecs... complete
[Tue Sep 06 15:49:56 CDT 2005] stderr: IOR:IOR[type_id=IDL:omg.org/CosNamingExt/Cluster:1.0,profiles={com.inprise.vbroker.IIOP.ProfileImpl[version=1.2,host=171.188.82.205,port=7300,object_key=ServiceId[service=/CLUSTER_POAns_prd235,id={1 bytes: [4]},key_string=PMC/CLUSTER_POAns_prd235 4],components={nothing,OrbTypeComponent{type=1447645952},CodeSetComponent{ForCharData: native codeset=ISO 8859_1 conversion codesets=Null ForWcharData: native codeset=ISO UTF-16 conversion codesets=Null}}]}]
Resolution:
It has been determined that the VisiBroker KeyId optimization may cause high CPU and memory consumption in certain cases and should be disabled. This capability is disabled by default in the latest VisiBroker versions.
Please set the property "vbroker.orb.enablekeyId=false" in all VisiBroker based applications including the Naming Service.
#Security
#VisiBroker