[omniORB] Server hangs
Mike Olson
Mike.Olson@fourthought.com
Tue, 28 Nov 2000 22:19:28 -0700
This is a multi-part message in MIME format.
--------------E52A159059F5AC7E3B43D9B3
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
Hello,
We have been experiencing a concurrency problem with omniORB 3.02,
omniORBpy 1.2, python 1.5.2 and RedHat 7.0 & 6.2. The call to _this()
does not seem to be thread safe, if more then one thread calls _this on
an object, the entire server hangs. Attached is a test case that seems
to show this (unless I'm missing something). untar, compile the IDL,
run ServerImp.py, and a few (2 or more) instances of Client.py. Some
times it runs for a few minutes, sometimes it hangs within seconds. If
you notice the code, there is not a heck of a lot going in the code,
just object creation. Also, in the function "create" on the Factory, if
we uncomment the thread safe lock, we can have many clients run forever.
Has anyone seen behaviour like this before? Are we doing something
wrong? I thought at first it might be a problem with the latest
greatest gcc, that's why we tried it on RedHat 6.2.
Any help is appreciated.
Mike
--
Mike Olson Principal Consultant
mike.olson@fourthought.com (303)583-9900 x 102
Fourthought, Inc. http://Fourthought.com
Software-engineering, knowledge-management, XML, CORBA, Linux, Python
--------------E52A159059F5AC7E3B43D9B3
Content-Type: application/octet-stream;
name="Server.tgz"
Content-Transfer-Encoding: base64
Content-Disposition: attachment;
filename="Server.tgz"
H4sIAIyPJDoAA+1XW2vbMBTO6/wrREexA8Gzc7FhpQ9dxkZha0f7WIpQHDnV6kiZrLQrY/99
R7bs2GlDskFatumDVvXRueno6JN6SeUdlW86+0QQDIN4NIIxCOJo2BoNOkHcD8MwiKIg6gRh
GA/iDhrtNSuDZa6IRKgzF1ku+Ga9bfN/KS7L/R9njHLlLx72ESMIgyAaDjftfxiO+o39h7/D
wSiE/Q/2kcw6/vP9Z/OFkAqNzy/enfTQWORnZM74zDHysj0cR8gJOi61fPiFGWfKu7ruNUSn
77vOQhBQA2Vf0lxkd7RQZCTDkqZUUp7Q3Du4EEJ9OT85KPQ/E05mVIIZfPh4RhVWNxTDvJnx
mmo+SRS7I4qCVIKbHa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