Hi, Thanks for the information.
Is it advisable to use worker mpm or prefork mpm? If i use worker mpm will it resolve this issue? Please let me know what shall i do if i have to use worker mpm. kindly Let me know your inputs. ________________________________ From: André Warnier <a...@ice-sa.com> To: Tomcat Users List <users@tomcat.apache.org> Sent: Monday, February 6, 2012 4:17 PM Subject: Re: Frequently Getting Service Temporaily availbale message from backend tomcat servers Hi. Amol Puglia wrote: > Hello , > > Thanks for the response. > > I am using following worker and no of threads. > > Worker is Prefork and > ThreadsPerChild 25 > In the context of a pre-fork Apache, ThreadsPerChild has no meaning and is not used. > Below is the details for the same. > > > Server version: Apache/2.2.16 (Unix) > Server built: Sep 27 2010 12:48:44 > Server's Module Magic Number: 20051115:24 > Server loaded: APR 1.4.2, APR-Util 1.3.9 > Compiled using: APR 1.4.2, APR-Util 1.3.9 > Architecture: 32-bit > Server MPM: Prefork > threaded: no > forked: yes (variable process count) > The following configuration section will be ignored, because the MPM is not "worker", it is "Prefork". So you need to look at the section <IfModule prefork.c>, not the one below. > <IfModule worker.c> > StartServers 2 > MaxClients 250 > MinSpareThreads 25 > MaxSpareThreads 75 > ThreadsPerChild 25 > MaxRequestsPerChild 0 > </IfModule> > The following look ok and resonable. > Timeout 300 > KeepAlive On > MaxKeepAliveRequests 100 > KeepAliveTimeout 15 > HostnameLookups Off > --------------------------------------------------------------------- To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org For additional commands, e-mail: users-h...@tomcat.apache.org