Is this a hard limit ? So if there are 4 cores there can only be 800 
concurrent clients. None of our banks is calculating this like this and 
some have Apache and JBoss on the same machine which further limits the 
threads.

Appreciate any help.


Thanks,
Mohan



From:   mohan.radhakrish...@polarisft.com
To:     users@tomcat.apache.org
Date:   09/19/2013 05:56 PM
Subject:        MaxClients and maxThreads



Hi,
        I am following the instructions in 
https://access.redhat.com/site/articles/15786 to tune MaxClients in 
httpd.conf and maxThreads in JBoss Tomcat. 

" The recommended value of maxThreads is 200 per CPU, so here we assume 
the server is a single core machine. If it had
  been quad core we could push that value to 800 or more depending on RAM 
and other machine specs. The total threads
  is an aggregate value. If Apache and JBOSS are on the same server, and 
that server has four cores, then you would halve
  the maxThreads and MaxClients to 400 each."

I have this question. Does this mean that maxThreads and MaxClients should 

both be equal to each other  ?

My configuration is this.
Machine 1 - JBoss and Apache(2 cores)
Machine 2 - JBoss(2 cores)

So even though Machine 2 can use about 400 threads(200 x 2 ) it is limited 

by MaxClients in Machine 1 which should be only 200. Is that correct ? It 
is a bottleneck.

Thanks,
Mohan


This e-Mail may contain proprietary and confidential information and is 
sent for the intended recipient(s) only.  If by an addressing or 
transmission error this mail has been misdirected to you, you are 
requested to delete this mail immediately. You are also hereby notified 
that any use, any form of reproduction, dissemination, copying, 
disclosure, modification, distribution and/or publication of this e-mail 
message, contents or its attachment other than by its intended recipient/s 
is strictly prohibited.

Visit us at http://www.polarisFT.com




This e-Mail may contain proprietary and confidential information and is sent 
for the intended recipient(s) only.  If by an addressing or transmission error 
this mail has been misdirected to you, you are requested to delete this mail 
immediately. You are also hereby notified that any use, any form of 
reproduction, dissemination, copying, disclosure, modification, distribution 
and/or publication of this e-mail message, contents or its attachment other 
than by its intended recipient/s is strictly prohibited.

Visit us at http://www.polarisFT.com

Reply via email to