What to set maximum simultaneous connection to?

Hello
What do I set maximum simultaneous connection to (web server settings)? In Apache manual you can calculate "maxClient" by taking the avaiable free RAM and split that with the memory each httpd process using. In my case that would be: 6000 / 15 = 400 maxClient.
But in Apples "Web tech admin" pdf they write: "...Browsers often request several parts of a webpage at the same time, and each request creates a connection". Does that really mean that every image need a separate connection – or have I missunderstand anything?
At the moment I have it set to the default 1024. But, CPU usage is very often in the 90-100% region… So, should I go by Apache's definition or Apples default?
Best regards, Magnus

You'll want to look at where the CPU time is going across everything that is going on, and at how much memory is in use; at a more holistic approach toward tuning.  Unless you're getting a substantial load on Apache or unless you're very marginal on available memory, tweaking the maximum processes isn't usually a huge win.
If you are looking at comparatively large volumes of http traffic and that 90-100% CPU is largely web-related, then you'll want to profile the server using the Safari or other tools, and look at optimizations and at web caching, and potentially at adding web servers.
And yes, a web browser can have multiple parallel connections into a web server.
The maximum connections stuff sets up the numbers of Apache http client processes, which is why you're looking at memory with that discussion you've found.
Something similar to this command will get you the accumulated CPU time and the memory (rss) size for the Apache processes:
ps -A -o ucomm,rss,time | grep -i httpd
There are Apache tuning articles around the 'net, but I'd first make sure it's Apache that's soaking up the CPU time and not some other constraint.

