3 Replies Latest reply on Feb 2, 2018 1:42 AM by sshashan

    what is max user connections?

    lm28ness

      I want to know what the maximum number of users that can connect?

      I'm guessing this is dependent on hardware.

      I want to be able to set a limit and check to see if the limit has been reached, and if so, then i return a message that says the limit is reached.

      How can i do this?

      I'm really new to JBoss, been using weblogic prior :)

      Thanks

        • 1. Re: what is max user connections?
          peterj

          Look in the server/default/jbossweb-tomcat55.sar/server.xml file. The < connector > node for port 8080 has a maxThreads value of 250 by default. This is the maximum number of concurrent requests being processed. There is also an acceptCount of 100, which means that an additional 100 requests can be pending. You can, of course, set these to higher values (I have seen recommendations for 400 maxThreads for large numbers (thousands) of users, with a higher acceptCount to handle request queueing.). Whether the server can keep with a large number of connections depends on the processor(s) and memory.

          For full documentation on the connector options, see http://tomcat.apache.org/tomcat-5.5-doc/config/http.html

          • 2. Re: what is max user connections?
            masummymesingh

            I am also having same to issue for indentifymax-threads in wildfy 10 .

            Did you solve this problem ?

            • 3. Re: what is max user connections?
              sshashan

              max-connections is the parameter , you need to set for the number of concurrent connections in your connector.

               

              By default  ,it is 512 * number of cores.