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

Reply via email to