Skip to main content

Summary Orbix server hanging on reading incoming message.
Article Number 15079
Environment UNIX Orbix 3.3
Question/Problem Description Orbix server hanging on reading incoming message.
A slow client appears to hang an Orbix system
Clarifying Information
Error Message
Defect/Enhancement Number
Cause Orbix only has one network thread by default.
Resolution

This can be solved by

- specify Orbix.IT_READ_TIMEOUT in server configuration (orbix3.cfg), and

- configure for more than one network thread using Orbix. IT_DEF_NUM_NW_THREADS in orbix3.cfg

These two workarounds can be applied individually. By configuring IT_READ_TIMEOUT the server will not wait forever if a request is not properly sent but timeout. Specifying >1 network thread will not block other clients from  sending their requests, if the server waits for more data from another client.

Workaround
Notes

The threading model is explained in the Orbix C Programmer's Guide, chapter "Using Threads with Orbix". In particular also check the sub-chapter "Changing Internal Orbix Thread Creation".

You can access the Orbix 3.3 documentation from the link below:

http://supportline.microfocus.com/productdoc.aspx

Attachment

Created date: 06 September 2011
Last Modified: 13 February 2013
Last Published: 23 June 2012
First Published date: 10 September 2011

#Orbix
#KnowledgeDocs