httpd -l output is Compiled in modules: core.c worker.c http_core.c mod_so.c
We are in worker mode. Thanks Kulbir On Sat, Mar 7, 2009 at 11:55 AM, Martin Gainty <mgai...@hotmail.com> wrote: > > quoting the httpd doc > "Prefork and worker are mutually exclusive modules. How did you compile > Apache? " > Check the output of "httpd -l". > > find out which module you have compiled into your server then tune the > settings for that module > > Martin > ______________________________________________ > Disclaimer and confidentiality note > Everything in this e-mail and any attachments relates to the official > business of Sender. This transmission is of a confidential nature and Sender > does not endorse distribution to any party other than intended recipient. > Sender does not necessarily endorse content contained within this > transmission. > > > > > > Date: Sat, 7 Mar 2009 10:34:41 -0500 > > Subject: Tuning worker MPM > > From: kulbir.sai...@gmail.com > > To: users@tomcat.apache.org > > > > Hi, > > > > we have a web server with two apache instances running on that. > Experiencing > > high load on server and the "top" shows httpd's taking CPU. The > httpd.conf > > worker setting is - > > > > <IfModule worker.c> > > #ServerLimit 25 > > StartServers 2 > > MaxClients 300 > > MinSpareThreads 75 > > MaxSpareThreads 250 > > ThreadsPerChild 25 > > MaxRequestsPerChild 20000 > > </IfModule> > > > > > > Looking at server resources, we dont find any memory issue & no swapping > > seen. the "vmstat" output shows that the run queue("r") increases higher > > thatn the number of CPU's on the server. Server has 2 dual Core Intel(R) > > Xeon(TM) CPU 3.06GHz. > > > > I feel since processes are going in CPU run queue it may happen apache is > > not tunned properly to handle requests though we dont see any crunch on > > server resources. > > > > > > Any suggestions? > > > > Also i would like to know the thumb rule calculations for > > configuring/tunning worker threads i..e how to decide on values for > > ServerLimit, Maxclient, Minspare threads ect etc. > > > > > > Thanks in advance > > > > Kulbir > > _________________________________________________________________ > Windows Live™ Contacts: Organize your contact list. > > http://windowslive.com/connect/post/marcusatmicrosoft.spaces.live.com-Blog-cns!503D1D86EBB2B53C!2285.entry?ocid=TXT_TAGLM_WL_UGC_Contacts_032009<http://windowslive.com/connect/post/marcusatmicrosoft.spaces.live.com-Blog-cns%21503D1D86EBB2B53C%212285.entry?ocid=TXT_TAGLM_WL_UGC_Contacts_032009>