Re: JK2 performance tuning
yes its milliseconds, my fault sorry At 00:08 18.07.2003 -0700, you wrote: Simon Pabst wrote: try reasonable values like 10 mins (600) Are you sure that is seconds...I think it's milliseconds. - Original Message - From: joseph lam [EMAIL PROTECTED] To: Tomcat Users List [EMAIL PROTECTED] Sent: Thursday, July 17, 2003 8:25 PM Subject: Re: JK2 performance tuning So nothing related to the jk2 connection between Apache and TC can be tuned? How many connections will Apache make? Auto grow? Joseph Lam Simon Pabst wrote: You can tune CoyoteConnector acceptCount and timeout values. acceptCount=10 should be fine, though you never know (test test test :-) timeout value (in seconds) shouldn't be set to 0 (infinite) or too high, else your socket count will go up much as time goes by (which not only consumes file descriptors but valuable JVM memory AFAIK), try reasonable values like 10 mins (600) (2 is suggested in jk2 doc). If timeout is too low you could get errors too (server not available), so test test test again. If you use mod_jk2 load balancing use multithreading Apache (worker mpm) At 20:25 17.07.2003 +0800, you wrote: I just got JK2 2.0.2 installed and working with Apache 2.0.47. Since my site will have high traffic and lots of concurrent connections, what parameters should I fine tune (other than the min/maxProcessor in server.xml) ? How does Apache manage its jk2 connections to Tomcat? Joseph Lam - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: JK2 performance tuning
As far as i know: (this may be wrong and can be different on your system/configuration - test) Theoretically Apache will do as many connections as childs are used, on Apache 2 the default maximum is 150 i think. I read somewhere that suggested for Tomcat is to use a higher Coyote maxProcessors value than max. Apache childs. However since the socket reinitialization seems bugged, without a timeout in CoyoteConnector their count goes up high (counted over 3000 open sockets on a load test with one Tomcat, count seems to go down only on Tomcat restart) There is also a max_connections setting for JK2 ajp13 worker, although this is propably only useful when you use load balancing: http://jakarta.apache.org/tomcat/tomcat-4.1-doc/jk2/jk2/configwebcom.html#workers At 11:25 18.07.2003 +0800, you wrote: So nothing related to the jk2 connection between Apache and TC can be tuned? How many connections will Apache make? Auto grow? Joseph Lam Simon Pabst wrote: You can tune CoyoteConnector acceptCount and timeout values. acceptCount=10 should be fine, though you never know (test test test :-) timeout value (in seconds) shouldn't be set to 0 (infinite) or too high, else your socket count will go up much as time goes by (which not only consumes file descriptors but valuable JVM memory AFAIK), try reasonable values like 10 mins (600) (2 is suggested in jk2 doc). If timeout is too low you could get errors too (server not available), so test test test again. If you use mod_jk2 load balancing use multithreading Apache (worker mpm) At 20:25 17.07.2003 +0800, you wrote: I just got JK2 2.0.2 installed and working with Apache 2.0.47. Since my site will have high traffic and lots of concurrent connections, what parameters should I fine tune (other than the min/maxProcessor in server.xml) ? How does Apache manage its jk2 connections to Tomcat? Joseph Lam - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: JK2 performance tuning
hi there i was able to get in the administration tolls but please tell me what else have to configured as i am not able to see me pages from different machines in the network . only my machine with localhost:8080 displays the site please inform me how to do it .. Siddharth gupta IncrediMail - Email has finally evolved - Click Here
Re: JK2 performance tuning
I'm new to Apache 2Can you kindly show me how to config that? Joseph Luciano Kiniti Issoe wrote: Have you already compiled Apache for MaxClients 256 ? - Original Message - From: Simon Pabst [EMAIL PROTECTED] To: Tomcat Users List [EMAIL PROTECTED] Sent: Thursday, July 17, 2003 1:22 PM Subject: Re: JK2 performance tuning You can tune CoyoteConnector acceptCount and timeout values. acceptCount=10 should be fine, though you never know (test test test :-) timeout value (in seconds) shouldn't be set to 0 (infinite) or too high, else your socket count will go up much as time goes by (which not only consumes file descriptors but valuable JVM memory AFAIK), try reasonable values like 10 mins (600) (2 is suggested in jk2 doc). If timeout is too low you could get errors too (server not available), so test test test again. If you use mod_jk2 load balancing use multithreading Apache (worker mpm) At 20:25 17.07.2003 +0800, you wrote: I just got JK2 2.0.2 installed and working with Apache 2.0.47. Since my site will have high traffic and lots of concurrent connections, what parameters should I fine tune (other than the min/maxProcessor in server.xml) ? How does Apache manage its jk2 connections to Tomcat? Joseph Lam - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
JK2 performance tuning
I just got JK2 2.0.2 installed and working with Apache 2.0.47. Since my site will have high traffic and lots of concurrent connections, what parameters should I fine tune (other than the min/maxProcessor in server.xml) ? How does Apache manage its jk2 connections to Tomcat? Joseph Lam - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: JK2 performance tuning
You can tune CoyoteConnector acceptCount and timeout values. acceptCount=10 should be fine, though you never know (test test test :-) timeout value (in seconds) shouldn't be set to 0 (infinite) or too high, else your socket count will go up much as time goes by (which not only consumes file descriptors but valuable JVM memory AFAIK), try reasonable values like 10 mins (600) (2 is suggested in jk2 doc). If timeout is too low you could get errors too (server not available), so test test test again. If you use mod_jk2 load balancing use multithreading Apache (worker mpm) At 20:25 17.07.2003 +0800, you wrote: I just got JK2 2.0.2 installed and working with Apache 2.0.47. Since my site will have high traffic and lots of concurrent connections, what parameters should I fine tune (other than the min/maxProcessor in server.xml) ? How does Apache manage its jk2 connections to Tomcat? Joseph Lam - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: JK2 performance tuning
Have you already compiled Apache for MaxClients 256 ? - Original Message - From: Simon Pabst [EMAIL PROTECTED] To: Tomcat Users List [EMAIL PROTECTED] Sent: Thursday, July 17, 2003 1:22 PM Subject: Re: JK2 performance tuning You can tune CoyoteConnector acceptCount and timeout values. acceptCount=10 should be fine, though you never know (test test test :-) timeout value (in seconds) shouldn't be set to 0 (infinite) or too high, else your socket count will go up much as time goes by (which not only consumes file descriptors but valuable JVM memory AFAIK), try reasonable values like 10 mins (600) (2 is suggested in jk2 doc). If timeout is too low you could get errors too (server not available), so test test test again. If you use mod_jk2 load balancing use multithreading Apache (worker mpm) At 20:25 17.07.2003 +0800, you wrote: I just got JK2 2.0.2 installed and working with Apache 2.0.47. Since my site will have high traffic and lots of concurrent connections, what parameters should I fine tune (other than the min/maxProcessor in server.xml) ? How does Apache manage its jk2 connections to Tomcat? Joseph Lam - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: JK2 performance tuning
Sorry, but ¿timeout is in seconds or in milliseconds ? Thanks Mauricio Nuñez El Jue 17 Jul 2003 12:22, Simon Pabst escribió: You can tune CoyoteConnector acceptCount and timeout values. acceptCount=10 should be fine, though you never know (test test test :-) timeout value (in seconds) shouldn't be set to 0 (infinite) or too high, else your socket count will go up much as time goes by (which not only consumes file descriptors but valuable JVM memory AFAIK), try reasonable values like 10 mins (600) (2 is suggested in jk2 doc). If timeout is too low you could get errors too (server not available), so test test test again. If you use mod_jk2 load balancing use multithreading Apache (worker mpm) At 20:25 17.07.2003 +0800, you wrote: I just got JK2 2.0.2 installed and working with Apache 2.0.47. Since my site will have high traffic and lots of concurrent connections, what parameters should I fine tune (other than the min/maxProcessor in server.xml) ? How does Apache manage its jk2 connections to Tomcat? Joseph Lam - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: JK2 performance tuning
seconds as far as i know, not entirely sure though, anyone else knows? At 13:27 17.07.2003 -0400, you wrote: Sorry, but ¿timeout is in seconds or in milliseconds ? Thanks Mauricio Nuñez El Jue 17 Jul 2003 12:22, Simon Pabst escribió: You can tune CoyoteConnector acceptCount and timeout values. acceptCount=10 should be fine, though you never know (test test test :-) timeout value (in seconds) shouldn't be set to 0 (infinite) or too high, else your socket count will go up much as time goes by (which not only consumes file descriptors but valuable JVM memory AFAIK), try reasonable values like 10 mins (600) (2 is suggested in jk2 doc). If timeout is too low you could get errors too (server not available), so test test test again. If you use mod_jk2 load balancing use multithreading Apache (worker mpm) At 20:25 17.07.2003 +0800, you wrote: I just got JK2 2.0.2 installed and working with Apache 2.0.47. Since my site will have high traffic and lots of concurrent connections, what parameters should I fine tune (other than the min/maxProcessor in server.xml) ? How does Apache manage its jk2 connections to Tomcat? Joseph Lam - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: JK2 performance tuning
Hi, Checking a bit, seconds to set the worker.properties property socket_timeout and millisecond setting the Connector connectionTimeuut at the server.xml Bye Mauricio El Jue 17 Jul 2003 13:43, Simon Pabst escribió: seconds as far as i know, not entirely sure though, anyone else knows? At 13:27 17.07.2003 -0400, you wrote: Sorry, but ¿timeout is in seconds or in milliseconds ? Thanks Mauricio Nuñez El Jue 17 Jul 2003 12:22, Simon Pabst escribió: You can tune CoyoteConnector acceptCount and timeout values. acceptCount=10 should be fine, though you never know (test test test :-) timeout value (in seconds) shouldn't be set to 0 (infinite) or too high, else your socket count will go up much as time goes by (which not only consumes file descriptors but valuable JVM memory AFAIK), try reasonable values like 10 mins (600) (2 is suggested in jk2 doc). If timeout is too low you could get errors too (server not available), so test test test again. If you use mod_jk2 load balancing use multithreading Apache (worker mpm) At 20:25 17.07.2003 +0800, you wrote: I just got JK2 2.0.2 installed and working with Apache 2.0.47. Since my site will have high traffic and lots of concurrent connections, what parameters should I fine tune (other than the min/maxProcessor in server.xml) ? How does Apache manage its jk2 connections to Tomcat? Joseph Lam - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: JK2 performance tuning
Checking the source code... ChannelSocket.java ,and his parents and friends :-) Bye! El Jue 17 Jul 2003 17:01, Simon Pabst escribió: Did you find any documentation about the CoyoteConnector server.xml timeout? In http://jakarta.apache.org/tomcat/tomcat-4.1-doc/config/jk2.html its missing :-( Or did you just use a stopwatch :-) At 13:58 17.07.2003 -0400, you wrote: Hi, Checking a bit, seconds to set the worker.properties property socket_timeout and millisecond setting the Connector connectionTimeuut at the server.xml Bye Mauricio El Jue 17 Jul 2003 13:43, Simon Pabst escribió: seconds as far as i know, not entirely sure though, anyone else knows? At 13:27 17.07.2003 -0400, you wrote: Sorry, but ¿timeout is in seconds or in milliseconds ? Thanks Mauricio Nuñez El Jue 17 Jul 2003 12:22, Simon Pabst escribió: You can tune CoyoteConnector acceptCount and timeout values. acceptCount=10 should be fine, though you never know (test test test :-) timeout value (in seconds) shouldn't be set to 0 (infinite) or : too high, else your socket count will go up much as time goes by (which not only consumes file descriptors but valuable JVM memory AFAIK), try reasonable values like 10 mins (600) (2 is suggested in jk2 doc). If timeout is too low you could get errors too (server not available), so test test test again. If you use mod_jk2 load balancing use multithreading Apache (worker mpm) At 20:25 17.07.2003 +0800, you wrote: I just got JK2 2.0.2 installed and working with Apache 2.0.47. Since my site will have high traffic and lots of concurrent connections, what parameters should I fine tune (other than the min/maxProcessor in server.xml) ? How does Apache manage its jk2 connections to Tomcat? Joseph Lam -- --- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] --- -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: JK2 performance tuning
hm no, my brain keeps information only as long as he needs it, i.e. max. 1 hour ;-) thanks for the info though Norm. At 07:07 18.07.2003 +1000, you wrote: Simon It says milliseconds in the Tomcat docs (remember them?) for the connectors. Norm - Original Message - From: Simon Pabst [EMAIL PROTECTED] To: Tomcat Users List [EMAIL PROTECTED] Sent: Friday, July 18, 2003 2:22 AM Subject: Re: JK2 performance tuning You can tune CoyoteConnector acceptCount and timeout values. acceptCount=10 should be fine, though you never know (test test test :-) timeout value (in seconds) shouldn't be set to 0 (infinite) or too high, else your socket count will go up much as time goes by (which not only consumes file descriptors but valuable JVM memory AFAIK), try reasonable values like 10 mins (600) (2 is suggested in jk2 doc). If timeout is too low you could get errors too (server not available), so test test test again. If you use mod_jk2 load balancing use multithreading Apache (worker mpm) At 20:25 17.07.2003 +0800, you wrote: I just got JK2 2.0.2 installed and working with Apache 2.0.47. Since my site will have high traffic and lots of concurrent connections, what parameters should I fine tune (other than the min/maxProcessor in server.xml) ? How does Apache manage its jk2 connections to Tomcat? Joseph Lam - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: JK2 performance tuning
So nothing related to the jk2 connection between Apache and TC can be tuned? How many connections will Apache make? Auto grow? Joseph Lam Simon Pabst wrote: You can tune CoyoteConnector acceptCount and timeout values. acceptCount=10 should be fine, though you never know (test test test :-) timeout value (in seconds) shouldn't be set to 0 (infinite) or too high, else your socket count will go up much as time goes by (which not only consumes file descriptors but valuable JVM memory AFAIK), try reasonable values like 10 mins (600) (2 is suggested in jk2 doc). If timeout is too low you could get errors too (server not available), so test test test again. If you use mod_jk2 load balancing use multithreading Apache (worker mpm) At 20:25 17.07.2003 +0800, you wrote: I just got JK2 2.0.2 installed and working with Apache 2.0.47. Since my site will have high traffic and lots of concurrent connections, what parameters should I fine tune (other than the min/maxProcessor in server.xml) ? How does Apache manage its jk2 connections to Tomcat? Joseph Lam - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: JK2 performance tuning
Simon Pabst wrote: try reasonable values like 10 mins (600) Are you sure that is seconds...I think it's milliseconds. - Original Message - From: joseph lam [EMAIL PROTECTED] To: Tomcat Users List [EMAIL PROTECTED] Sent: Thursday, July 17, 2003 8:25 PM Subject: Re: JK2 performance tuning So nothing related to the jk2 connection between Apache and TC can be tuned? How many connections will Apache make? Auto grow? Joseph Lam Simon Pabst wrote: You can tune CoyoteConnector acceptCount and timeout values. acceptCount=10 should be fine, though you never know (test test test :-) timeout value (in seconds) shouldn't be set to 0 (infinite) or too high, else your socket count will go up much as time goes by (which not only consumes file descriptors but valuable JVM memory AFAIK), try reasonable values like 10 mins (600) (2 is suggested in jk2 doc). If timeout is too low you could get errors too (server not available), so test test test again. If you use mod_jk2 load balancing use multithreading Apache (worker mpm) At 20:25 17.07.2003 +0800, you wrote: I just got JK2 2.0.2 installed and working with Apache 2.0.47. Since my site will have high traffic and lots of concurrent connections, what parameters should I fine tune (other than the min/maxProcessor in server.xml) ? How does Apache manage its jk2 connections to Tomcat? Joseph Lam - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]