-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Vicky,

On 10/25/12 12:22 AM, vicky007aggar...@yahoo.co.in wrote:
> In my environment i am using Apache 2.2 & Tomcat 6.0 version .
> 
> @ Both of these are multi-threaded right?

Tomcat is always multi-threaded capable but you could always configure
it to only have 1 request-processing thread. Depending on which
connector you use, you may only be able to handle 1 HTTP connection at
a time.

Apache httpd can be multi-threaded, depending on which MPM
(multi-processing-module) you are using. Read the httpd documentation
to see the differences. They are important enough to understand that
I'm not going to give you a one-sentence description of them here: you
really need to read the httpd documentation.

> @ what does apache prefork means?

Read the docs.

> @ is there a way to check apache or tomcat is multi-threaded or
> only documentation is the way out ?

Read the docs.

> At Apache level:- MaxClients -  this is no. Of connections an
> apache can accept, so does this is for apache as a whole or is it
> refers to each child process of apache?

Sorry, you're going to have to read the docs: that's what they are
there for.

> @ so commection_pool_size doesnt need to be set if i want all my
> requests to be redirected to tomcat in case of multithreaded apache
> . Default value is one . Right ?

The default value depends upon the httpd configuration, and mod_jk
usually picks the right value. I wouldn't set it at all.

> ****************£************ Lc = number of connections each load
> balancer can handle Tc = L * Lc ****************£************ As
> per your above comment , can i consider Lc value as the Maxclients
> value ?

It depends upon your configuration, but generally speaking, yes,
MaxClients is the value for Lc.

- -chris
-----BEGIN PGP SIGNATURE-----
Version: GnuPG/MacGPG2 v2.0.17 (Darwin)
Comment: GPGTools - http://gpgtools.org
Comment: Using GnuPG with Mozilla - http://www.enigmail.net/

iEYEARECAAYFAlCJZqgACgkQ9CaO5/Lv0PD63gCfZrYuENbphDRT9Re6qcKXWVcm
KaQAnjS3VmOr0sphX2NxBVUAF9b+RZ/A
=AZ3h
-----END PGP SIGNATURE-----

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org
For additional commands, e-mail: users-h...@tomcat.apache.org

Reply via email to