You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tomcat.apache.org by Raja Sekhar <al...@eudoramail.com> on 2003/02/28 16:11:06 UTC
Problem with AJP 1.3 Connector
Hi,
I have six Apache webservers in my front-end and one Tomcat server in my backend. All these 6 apache servers connect to single tomcat engine using AJP Connector.
Each apache server is configured in such a way that it accepts 150 client requests at a time. In tomcat server.xml, the AJP min processors is set to 120 and max processors to 1200.
Now the problem is, sometimes the users dont get any response on the website for 15-20 mins. All the requests dont have any response. But after sometime again everything is normal. So the assumption I take is apache is sending requests to tomcat, but because of the huge load, tomcat might be queueing the requests.
So can any please say me what should be the parameters I set for tomcat to remove this problem ??? This is a very urgent production problem so any immediate help would be highly appreciated.
Thanks & Regards,
..Raj
Need a new email address that people can remember
Check out the new EudoraMail at
http://www.eudoramail.com
---------------------------------------------------------------------
To unsubscribe, e-mail: tomcat-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: tomcat-user-help@jakarta.apache.org
RE: Problem with AJP 1.3 Connector
Posted by Dennis Cartier <de...@canadianblackbook.com>.
Hi Raj,
Yikes! Six Apache's all going to 1 Tomcat sounds like a recipe for disaster
to me. In my experience, Apache handles load way better than Tomcat, so
having 1 or 2 Apache's and 5 or 6 Tomcat's sounds like a better setup.
Unless Tomcat is doing almost no work, it is going to be your bottleneck.
I have a cluster with 4 nodes each housing an Apache and a Tomcat. The
Apaches are always yawning, and the Tomcat's are sweating, but my apps are
totally dynamic. YMMV.
Dennis
-----Original Message-----
From: Raja Sekhar [mailto:alekya_raj2@eudoramail.com]
Sent: Friday, February 28, 2003 10:11 AM
To: tomcat-user@jakarta.apache.org
Subject: Problem with AJP 1.3 Connector
Hi,
I have six Apache webservers in my front-end and one Tomcat server in my
backend. All these 6 apache servers connect to single tomcat engine using
AJP Connector.
Each apache server is configured in such a way that it accepts 150 client
requests at a time. In tomcat server.xml, the AJP min processors is set to
120 and max processors to 1200.
Now the problem is, sometimes the users dont get any response on the website
for 15-20 mins. All the requests dont have any response. But after sometime
again everything is normal. So the assumption I take is apache is sending
requests to tomcat, but because of the huge load, tomcat might be queueing
the requests.
So can any please say me what should be the parameters I set for tomcat to
remove this problem ??? This is a very urgent production problem so any
immediate help would be highly appreciated.
Thanks & Regards,
..Raj
Need a new email address that people can remember
Check out the new EudoraMail at
http://www.eudoramail.com
---------------------------------------------------------------------
To unsubscribe, e-mail: tomcat-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: tomcat-user-help@jakarta.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: tomcat-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: tomcat-user-help@jakarta.apache.org
RE: Problem with AJP 1.3 Connector
Posted by Dennis Cartier <de...@canadianblackbook.com>.
Hi Raj,
I just realized I did not answer your original question. That huge pause, I
would expect it would be garbage collection. You likely have lots of memory
in your tomcat box and it is taking a long time to garbage collect it.
If you switch to the incremental garbage collector (-Xincgc), you will not
see that huge pause (if that is the cause), but the trade off will be lower
overall throughput as the GC runs more often.
Dennis
-----Original Message-----
From: Raja Sekhar [mailto:alekya_raj2@eudoramail.com]
Sent: Friday, February 28, 2003 10:11 AM
To: tomcat-user@jakarta.apache.org
Subject: Problem with AJP 1.3 Connector
Hi,
I have six Apache webservers in my front-end and one Tomcat server in my
backend. All these 6 apache servers connect to single tomcat engine using
AJP Connector.
Each apache server is configured in such a way that it accepts 150 client
requests at a time. In tomcat server.xml, the AJP min processors is set to
120 and max processors to 1200.
Now the problem is, sometimes the users dont get any response on the website
for 15-20 mins. All the requests dont have any response. But after sometime
again everything is normal. So the assumption I take is apache is sending
requests to tomcat, but because of the huge load, tomcat might be queueing
the requests.
So can any please say me what should be the parameters I set for tomcat to
remove this problem ??? This is a very urgent production problem so any
immediate help would be highly appreciated.
Thanks & Regards,
..Raj
Need a new email address that people can remember
Check out the new EudoraMail at
http://www.eudoramail.com
---------------------------------------------------------------------
To unsubscribe, e-mail: tomcat-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: tomcat-user-help@jakarta.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: tomcat-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: tomcat-user-help@jakarta.apache.org