Maximum number of concurrent connections using java sockets

How can we find out the maximum number of concurrent connections that can be handled by a pooled connection server?
I have a pooled server which creates a predefined number of handlers. Upon receiving a new request it accepts the connection and sends it to one of the handler.
The solution works well for low number of concurrent connections - < 50 or 100
But as the number increases there seems to be an issue
1. Ignoring request even if i increase the handlers
2. Increase in delay. [I feel that the listening thread is not getting the time slice to go read the socket for new requests]
Any idea as to how i can solve this?
Would an NIO socket help [am using the conventional java.io Serversocket, because my clients may not be non-blocking]??
Any help would be appreciated.
Anp

There is no set maximum, but it is in the thousands on most platforms. I have a production server that handles tens of thousands of connections simultaneously. Most likely you have a bug in your code.

Similar Messages

  • Adobe media server stand and adobe meidia server pro Maximum number of concurrent connections ?

    adobe media server stand and adobe meidia server pro Maximum number of concurrent connections ?

    Petro - you are alive - good news. Can you please contact Matt or I please, we'd be grateful mate - thanks - gavin

  • [Q] Maximum Number of Concurrent Connections to 1142 LAP

    We are having random issues of users not being able to connect to our wireless network consistently. The users will have successfully accessed the network previously but then will have difficulty associating to the network. After a period of time, the association appears successful again. My first thoughts were that there was a restriction on the number of clients that could associate to a given AP at any one time.
    This is the equipment we have:
    1x Cisco Wireless Control Server (WCS) 6.0.181.0
    4x Cisco 5508 Wireless LAN Controllers 6.0.196.0
    60x Aironet 1142N Lightweight Access Points (LAP)
    Is there a hard or recommended maximum number of clients per LAP? If so, where is this defined? From what I have read on these forums, Cisco apparently recommends about 25 clients per AP but I can not find any official documentation to support this.
    When I go to WCS Home > General > Top APs by Client Count, the top AP reports 20 clients. However, if I click on the AP Name and go to the Current Associated Clients tab, it is only listing 8 clients - why is this?
    Any help greatly appreciated.
    Thanks in advance.

    1.  What error messages do the clients get when they are having association/authentication issues?
    There is no error message on the client, it simply fails to connect instantly. On an Android phone, you see it constantly trying to connect, failing and trying to reconnect. After many attempts (at least 10) it may connect successfully. This appears to me that it may be related to aggressive load balancing - here is what I think may be happening:
    Client tries to connect to nearest LAP
    Nearest LAP has to many clients on associated (as detemrined by the RRM Thresholds > Max Clients setting) and so refuses the connection (and sends a code 17 response)
    Client attempts to connect to the next nearest LAP which is also too busy. It too rejects the connection.
    Client attempts to connect to the third nearest LAP which is also too busy. It too rejects the connection.
    And so on until it comes back to the first nearest LAP
    This LAP, which still has too many associated clients, rejects the connection for a second time (its RRM Thresholds > Min Failed Clients is set to 3)
    the clients tries the other APs and is also rejected as they are all set to reject connections for 3 times.
    Client goes round all the APs for a third time. still getting rejected.
    It then attempts a 4th connection to the nearest LAP and is allowed to associated as it is beyong the 3-attempt threshold for rejected connections.
    This is my understanding of Aggressive Load balancing and would seem to match the observed behaviour of the clients but I would like to know if this is correct and how I can verify that in the logs?
    This goes back to my first question, what is the max recommended number of clients for a 1142N LAP? Furthermore, is there any supporting documentation for this recommendation? Also, if I increase the RRM threshold Max clients to more than its default of 12, will the LAP accept more connections before rejecting them?
    I would also like an answer to my second question in the original post.
    2.  Are you using ACS/RADIUS/TACACS?
    We are using 802.1X with ACS for our corporate users on the corporate SSID but the behaviour described above is seen on guest clients that just use web passthrough (i am not sure if it is also on corporate clients, I have not seen any reports to that effect yet).

  • Maximum number of concurrent devices that could be used with embedde oracle

    Hi,
    How to know what will be the maximum number of concurrent devices that could be used with embedded oracle?
    Any help will be needful for me
    Thanks and Regards

    user598986 wrote:
    How to know what will be the maximum number of concurrent devices that could be used with embedded oracle?Please define 'embedded Oracle'.
    I assume you are talking about an Oracle-supplied database engine. Currently Oracle has several database engines: Oracle Database (Personal/Enterprise/Standard/Express); Oracle Berkeley Database; Oracle Times Ten Database; (iirc) InnoDB Transactional engine; and down the road possibly MySQL.
    Many people mean Berkeley when asking this kind of question, but sice you ask it in an Oracle Database forum as compared to a Berkeley engine forum, I am not quite sure.
    If you indeed mean 'Oracle Database', then it is a lecense question that needs to be discussed by you license people and Oracle sales.

  • Connecting to http web site using java socket

    Hi,
    Sockets in Java I believe are reusable. Once created, it can be used to send a request using its input stream and get back a response using the output stream. My problem is I am trying to connect to a website using java socket but I am unable to get a response (though the same works fine I use URL and URLConnection). Can anyone tell me whats wrong? Below is the client program:
    public class HttpAdapterTest {
         public static void main(String[] args) {
              try {
                   Socket socket = new Socket("www.google.com", 80);
                   BufferedWriter out = new BufferedWriter(
                                  new OutputStreamWriter(socket.getOutputStream()));
                   out.write("GET /help/basics.html HTTP/1.1");
                   out.flush();
                   BufferedReader in = new BufferedReader(
                                            new InputStreamReader(ucon.getInputStream()));
                   String line = null;
                   while((line = in.readLine()) != null) {
                        System.out.println(line);
                   in.close();
              } catch (Exception e) {
                   e.printStackTrace();
    }

    Look at the JSSE examples. You need to setup a key store, add the jsse jars to your classpath, yadda, yadda, yadda....

  • Limit number of concurrent connection

    is there a way for me to limit the number of concurrent
    connections to the media server. my upload bandwitdh is about a meg
    so having too many connections just kills the whole thing. i would
    like to put a limit at 5 connections. is there a way to do
    this?

    well i am only using flash media server to displaying videos
    and just that. the reason i went with media server vs. progressive
    was fullscreen method. since flash doesn't natively support
    fullscreen you have to open another browser in fullscreen with
    javascript. the problem with that is it start loading from
    beginning so i decided to go server that way it only has to buffer
    and get to the same point without having to load the whole video up
    to that point. Now i want to limit number people that can be
    watching the video. if i get more that 5 connection the whole thing
    slows down. i am not too familiar with server based connections so
    i don't know how to limit the number concurrent connections.

  • I can't enter a Site. Ihere is only a message: "Maximum number of open connections reached."

    If i want to go to a Site, i recive this: "Maximum number of open connections reached.
    " other Browser work. I have the Problem only with Firefox.

    Check the connection settings.
    *Firefox/Tools > Options > Advanced : Network : Connection > Settings
    *https://support.mozilla.org/kb/Options+window+-+Advanced+panel
    If you do not need to use a proxy to connect to internet then select "Use the system proxy settings" setting or select "No Proxy".
    See "Firefox connection settings":
    *https://support.mozilla.org/kb/Firefox+cannot+load+websites+but+other+programs+can

  • How do you set maximum number of concurrent users to OBIEE

    In a training session for the end users - only 4 users could connect - after this others could not connect - got NQS Error:100118 Access for the connection is refused

    As I don't see any configuration tag to specify concurrent users.
    Try this, go to connection pool (within RPD) and set the maximum number of connections, this does correspond to number of concurrent connections to database but not concurrent users.
    mark posts promptly.
    -bifacts
    http://www.obinotes.com
    J
    Edited by: bifacts on Dec 21, 2010 12:14 PM

  • Maximum Number of Concurrent User Sessions Limit?

    Please can you tell me if there is a limit for the maximum number of concurrent users sessions that can access the Portal? If so, where is the setting and how do I change it?
    By the way, I am not experiencing any issues; I am asking purely for information purposes
    Thanks.

    There used to be under one of the services in service configuration.  I thought it was under portal runtime, but I can´t see it now.  It mentioned it in the TZTEP1 course, but I haven´t got it with me.
    Having said that, I don´t know if it worked!
    Paul

  • Maximum number of concurrent users in RDC

    Hi
    Can anyone tell me what is the maximum number of concurrent users
    that can view reports running under RDC component ?
    thanks

    The RDC is limited to three concurrent processes. Only reason I was after the craxdrt.dll v.s. craxddrt.dll is that craxddrt requires extra licensing. Anyhow, the article [Crystal Reports XI Release 2 Component Licensing Explained|https://www.sdn.sap.com/irj/boc/index?rid=/library/uuid/804acc00-8364-2b10-b995-de99ca43c403&overridelayout=true] has more detailed information. I understand you are using CR 10 and the doc title is CR XI r2, but as far as the RDC the licensing details remain the same between the two versions.
    Ludek

  • How to get Maximum Number of Concurrent users for last few days?

    Hi,
    How I can get maximum number of concurrent users which were logged in to the system (ECC 5.0) I mean I want to check the hostory for last few weeks. Is there any way to get the same? I know that I can get Cumulative number of users in st03 under Expert mode but that is the number of users logged into the system during the day. Is there any place where SAP maintians the High Watermark of Number of concurrent users reached in the system?
    Thanks in advance...
    Regards,
    Pravin

    Sorry I really missed that I have posted a question here on sdn. I wanted to know this for planning the system hardware requirements. Activities like PM ( Performance Management ) happens once a year and during that activity we see heavy user loan on the system so if I have the exact stats of 1 or 2 years data I can size the system better next time. Fortunately last 2 years PM was very smooth for us. In that look for the improvement because each time we had little extra Harware. By doing the exact analysis we can save a Cost of ownership...
    I was looking for R/3 users. I could see the number in st07 but I want to know the exact number at particular time.. I believe that st07 stores only for few days.
    Thanks
    Pravin

  • How do you increase the maximum number of migration batches using EAC?

    When I try to run a new batch, I'm getting the following error message:
    The maximum number of migration batches is already running. Please remove a batch before you add another one.
    How do I increase the maximum number of migration batches using EAC? Thanks for your help.

    Hi WinndowsGuy,
    Is there any update on this thread?
    Thanks,
    Please remember to mark the replies as answers if they help and unmark them if they provide no help. If you have feedback for TechNet Subscriber Support, contact
    [email protected]
    Simon Wu
    TechNet Community Support

  • Maximum number of concurrent users

    What is the maximum number of concurrent users any single given Airport can handle? I believe it is ten...
    Thank you!

    If the AirPort is configured to create a wireless network, the AirPort Express can handle up to 10 users. The AirPort Extreme and Time Capsule will handle up to 50.

  • Maximum number of concurrent users that can connect to a SQL DB

    I see various SQL DB plan S0, S1, S2 and P1, P2 and P3.  Each one of them talk about DTU's but never talk about the max number of concurrent users.  Where can I find that number and is it configurable by the end user?

    It is the maximum connection that is most important. Best practice is not to have users holding on to their connection for long period of time. Maximum user connection in SQL is 32767, resource permitting. Not sure for Azure SQL. If you follow best
    practice, you are not supposed to hit this limit cause other limits will be hit first.
    Frank

  • Maximum number of concurrent WCF connections on Windows 7

    I have a WCF service hosted on Windows 7 Pro operating system.
    I would like to know if there is some OS restriction for the number of concurrent WCF clients from different IP addresses that interacts with my service. My WCF service could be run under a dedicated console process or under a Windows Service.
    I know that there is a 20 limit of concurrent inbound connections to the MS services (like IIS, File Service, Print Services, etc.), but I have my own custom service that I want to use. 
    If there is some OS restrictions related to my case, which are the restrictions when using Windows Server OS?
    Thanks,

    Hi,
    There is no any restriction about the Windows Operating System. The configuration of
    maxConcurrentCalls, maxConcurrentSessions, and
    maxConcurrentInstances only depends on your CPU cores.
    Set maxConcurrentCalls, maxConcurrentSessions, and
    maxConcurrentInstances to a value greater than 16 * the number of CPUs or CPU cores. For example, on a computer with 8 CPU cores, set
    maxConcurrentCalls, maxConcurrentSessions, and
    maxConcurrentInstances to a value greater than 128 (16 * 8 = 128) as follows:
    <serviceThrottling
    maxConcurrentCalls="200"
    maxConcurrentSessions="200"
    maxConcurrentInstances="200" />
    For more detailed information, please read these articles:
    WCF configuration default limits, concurrency and scalability
    http://weblogs.asp.net/paolopia/wcf-configuration-default-limits-concurrency-and-scalability
    Optimizing WCF Web Service Performance
    https://msdn.microsoft.com/en-us/library/ee377061(v=bts.70).aspx
    Karen Hu
    TechNet Community Support

Maybe you are looking for

  • Why did so many permissions need to be repaired after Mavericks?

    Here's my story regarding Repairng Permissions; its seems a repair is the only thing keeping my Mac running. I've a Mac Book Pro 15" Spring 2011, been doing the upgrades etc ever since, but after Mavericks upgrade I was having issues never seen befor

  • Firefox crashes because of access violation

    Whenever I try to open Firefox, it crashes. Last crash report, http://crash-stats.mozilla.com/report/index/3367c5f0-74cd-4ef4-beba-31b052100622 Any ideas how I can fix this? Thanks, Mads == Crash ID(s) == 3367c5f0-74cd-4ef4-beba-31b052100622

  • SAP delivered standard BADI for custom extracts in R3

    Hello Friends, I sthere any SAP delivered standard BADI that can be implemented for custom extracts in SAP R3. Thanks Simmi

  • Printing DVT Components

    So, I'm getting together some estimates for using a few dvt: components (pieGraph, horizontalBar graph, etc...) using 11.1.1.3 and was wondering if there is an easy way to make these graphs printable? I know that you can make them printable via firef

  • Mail Preferences not remembered...

    My mail preferences are not being remembered when mail is reopened, even the email default to send from is not remembered, all folders with in Mail when opened are collapsed & no signatures are in place. Brand new iMac, mail was imported from Macbook