Similar Messages

  • Maximum Simultaneous Connections lower than 5?

    XIR2 on Windows: on the webi report server, the lowest value I can use for the setting "Maximum Simultaneous Connections" is 5.
    Is there any way I can change this manually, possibly in the registry so this value can be set as "1"?
    Thanks in advance
    R

    The important thing to realize about wireless is that it's a shared medium and only one device can transmit at any one time on a given channel so the number of users per AP will depend largely on what sort of traffic you'll be putting over the wireless.
    If you expecting it to replace structured cabling in an office environment then you can probably expect quite a bit of data, especially if you have a Windows domain and fat clients.
    I wouldn't put more than 7 - 15 users per radio (depending on load)
    If you install a dual radio AP - something like an 1142a/g/n, then you can split the users between the two frequencies (assuming that some of the clients support 802.11a) and if they support N then that's even better
    For that number of users I would strongly suggest you install 3x APs (dual radio), that way you can have 3 non over-lapping channels in the 802.11g frequency and will be able to provide the best possible performance to the users
    As a side note you should also connect the APs to Gigabit ports so that you get the benefit of the higher throughputs provided by 802.11n
    Cheers,
    John
    Sent from Cisco Technical Support iPad App

  • Maximum Simultaneous Connections??

    In the server admin for Leopard it has a default 1024 for maximum simultaneous connections. The most you can enter in the server admin is 2048.
    Is there a way to edit some files to allow for 10,000 simultaneous connections?

    Specifically which service are you talking about?
    I'm guessing you're talking about web services, but it's important to say so because each service has its own set of limits.
    That said, 1024 is a LOT of connections for any web server. Don't forget that only applies to actual active connections - people downloading a page from your server. Once the page is served the connection is available for some other user. It may take the original user a few seconds to read the page before they click a link and go to the next page.
    For reference, I run many sites with millions of page views per month and most of my servers sit in single, or maybe double-digit numbers of active connections at a time.
    If you think your site is really going to have thousands of simultaneous active users you probably need to look at what you're doing and scale across multiple servers rather than trying to run that much traffic through a single machine.

  • Maximum simultaneous connections for WRT350N

    Hi,
    What is the maximum number of simultaneous connections that the WRT350N router can handle whilst allowing 1 user to surf the internet?
    I need to know this so I can set the maximum number of connections in uTorrent. My upload speed is 1.1 mbps, which is roughly 140 kBps.
    The PC has a direct connection to the router, the wireless has been turned off.

    There is no such defined number of user for TCP/IP connection.However,you can try to tweak the settings on the application and check if that helps.read this link and this link.

  • WiFi Hotspot Maximum Simultaneous Connection

    Hello,
    does anybody know how many simultaneous connections can be made with an iPhone Wifi Hotspot?
    Thanks, cheers

    CDMA model: 5, GSM model: 3.

  • Maximum JMS Connections

              Hi,
              I would like to know what is the maximum JMS connections weblogic server can
              handle anytime. And where do we set this parameter? we have a group of Message
              Listeners listening to a Queue on weblogic by opening JMS connections at the same
              time. So I was wondering how many JMS clients can Weblogic handle?? And also does
              it impact the performance of weblgic server.
              Thanx,
              Sankas
              

              Thanks for the information guys. It was very helful.
              -Sankas
              Tom Barnes <[email protected]> wrote:
              >Each remote JVM to the WL server multiplexes network calls over a single
              >socket
              >connection, and each remote JVM may have many JMSConnections into the
              >WL server. A
              >single server can support thousands of remote JVMs, and tens of thousands
              >of
              >JMSConnections -- even with the default thread-pool sizes. Clustering
              >and
              >distributed destinations can help one scale higher. Of course, performance
              >and
              >scalability are highly application and hardware dependent, and the best
              >thing to do
              >is create a benchmark that emulates your particular apps characteristics
              >and see
              >how it scales...
              >
              >Tom, BEA
              >
              >Sankas wrote:
              >
              >> Shean,
              >> I did not have anything in mind. But if you see the weblogic console
              >there
              >> is a default parameter "JMS Thread Pool Size = 15" under the Server
              >section in
              >> the services/JMS Tab .
              >> I thought this was the JMSConnections count in the server.
              >> Well I think it would be good to know how far can we go
              >> with the JMS connections thing.
              >>
              >> Thanx,
              >> Sankas
              >>
              >> "Shean-Guang Chang" <[email protected]> wrote:
              >> > It will depend on the memory resource you used for the JVM (both
              >WLS
              >> >server
              >> >and client). There is no design limit for this. Do you have a number
              >> >in
              >> >mind?
              >> >"Sankas" <[email protected]> wrote in message
              >> >news:[email protected]...
              >> >>
              >> >> Hi,
              >> >> I would like to know what is the maximum JMS connections weblogic
              >> >server can
              >> >> handle anytime. And where do we set this parameter? we have a group
              >> >of
              >> >Message
              >> >> Listeners listening to a Queue on weblogic by opening JMS connections
              >> >at
              >> >the same
              >> >> time. So I was wondering how many JMS clients can Weblogic handle??
              >> >And
              >> >also does
              >> >> it impact the performance of weblgic server.
              >> >>
              >> >> Thanx,
              >> >> Sankas
              >> >
              >> >
              >
              

  • What is the maximum number of users that can be simultaneously connected to a shared drive on an Airport Extreme

    What is the maximum number of users that can be simultaneously connected to a shared drive on an Airport Extreme?

    50
    I haven't tried this, but imagine that things are going to be quite slow.

  • What is the maximum number of Active Connection in SSG 7206VXR?

    Hi,
    What is the maximum number of SSG Host or active connection (show ssg service package) for Cisco 7206VXR which running with NPE-G1? The SSG is deploying with Web-login and the TCP-Redirect, Port-bundle and Pass-through is enabling. The SSG is to handling IP session authentication. The SSG is binding Gigabit Ethernet.
    The current version of IOS is show as below.
    Cisco IOS Software, 7200 Software (C7200-ADVIPSERVICESK9-M), Version 12.4(9)T1, RELEASE SOFTWARE (fc2)
    Thanks,
    Chia

    To set the maximum number of services per user, use the ssg maxservice command in global configuration mode. To reset the maximum number of services per user to the default, use the no form of this command. ssg maxservice number and no ssg maxservice
    If you want to know more please click following URL:
    http://www.cisco.com/en/US/products/sw/iosswrel/ps5187/products_command_reference_chapter09186a008017cf59.html

  • AIR-LAP1131AG-E-K9 maximum of simultaneous connections

    Hi,
    Does any body know what is the maximum of simultaneous connections that the AIR-LAP1131AG-E-K9 access point supports?
    Any help is much appreciated!

    Currently it is suggested around 25 devices per radio. It really depends on the bandwidth that is required by applications. I have seen 50+ on and ap with just web and email traffic. I have also seen up to 4 with video transfers.
    I know with the 7.2 code, you can specify they max user per radio or ap.
    Sent from Cisco Technical Support iPhone App

  • Is there a risk of setting a console connection timeout and what is the recommended setting?

    Is there a risk of setting a console connection timeout and what is the recommended setting? Please suggest if there is any best prctice documentation that can be referred.

    Hi Henrik
    depend on what you need or what your security policy says for my lab gear i use 60 minutes. because i know how can access this. if you have gear outside in insecure space set it to a minimum or disable the console. everybody how can access your gear can break in. simple restart and boot w/o config. and you are in.
    it realy depends how secure is your space and how much security you need.
    and than the settings for policy have to match, what sec do you have if your console login and logout is secure. but when you restart you can simple break in by starting w/o config and than load it.
    HTH
    Patrick

  • What's the maximum ammount of connection the Stratus can support

    i wonder as if the Stratus service has a limit of connections.
    also wonder as if it is stable enough to ran when i try to use it in a project like realtime web game.

    at this time Stratus has no limit on the number of connections a developer may use.  we ask that if you will have more than 10,000 simultaneous connections that you contact us first.
    while Stratus has historically been quite stable, it is a non-production-quality, beta, free, "as-is" experimental service.  it is for experimental, developer, non-commercial use only.

  • DPS simultaneous connection help

    I'm running DPS 5.2 SP3. I have 2 network groups, the first one is for anonymous access only. The first group has an on SSL bind action to change network groups to the SSL only group, which requires SSL. This is required, to restrict password based bind's on the insecure 389 LDAP port, but still allow anonymous non ssl connections to DPS. I.e password based binds are rejected on 389, but accepted on 636. Anonymous binds can connect on either 389 or 636.
    Problem occurs if you try and restrict the number of simultanous connections per IP address. This setting works on the first anonymous network group, but fails on the second SSL group. The counter will start at 1, but it won't reset back to zero after an unbind.
    Example: The counter for IP :xxx is now 1 and the limit is 5. On the 6th bind, the logs then complain and say:
    The counter for IP: xxx is now 6 and the limit is 5, maximum number of connections from same IP reached for this group: Change group failing.
    Has anyone had a similar problem? I had a ticket with Sun back in september, and they never resolved the problem, and told me I was running the lastest ldapfwd binary. I'm not even sure what the latest ldapfwd binary is, since it's very difficult to find any information on sunsolve.

    albert geven wrote in message news:<[email protected]>...
    > The connection of multiple multimeters to the gpib bus is normal, the
    > only thing you need to do is switch them each to a unique address on
    > this bus.
    > Your program can best initialise all multimeters once in the beginning
    > of your program and read out those meters when appropriate.
    With many instruments there are two types of "initialise."
    One type, which is a reset, choose range, etc., as you suggest can
    be done at the beginning of a program or section of a program.
    However, the other type of initialize is to sent the SCPI INIT command
    to the instrument. This command tells the instrument to take a measurement
    (or scan of measurements).
    When dealing with multiple multimeters, there are at least 2 ways of
    handling measurements. The slow way deals with one instrument at a
    time -- using the SCPI commands INIT, wait FETCH?, or perhaps just READ?
    sent to each instrument. It is slow because each instrument must wait
    for the previous instrument to finish before it can start.
    The better way is to set up each instrument for the desired measurement.
    If simultaneous triggering is needed, either use some type of external
    trigger or BUS trigger if the instrument can use it. After all instruments
    are set up, issue the INIT command to each instrument, then trigger.
    when all measurements are completed, use the FETC? command to get the
    results from each instrument. Note that there may be Plug&Play drivers
    to issue these commands for your instrument.
    [email protected]
    www.CompleteTest.com

  • LDAP max simultaneous connections

    Hi,
    I've got an Ironport C600 6.5.3-007
    I set up one LDAP server profile with a maximum number of simultaneous connections of 50.
    When I run a netstat command in CLI it appears to have 150 LDAP connexions established to the server.
    Do you have any idea on why it doesn't display only 50?
    Thank you
    Arnaud

    I think I've got my answer, actually 3 out of 4 Ironport were still with the version 6.5.0. The one which is in 6.5.3 displays 52 connections.
    Here is what I found in the release Note for the 6.5.3 update
    Fixed: LDAP Connections Greatly Exceed the Maximum Specified in the LDAP Server Profile
    Previously, LDAP connections greatly exceeded the maximum specified in the LDAP server
    profile. For example, if you set the maximum LDAP connection to 10, then the system would
    open 30 connections: 10 for the IronPort Spam Quarantine, 10 for the end-user quarantine,
    and 10 for the end-user quarantine UI. The fix reduced end-user quarantine and end-user
    quarantine UI connections to one each. Now, for example, if you set the maximum LDAP
    connection to 10, then the system opens only 12 connections: 10 for the IronPort Spam
    Quarantine, 1 for the end-user quarantine, and 1 for the end-user quarantine UI. Or if
    external authentication is enabled, then the system opens 22 connections: 10 for external

  • Setting maximum packet size in JDBC driver to send data to database

    Could someone tell me how I can set the JDBC connection property of maximum packet size to send data to database?
    Regards
    Rashed

    Hi thanks....I'm having this strange SQLException while trying to insert BLOB image data to Oracle database. I'm saying this strange because for the same image that has been inserted before it's throwing the exception. My program is run from Oracle form and then some image data are inserted into database through a loop. I can't realize what's the problem inside my code that's causing this problem. In fact, when I run my program independently not from Oracle Form, it runs fine, every image data get inserted into database. Given below is my code snippet:
    public void insertAccDocs(String[] accessions) throws SQLException
        for(int q=0; q<accessions.length; q++)
        final String  docName = accessions[q];
        dbThread = new Thread(new Runnable(){
        public void run()
          try{
          System.out.println("insertDB before connection");
                   getConnected();
                   System.out.println("insertDB after connection");
                   st=con.createStatement();
             //String docName = acc; commented
         // String docName = singleAccession;
                   String text = formatFree;
                   String qry = "INSERT INTO DOCUMENT VALUES
    ('"+docName+"','"+text+"','"+formatted+"','"+uiid+"')";
                   System.out.println("parentqry"+qry);
                   int ok=0;
                   ok=st.executeUpdate(qry);
                   if(ok==1)
                System.out.println("INSERTION SUCCESS= "+ok);
                        System.out.println("Image List Size"+ imgList.size());
                // inserting into child
                        for(int i=0;i<imgList.size(); i++)
                      String imgPath = ""+imgList.get(i);
                                  System.out.println("db"+imgPath);
                                  FileInputStream fin = new FileInputStream(imgPath);
                                  BufferedInputStream bufStr = new BufferedInputStream(fin);
                                  byte[] imgByte = new byte[bufStr.available()];
                                  String img = "" + imgNameList.get(i);
                                  System.out.println("imgid="+i);
                callable = con.prepareCall("{call prc_insert_docimage(?,?,?)}");
                callable.setString(1,docName);
                            callable.setString(2,img);
                callable.setBinaryStream(3, bufStr , (int)imgByte.length);
                callable.execute();
            callable.close();
                     con.commit();
            con.close();
                   else
                        System.out.println("INSERTION NOT SUCCESS");
       //   } //else end of severalAcc
                   }catch(Exception err){ //try
                        System.out.println(err.toString());
        } //run
      }); //runnable
      dbThread.start();     
    }And the exception thrown is :
    java.sql.SQLException: Data size bigger than max size for this type: #####
    Please let me know if possible how I can get around this.
    Regards
    Rashed

  • Does NET8 2-tier server have a simultaneous connection limit ?

    Does NET8 2-tier server have a simultaneous connection limit ?
    I came across one article that has a 100 simultaneous connection listing for 2-tier.
    Please let me know
    George

    Yes, My WRT610N is currently using both 2.4Ghz and 5.0Ghz at the same time. I'm using WPA2 Private with AES on both frequencies. I'm currently getting 135mbps on both frequencies. Both are stable at 30 feet but the Actual throughput is better on the 2.4Ghz frequency and also range.
    I think the reason that i'm restricted to 135mbps is the Intel wifi link 5100 can only transfer at a maximum of 150 mbps.
    This router has always been stable although i did loose my network one night it dived to 6mbps for apparently no reason at all. But i believe that this issue was due to an update on my Laptop. I fixed this by removing the Wifi adapter drivers and reinstalling them.
    5 G Network
    Mode:   Wireless-N Only     
    Network Name (SSID):   N/A    
    Radio Band:   Wide - 40MHz Channel     
    Wide Channel:   38     
    Standard Channel:   36     
    Security:   WPA2-Personal      
    SSID Broadcast:   Enabled  
    2.4 G Network
    Mode:   Mixed     
    Network Name (SSID):   N/A 
    Radio Band:   Wide - 40MHz Channel     
    Wide Channel:   8     
    Standard Channel:   6     
    Security:   WPA2-Personal      
    SSID Broadcast:   Enabled  
    ** Note these settings are from the Status / Wireless Network page on the router, all wide channel / standard channels are actually set to Auto

