Hi Bill,

On Wed, 29 Aug 2001, Bill Lipa wrote:

> How many Apache children do you have?  The default is 256, which will indeed
> almost immediately consume all the threads in the Tomcat thread pool if you do
> not increase it.  Each Apache child uses a thread.

        Ok. Thanks for the information. Our MaxClients is set to 256, there
        are between 100 and 256 httpd processes running when we've tested our
        application (it changes dynamically during the tests).

> With ajp13, what counts is really the number of Apache children that are
> active.  You can easily count them with the Apache status mod or by using ps.
> 
> It is really a "buglet" that the Tomcat thread default is set lower than the
> Apache default.

        So if I understand you correctly, we should have our Tomcat pool size
        set to the same as the MaxClients setting we have for Apache - as a
        general rule ?

        We'll retest with these settings. Thanks very much for your advice. :-)

        Cheers,

        Marcus

-- 
        .....
     ,,$$$$$$$$$,      Marcus Crafter
    ;$'      '$$$$:    Computer Systems Engineer
    $:         $$$$:   Open Software Associates GmbH
     $       o_)$$$:   82-84 Mainzer Landstrasse
     ;$,    _/\ &&:'   60327 Frankfurt Germany
       '     /( &&&
           \_&&&&'     Email : [EMAIL PROTECTED]
          &&&&.        Business Hours : +49 69 9757 200
    &&&&&&&:

Reply via email to