Results 1 to 4 of 4

Thread: Server unexpectedly stopping TcpAcceptor

  1. #1
    SimonMartin is offline Registered User
    Name: Simon Martin
    Organization: RBS
    Project: FX
    Join Date
    Nov 2009
    Posts
    2

    Server unexpectedly stopping TcpAcceptor

    Hi folks

    We are using Ice 3.2.1

    Our server runs for a period of time then we see something in STDERR like: "Network: stopping to accept tcp connections at .........." after which the server stops listening on the designated port (basically rendering it useless). A thread dump reveals that the server thread pool threads and connection manager threads are running as usual.

    Any idea why this is happening? We have changed our Network Trace to 2 from 1 to see if there's anything else we can pick up to determine what is going on.

    We are running the exact same process on different kit (on a different network) with no issues.

    Is it possible that a low-level unhandled (or logged) error in the Ice runtime is causing the issue?

    Many thanks
    Simon

  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 Simon,

    This is most likely a spurious wake-up problem with the JDK selector. Under rare circumstances, the Java selector select() method returns even if there are no FDs ready for reading. If select() returns an empty key set, Ice interprets it as "no activity" and shuts down the object adapters (as if Ice.ServerIdleTime was set to a non-0 value).

    We have added a workaround for this JDK problem in Ice 3.3.x. I'll send you by email a patch for Ice 3.2.1.

    Cheers,
    Benoit.

  3. #3
    vitali is offline Registered User
    Name: VITALI ROMBALSKI
    Organization: NYSE
    Project: Spreader
    Join Date
    Jun 2011
    Posts
    1

    Network: stopping to accept tcp connections...

    I am having the same issue as described above.
    How do I get a patch for 3.2.x?
    Or better off, should I consider an upgrade to 3.3.x?

  4. #4
    bernard's Avatar
    bernard is offline ZeroC Staff
    Name: Bernard Normier
    Organization: ZeroC, Inc.
    Project: Ice
    Join Date
    Feb 2003
    Location
    Palm Beach Gardens, FL
    Posts
    1,294
    Hi Vitali,

    Welcome to our forums! I will email you this patch together with patch instructions.

    It could also make more sense for you to upgrade to the latest Ice version available, currently Ice 3.4.1.

    Best regards,
    Bernard
    Bernard Normier
    ZeroC, Inc.

Thread Information

Users Browsing this Thread

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

Similar Threads

  1. Unexpectedly large message
    By myrosia in forum Help Center
    Replies: 11
    Last Post: 12-16-2010, 04:06 PM
  2. Ice in a DLL fails unexpectedly?
    By ddunn in forum Help Center
    Replies: 9
    Last Post: 10-04-2006, 05:38 PM
  3. Error when stopping an Ice-based Windows service
    By dwolfe5272 in forum Help Center
    Replies: 14
    Last Post: 06-30-2005, 03:45 PM

Posting Permissions

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