| Summary | How to avoid Orbixd process from getting killed in case of a slow DNS response? |
|---|---|
| Article Number | 29594 |
| Environment | Orbix 3.3.10 Solaris- 9 Orbix C Development |
| Question/Problem Description | Orbix uses a C function called "getthehostbyname" that forces DNS lookup. If a connection is established, then Orbix expects response in milliseconds. If there is an delay in the response time then the connection is refused. In case of a non-existent host/domain. Is there a way to avoid orbixd process to get killed in case of a slow DNS response? |
| Clarifying Information | |
| Error Message | usa0300ns004.na.xyz..net can't find "hostname": Non-existent host/domain |
| Defect/Enhancement Number | |
| Cause | |
| Resolution | If a remote call establishes a connection between the client and server, then there is a separate timeout on connection establishment that can be controlled by the connectionTimeout() function defined in class CORBA::ORB. The timeouts specified by CORBA::ORB::defaultTxTimeout() or CORBA::Environment::timeout() become effective once a connection is established. If the connection timing is not set, then the default is 30 milli secs. |
| Workaround | |
| Notes | More information can be found programmers guide: http://supportline.microfocus.com/Documentation/books/Orbix/33sp11/orbix_3311_prog_guide_c .pdf |
| Attachment |
| Created date: | 06 March 2012 |
|---|---|
| Last Modified: | 13 February 2013 |
| Last Published: | 12 May 2012 |
| First Published date: | 06 March 2012 |
#KnowledgeDocs
#Orbix


