Thank you for you answers Antonio,

Yes we have a firewall between tomcat and apache.
Does it means that there is something else to do?

_______________________________________________
NATEXIS ASSET MANAGEMENT
Meissa SAKHO
01 58 19 45 71. . . . . . . . . . . . (84571)
[EMAIL PROTECTED]




Antonio Fiol Bonn�n <[EMAIL PROTECTED]>
18/02/2004 22:08
Veuillez r�pondre � "Tomcat Users List"


        Pour :  Tomcat Users List <[EMAIL PROTECTED]>
        cc :
        Objet : Re: R�f. : Re: Very Very Slow performance of Tomcat


[EMAIL PROTECTED] wrote:

>Antonio,
>
>I'm facing to the same performance problems with Tomcat.
>
>My the maxProcessor value is equal to 75 while
>the Apache's MaxClients is equals to 150.
>the MaxKeepAliveRequests of apache is equal to 100
>
>Do you understand the relationship between theses attributes ?
>
>

MaxClients is the maximum number of Apache processes you can have.

Each Apache process "connects" to a processor in Tomcat. Make your own
calculations ;-)

MaxKeepAliveRequests is something completely unrelated, as far as it is
not below the average number of components (images, ...) of your pages.
It's the max number of requests an Apache process will serve to you
before closing the HTTP connection. My advice: Don't play too much with
it, unless you have very high loads and really need to.  ;-)

netstat -n --tcp | grep SYN_RECV
on tomcat side while you are having the performance problems / apparent
hangs.

If there are more than 3 connections in that state, you may be suffering
from lack of processors.
Try raising maxProcessors to 150 if it is the case. (Or lowering
MaxClients to 75 if your load is very light)

Tip: Have you got a stateful inspection firewall in the middle? If so,
raising maxProcessors may not be enough. Tell me and I'll explain more.



Antonio Fiol






L'integrite de ce message n'etant pas assuree sur internet, Natexis
Banques Populaires ne peut etre tenu responsable de
son contenu. Toute utilisation ou diffusion non autorisee est
interdite. Si vous n'etes pas destinataire de ce message, merci de le
detruire et d'avertir l'expediteur.

The integrity of this message cannot be guaranteed
on the Internet. Natexis Banques Populaires can not therefore be
considered responsible for the contents.Any unauthorized use or dissemination is 
prohibited.
If you are not the intended recipient of this message, then please delete it and
notify the sender.

Reply via email to