MaxConnectionsPerServer

Tech Tip: Click here to run a free scan for Windows Errors and optimize PC performance



Hi,

In Windows (XP and possibly other versions too), there is a registry key named "MaxConnectionsPerServer" allowing you to specify how many concurrent connections per client to a server are allowed. The default is 2.

This means that I can only have two parallel connections to a server inside a browser window, or from multiple browser windows if they run in the same IE instance (same process).

We are currently investigating the use of web services to keep a connection to the server open, in order to react more quickly to incoming alarms. In our scenario, we would send a web service request, and then wait on the server until an alarm comes in, or until the timeout comes. Immediately after the response arrives on the client, we would send the next request.

However, we are confronted with the limitation described above. This limit can be changed in the registry (up to 24), but it's not a viable solution in the web case (you may not modify the client's registry).

My questions:
- Is that limit really the big issue that we foresee in the case of web services?
- Is there a workaround?
- If we manage to change it on the client, what is the risk by setting this value to the maximum? (24)
- Did we miss something?

Thanks,
Laurent
--
Laurent Bugnion, GalaSoft
Software engineering: http://www.galasoft-LB.ch
Private/Malaysia: http://mypage.bluewin.ch/lbugnion
Support children in Calcutta: http://www.calcutta-espoir.ch
.



Relevant Pages

  • Re: multi-threaded server
    ... A client doesn't need anything fancy. ... alternatives to selectyou'd likely prefer in Windows: ... Microsoft MVP, MCSD ... throughput if the number of simultaneous connections were limited to ...
    (microsoft.public.win32.programmer.networks)
  • Re: Multiple machines connected to one windows server 2003 for development
    ... OS that is not Windows :-) -- just be careful what client you chose for RDP ... allow 2 simultaneous connections. ... So if you have 1 user working on server, ...
    (microsoft.public.windows.server.general)
  • RE: DSL & Dialup Not Working Under W2K
    ... After a remote client establishes a connection by using Dial-Up Networking, ... A "cannot find server or DNS" error occurs. ... Windows 2000 LAN clients cannot map a network drive to the server. ... If you use Registry Editor incorrectly, ...
    (microsoft.public.win2000.networking)
  • Re: Network shares issue
    ... > the server with the shares on it, not the client accessing the shares. ... > Windows NT and Windows 2000+ use two different Autodisconnect parameters; ... > for disconnecting LAN connections. ... > Server Service Configuration and Tuning: ...
    (microsoft.public.windows.server.networking)
  • Re: Windows logs off when logging on
    ... Edit the Userinit via the network ... Windows XP Shell/User ... Windows 2000 Group Policy Registry Table: ... I hope to retrieve the list, if the client had not thrown ...
    (microsoft.public.windowsxp.general)