Hi Carsten,
thanks for the attached patches. I'm not in my office for at least a
week, but once I'm back I'll try them and let you know.
Best regards,
Michael
Am 28.09.2011 19:47, schrieb Carsten Neumann:
Hello Michael,
On 09/28/2011 06:48 AM, Michael Raab wrote:
I'm quite sure that the right socket is removed from the socket list
and closed. I've prepared a quick and dirty example that should help
you to reproduce the problem.
The example includes our OSGExt library that contains our specific
class implementations of ClusterWindow and RenderServer. Additionlly
there are a ClusterClient and a ClusterServer application based on
the OSGExt lib included.
Usage:
- run startClient, startServer1, startServer2 from the run folder
- by pressing '1' or '2' you can disconnect either the first or the
second render server
By default the connectiontype is set to Multicast. Using this mode
client and server freeze after one server has been disconnected. If
you change the connectiontype to "StreamSock" (ClusterClient: line
105), the connection is still ok, after disconnecting one server.
I'm sending the complete source code offside the mailing list.
Hope this will help you to find the problem.
yes, it is of great help, thank you! I believe I've found the problem:
GroupMCastConnection keeps two additional vectors of SocketAdresses
(_receiver and _waitFor) and the latter is used to determine which
machine has outstanding ack packages. On a disconnect these vectors
where not updated so that the connection was still waiting for ack
packages from the disconnected machine.
I've attached a patch that corrects this and makes your examples work
for me. Would you mind giving it a try and letting me know if it fixes
the problem at your end as well? Thanks!
Cheers,
Carsten
------------------------------------------------------------------------------
All the data continuously generated in your IT infrastructure contains a
definitive record of customers, application performance, security
threats, fraudulent activity and more. Splunk takes this data and makes
sense of it. Business sense. IT sense. Common sense.
http://p.sf.net/sfu/splunk-d2dcopy1
_______________________________________________
Opensg-users mailing list
Opensg-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/opensg-users
------------------------------------------------------------------------------
All the data continuously generated in your IT infrastructure contains a
definitive record of customers, application performance, security
threats, fraudulent activity and more. Splunk takes this data and makes
sense of it. Business sense. IT sense. Common sense.
http://p.sf.net/sfu/splunk-d2dcopy1
_______________________________________________
Opensg-users mailing list
Opensg-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/opensg-users