Re: mod_jk makes ajp connector run out of free connections

2010-11-05 Thread Mark Thomas
On 04/11/2010 20:01, Marc Wilmots wrote: Honestlyno, I didn't. The mod_jk scared the hell out of mewouldn't you? :-) Using this option will have a strong performance penalty for Apache and Tomcat. Use this only as a last resort in case of unfixable network problems. Experience has

Re: mod_jk makes ajp connector run out of free connections

2010-11-04 Thread Marc Wilmots
Rainer, that's very true. So I am wondering...If 1200 200 (Tomcat maxThreads), then what would be the right way to solve this? Imagine that 2 Tomcats would crash, that would leave me with 1200 400. I can't just raise the maxThreads to 600 for each Tomcat, as that would probably perform even

Re: mod_jk makes ajp connector run out of free connections

2010-11-04 Thread Marc Wilmots
I just got my own question answered whether connection_pool_size sets a pool per server process. This defines the number of connections made to the AJP backend that are maintained as a connection pool. It will limit the number of those connection that each web server child process can made. This

Re: mod_jk makes ajp connector run out of free connections

2010-11-04 Thread Mark Thomas
On 04/11/2010 19:27, Marc Wilmots wrote: The best solution would be to enable DisableReuse as Mark stated, although I'm afraid that would be too big of a performance hit. Have you tried it? The cost of the required CPING/CPONG isn't that different to the cost of creating a TCP/IP connection.

Re: mod_jk makes ajp connector run out of free connections

2010-11-04 Thread Marc Wilmots
Honestlyno, I didn't. The mod_jk scared the hell out of mewouldn't you? :-) Using this option will have a strong performance penalty for Apache and Tomcat. Use this only as a last resort in case of unfixable network problems. I'll give it a try tomorrow and see what it gives. By the

Re: mod_jk makes ajp connector run out of free connections

2010-11-04 Thread Marc Wilmots
Forget about my math question. Obviously, connection_pool_size of 15, would mean there are 60 (4 tomcats) in total per server process. Then the math works out Sorry, it's 1:08am over here :-) 2010/11/5 Marc Wilmots desj...@gmail.com Honestlyno, I didn't. The mod_jk scared the hell out

Re: mod_jk makes ajp connector run out of free connections

2010-10-28 Thread Rainer Jung
On 26.10.2010 20:36, Marc Wilmots wrote: 2010/10/26 Mladen Turkmt...@apache.org On 10/26/2010 02:47 PM, Marc Wilmots wrote: Hi Experts, I have the following setup: Apache1 / \ Apache2 Apache3 \ /

Re: mod_jk makes ajp connector run out of free connections

2010-10-27 Thread Marc Wilmots
Thanks a lot Mladen, I really appreciate your help. About the AJP leaving connections open; If you hadn't @apache.org in your email address I wouldn't believe you ;) 2010/10/26, Mladen Turk mt...@apache.org: On 10/26/2010 08:36 PM, Marc Wilmots wrote: 1200 1000, thus your theory is probably

Re: mod_jk makes ajp connector run out of free connections

2010-10-27 Thread Pid
On 26/10/2010 16:08, Marc Wilmots wrote: Hi again. I checked out the executor element, although, I can't find a lot of information about it. Would you mind explaining why using the executor element would fix the problem I am having? The Executor will reduce the size of the thread pool once

Re: mod_jk makes ajp connector run out of free connections

2010-10-27 Thread Mark Thomas
On 27/10/2010 11:08, Pid wrote: On 26/10/2010 16:08, Marc Wilmots wrote: Hi again. I checked out the executor element, although, I can't find a lot of information about it. Would you mind explaining why using the executor element would fix the problem I am having? The Executor will

Re: mod_jk makes ajp connector run out of free connections

2010-10-27 Thread Pid
On 27/10/2010 11:16, Mark Thomas wrote: On 27/10/2010 11:08, Pid wrote: On 26/10/2010 16:08, Marc Wilmots wrote: Hi again. I checked out the executor element, although, I can't find a lot of information about it. Would you mind explaining why using the executor element would fix the

mod_jk makes ajp connector run out of free connections

2010-10-26 Thread Marc Wilmots
Hi Experts, I have the following setup: Apache1 / \ Apache2 Apache3 \ / Tomcat1 All Apaches are version 2.2.3 (RedHat) Apache2 and Apache3 loadbalance Tomcat1 (6.0.18) with mod_jk (2.2.28). In idle state

Re: mod_jk makes ajp connector run out of free connections

2010-10-26 Thread Pid
On 26/10/2010 13:47, Marc Wilmots wrote: Hi Experts, I have the following setup: Apache1 / \ Apache2 Apache3 \ / Tomcat1 That's an interesting setup. What does it achieve? All Apaches are version 2.2.3 (RedHat) Time for an

Re: mod_jk makes ajp connector run out of free connections

2010-10-26 Thread Marc Wilmots
2010/10/26 Pid p...@pidster.com On 26/10/2010 13:47, Marc Wilmots wrote: Hi Experts, I have the following setup: Apache1 / \ Apache2 Apache3 \ / Tomcat1 That's an interesting setup. What does it achieve? Apache1 is

Re: mod_jk makes ajp connector run out of free connections

2010-10-26 Thread Marc Wilmots
Hi again. I checked out the executor element, although, I can't find a lot of information about it. Would you mind explaining why using the executor element would fix the problem I am having? Thanks 2010/10/26 Pid p...@pidster.com On 26/10/2010 13:47, Marc Wilmots wrote: Hi Experts, I

Re: mod_jk makes ajp connector run out of free connections

2010-10-26 Thread Mladen Turk
On 10/26/2010 02:47 PM, Marc Wilmots wrote: Hi Experts, I have the following setup: Apache1 / \ Apache2 Apache3 \ / Tomcat1 All Apaches are version 2.2.3 (RedHat) Apache2 and Apache3 loadbalance

Re: mod_jk makes ajp connector run out of free connections

2010-10-26 Thread Marc Wilmots
2010/10/26 Mladen Turk mt...@apache.org On 10/26/2010 02:47 PM, Marc Wilmots wrote: Hi Experts, I have the following setup: Apache1 / \ Apache2 Apache3 \ / Tomcat1 All Apaches are version 2.2.3

Re: mod_jk makes ajp connector run out of free connections

2010-10-26 Thread Mladen Turk
On 10/26/2010 08:36 PM, Marc Wilmots wrote: 1200 1000, thus your theory is probably right. :) However, I'm just wondering... I read that when Tomcat reaches the max number of connections, just rejects new connections (I'm omitting the backlog on purpose). So, I can understand that my