On Mon, February 2, 2004 at 2:38 pm, Parris, Edward G wrote: > I tried a similar configuration on Tomcat 5.0.18 but noticed a ThreadPool > warning on startup stating that my maxThreads setting was too low and that > it would be reset to 10. > > WARNING: maxThreads setting (3) too low, set to 10 > > Does anyone have any ideas how I can rectify this situation? 10 concurrent > threads is too many (at peak each heavy-weight can consume ~1GB of > memory). Simply increasing the memory limits is not going to do it.
10 is the hard-coded minimum set in Tomcat. You have two choices: 1. Recompile Tomcat 5, lowering the hard-coded minimum. 2. Implement a filter or some other type of synchronization in your servlet which keeps track of the number of currently executing requests and redirects the user to a different page with a meta refresh letting them know that their request is being queued until the other outstanding requests finish. -Dave --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