Maybe you are looking for

  • Problem transferring PDF from pc to itunes to ipod

    Hey guys! Good day! I have just encountered a problem in my newly installed itunes(11.0.1). I got lost, it was too far from the former version i have which is the itunes 10. I have some troubles in transferring pdf files in my ipod. The "Book" tab in

  • How to verify "security authentication failure rate" command

    i type "security authentication failure rate 2 log" in global configuration mode,then  login authentication failed many times but no the 15-second delay. why?Thanks.

  • Unable to install java app in 6500c through pc sui...

    handset: 6500c upgraded to latest firmware v08.30 pcsuite: on xp upgraded to latest version verson 7.0.8.2 issue: coundn't install java app through pc suite application installer, but wap donwload installation is ok. When connected, I couldn't see in

  • Time Machine restore failure with FileVault

    Hello, I have a MacBook running 10.6.2. Previously I had FileVault enabled for my home directory, and my uid was 502. Because of many problems, I was forced to rebuild this MacBook. I made sure to have a full and complete backup in Time Machine, then

  • Cisco 888 VPN performance

    Hi all, Cisco 888 have 4-port 10/100-Mbps managed switch and supports many types of VPN. But I cann't find VPN performance in Mbps in Cisco documentation. How much is that for AES256+SHA-1 ? Thanks