Go Back   ZeroC Forums > Help Center

Reply
 
LinkBack Thread Tools Rate Thread Display Modes
  #1 (permalink)  
Old 03-04-2008
Andrew S Andrew S is offline
Registered User
 
Name: Andrew Solodovnikov
Organization: Moscow State technical University
Project: simple grid-like system
 
Join Date: Feb 2008
Posts: 17
WSAECONNREFUSED with intensive connections

Hi.

Pattern: we have 700 clients, and sequentally instruct them to connect to the server, for example, ~100 connections per second - eq pattern length ~7 sec. When we reach 300-400 connect count some clients can't connect with

Network.cpp:664: Ice::ConnectionRefusedException:
connection refused: WSAECONNREFUSED.


Trace with level 2 at client:
[ 03/04/08 12:32:05.020 Network: trying to establish tcp connection to <addr>:10000 ]
[ 03/04/08 12:32:05.973 Network: trying to establish tcp connection to <addr>:10000 ]


and all.

Btw, sometimes on connected clients we see this trace at the beginning of the trace log, so it seems, that connection status somehow badly interpreted by ICE, or something wrong with the server connect acceptor (we can't enable trace on it, coz it has GUI interface).

We have tried other frameworks with this pattern: TAO, WCF, ominORB - no such problems.

Target platform: windows 2003, 1 gb optical network.

Thanks!
Reply With Quote
  #2 (permalink)  
Old 03-04-2008
benoit's Avatar
benoit benoit is offline
ZeroC Staff
 
Name: Benoit Foucher
Organization: ZeroC, Inc.
Project: Ice
 
Join Date: Feb 2003
Location: Rennes, France
Posts: 1,542
Hi Andrew,

This is a known issue that will be fixed in Ice 3.3.0. To fix this in the meantime, you can replace the line _backlog = 5 with _backlog=SOMAXCONN in src/Ice/TcpAcceptor.cpp and src/IceSSL/AcceptorI.cpp. The TCP/IP listen backlog will be configurable in Ice 3.3.0 (with a default value of SOMAXCONN).

Cheers,
Benoit.
Reply With Quote
  #3 (permalink)  
Old 03-04-2008
Andrew S Andrew S is offline
Registered User
 
Name: Andrew Solodovnikov
Organization: Moscow State technical University
Project: simple grid-like system
 
Join Date: Feb 2008
Posts: 17
Thanks, it's seems will solve this issue.

Andrew Solodovnikov
Reply With Quote
Reply



Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On

Similar Threads
Thread Thread Starter Forum Replies Last Post
Connections Issue #9 marc Announcements 0 12-06-2005 01:21 PM
Connections Issue #8 marc Announcements 0 11-01-2005 11:54 PM
Connections Issue #7 marc Announcements 0 10-03-2005 12:32 PM
Connections Issue #5 marc Announcements 0 08-02-2005 11:33 AM
Connections Issue #4 marc Announcements 0 07-01-2005 08:01 AM


All times are GMT -4. The time now is 10:36 AM.


Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Search Engine Optimization by vBSEO 3.0.0
(c) 2008 ZeroC, Inc.