Re: What is the best connector configuration for thousands of mostly idle users?

2014-02-11 Thread André Warnier
Cédric Couralet wrote: 2014-02-10 22:34 GMT+01:00 André Warnier a...@ice-sa.com: Jesse Barnum wrote: On Feb 10, 2014, at 11:14 AM, Filip Hanik fi...@hanik.com wrote: Jesse, mostly idle users and you wish to conserve resources. Use the JkOptions +DisableReuse on the mod_jk module. This

Re: What is the best connector configuration for thousands of mostly idle users?

2014-02-11 Thread Jesse Barnum
On Feb 11, 2014, at 4:56 AM, André Warnier a...@ice-sa.com wrote: It looks that way. But this mod_proxy parameter (disablereuse, lowercase - I don't know if it matters) is in a section BalancerMember parameters, and it is not very clear if that applies even if you are not using a balancer,

Re: What is the best connector configuration for thousands of mostly idle users?

2014-02-11 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA256 Jesse, On 2/11/14, 8:24 AM, Jesse Barnum wrote: On Feb 11, 2014, at 4:56 AM, André Warnier a...@ice-sa.com wrote: It looks that way. But this mod_proxy parameter (disablereuse, lowercase - I don't know if it matters) is in a section

Re: What is the best connector configuration for thousands of mostly idle users?

2014-02-10 Thread Jesse Barnum
On Feb 7, 2014, at 1:11 PM, Mark Thomas ma...@apache.org wrote: This is a single core box (sorry, should have mentioned that in the configuration details). Would you still expect increasing the worker thread count to help? Yes. I'd return it to the default of 200 and let Tomcat manage

Re: What is the best connector configuration for thousands of mostly idle users?

2014-02-10 Thread Filip Hanik
Jesse, mostly idle users and you wish to conserve resources. Use the JkOptions +DisableReuse on the mod_jk module. This will close connections after the request has been completed. Many will tell you this will slow down your system since new connections have to be created for each request.

Re: What is the best connector configuration for thousands of mostly idle users?

2014-02-10 Thread Jesse Barnum
On Feb 10, 2014, at 11:14 AM, Filip Hanik fi...@hanik.com wrote: Jesse, mostly idle users and you wish to conserve resources. Use the JkOptions +DisableReuse on the mod_jk module. This will close connections after the request has been completed. Many will tell you this will slow down your

Re: What is the best connector configuration for thousands of mostly idle users?

2014-02-10 Thread André Warnier
Jesse Barnum wrote: On Feb 10, 2014, at 11:14 AM, Filip Hanik fi...@hanik.com wrote: Jesse, mostly idle users and you wish to conserve resources. Use the JkOptions +DisableReuse on the mod_jk module. This will close connections after the request has been completed. Many will tell you this will

Re: What is the best connector configuration for thousands of mostly idle users?

2014-02-10 Thread Cédric Couralet
2014-02-10 22:34 GMT+01:00 André Warnier a...@ice-sa.com: Jesse Barnum wrote: On Feb 10, 2014, at 11:14 AM, Filip Hanik fi...@hanik.com wrote: Jesse, mostly idle users and you wish to conserve resources. Use the JkOptions +DisableReuse on the mod_jk module. This will close connections

Re: What is the best connector configuration for thousands of mostly idle users?

2014-02-07 Thread Jesse Barnum
On Feb 7, 2014, at 2:38 AM, Mark Thomas ma...@apache.org wrote: Jesse Barnum jsb_tom...@360works.com wrote: Thanks for such a well written question. All the relevant information is available and presented clearly and logically. Glad I could help. I get error reports from my users all the

Re: What is the best connector configuration for thousands of mostly idle users?

2014-02-07 Thread Mark Thomas
On 07/02/2014 17:26, Jesse Barnum wrote: On Feb 7, 2014, at 2:38 AM, Mark Thomas ma...@apache.org wrote: Jesse Barnum jsb_tom...@360works.com wrote: Thanks for such a well written question. All the relevant information is available and presented clearly and logically. Glad I could help.

Re: What is the best connector configuration for thousands of mostly idle users?

2014-02-07 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA256 Jesse, On 2/6/14, 10:11 PM, Jesse Barnum wrote: Problem summary: My nio polling threads are using too much CPU time. AFAIK, the NIO poller doesn't really poll. It's more like an event processor. It should use very little CPU time. Application

What is the best connector configuration for thousands of mostly idle users?

2014-02-06 Thread Jesse Barnum
Problem summary: My nio polling threads are using too much CPU time. Application overview: My application has from 1,300 - 4,000 users connected at any given time. Each user sends about 200 bytes, then waits 30 seconds, then sends about 200 bytes, and this just loops for each user. Each user

Re: What is the best connector configuration for thousands of mostly idle users?

2014-02-06 Thread Mark Thomas
Jesse Barnum jsb_tom...@360works.com wrote: Thanks for such a well written question. All the relevant information is available and presented clearly and logically. Problem summary: My nio polling threads are using too much CPU time. Are you sure that is the real problem? It sounds like the