Results 1 to 5 of 5

Thread: timeout and connection lost problem

  1. #1
    rayeuy is offline Registered User
    Name: jiang
    Organization: channelsoft
    Project: tnss
    Join Date
    Nov 2006
    Posts
    13

    timeout and connection lost problem

    our program is under load test, during our test we found that the following error message were generated sometimes. The first 11 lines are logs generated by our applciation program, and the last line is error message generated by icegridnode:
    2007-06-04 09:02:59 Ice::TimeoutExceptionOutgoing.cpp
    2007-06-04 09:02:59 Ice::TimeoutExceptionOutgoing.cpp
    2007-06-04 09:02:59 Ice::TimeoutExceptionOutgoing.cpp
    2007-06-04 09:02:59 Ice::TimeoutExceptionOutgoing.cpp
    2007-06-04 09:02:59 Ice::TimeoutExceptionOutgoing.cpp
    2007-06-04 09:02:59 Ice::TimeoutExceptionOutgoing.cpp
    2007-06-04 09:02:59 Ice::TimeoutExceptionOutgoing.cpp
    2007-06-04 09:03:05 Ice::ConnectionLostExceptionTcpTransceiver.cpp
    2007-06-04 09:03:05 Ice::ConnectionLostExceptionTcpTransceiver.cpp
    2007-06-04 09:03:05 Ice::ConnectionLostExceptionTcpTransceiver.cpp
    2007-06-04 09:03:05 Ice::ConnectionLostExceptionTcpTransceiver.cpp

    06/04/07 09:03:06.125 a node with the same name is already active with the replica `Master'

    what leads to these errors? network error or something other?

    when will "a node with the same name is already active with the replica `Master'" be generated?

  2. #2
    benoit's Avatar
    benoit is offline ZeroC Staff
    Name: Benoit Foucher
    Organization: ZeroC, Inc.
    Project: Ice
    Join Date
    Feb 2003
    Location
    Rennes, France
    Posts
    2,196
    Hi,

    This usually shouldn't happen if there's no network connectivity issue between the registry and node. The message indicates that the registry rejected the node registration because it thinks it's already registered.

    You can enable the following properties in the node and registry configuration files to figure out why this occurs:


    IceGrid.Node.Trace.Replica=2 # In the node config file
    IceGrid.Registry.Trace.Node=2 # In the registry config file
    Cheers,
    Benoit.

  3. #3
    rayeuy is offline Registered User
    Name: jiang
    Organization: channelsoft
    Project: tnss
    Join Date
    Nov 2006
    Posts
    13
    thanks for your reply,benoit

    i think there must be some network connectivity issues during our test learning from the error messages.At first, TimeoutException and ConnectionLostException was caught for request, and at the same time,i think, the contact between registry and node was lost too; then the node try to contact with registry and regist itself.
    But i still have a problem, form the stderr.txt of rgistry, i find:
    [ 06/04/07 08:57:47.607 Node: node `CSESrvModule1' down ]
    [ 06/04/07 08:57:47.607 Node: node `CSESrvModule1' up ]
    (the time of computer on which rgistry runs is several minites later than that of computer on which node runs)

    the above shows that the registry has detected down of the node, so why registry rejected the node registration?

  4. #4
    benoit's Avatar
    benoit is offline ZeroC Staff
    Name: Benoit Foucher
    Organization: ZeroC, Inc.
    Project: Ice
    Join Date
    Feb 2003
    Location
    Rennes, France
    Posts
    2,196
    I would need more information to be able to answer your question. Do you have the traces of the node where it indicates that it lost connectivity with the registry? The best would be to reproduce the problem with the traces I've indicated above and post the relevant traces here. You should also correctly setup the clock on both machines so that it's easier to read the traces.

    Cheers,
    Benoit.

  5. #5
    rayeuy is offline Registered User
    Name: jiang
    Organization: channelsoft
    Project: tnss
    Join Date
    Nov 2006
    Posts
    13
    thanks again,benoit

    i am very sorry that i don't have any traces of the node where it indicates that it lost connectivity with the registry at this moment. Our test is running right now and it will last several days, so i can't change the config of node and restart the node. I will do some test a few days later, if the problem still exist, I will collect tracies you mentioned aboved and post them here.

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. connection timeout
    By laoong in forum Help Center
    Replies: 1
    Last Post: 08-30-2010, 12:45 AM
  2. Howto modify connection timeout for AdminPrx?
    By jharriot in forum Help Center
    Replies: 3
    Last Post: 08-19-2010, 05:53 PM
  3. Intermittent lost connection exception
    By jharriot in forum Help Center
    Replies: 2
    Last Post: 12-23-2009, 06:33 PM
  4. Connection Lost between Client and Server
    By shenhongzhou in forum Help Center
    Replies: 2
    Last Post: 10-09-2009, 10:50 AM
  5. Problem : Connection lost Exception
    By Ylliac in forum Help Center
    Replies: 4
    Last Post: 03-05-2008, 11:15 AM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •