On 11.01.2011 09:11, Amol Puglia wrote:
Hello Rainer, Thanks for the valuable input. I have following mod_jk options configured for my web server. Is it possible to know if any of the below options are responsible for creating so many child processess and by removing any of them will reduce the number of child processess. How do i tune my webserver so that the number of child processess comes down. LoadModule jk_module modules/mod_jk.so JkWorkersFile /opt/web/apache/app/erib2b/conf/workers.properties JkLogFile /opt/web/apache/app/erib2b/logs/mod_jk.log JkLogLevel info JkLogStampFormat "[%a %b %d %H:%M:%S %Y] " JkOptions +ForwardURIEscaped +ForwardURICompatUnparsed JkRequestLogFormat "%w %V %T" JkMount /* worker1
No, none. Please move this discussion to the tomcat users list, as Igor has suggested.
Usually the reason for many child processes on a reverse proxy is a slow backend. So I would take thread dumps of your Tomcat JVM and investigate, what your web applications are doing (slow request processing).
Regards, Rainer
--- On *Tue, 1/11/11, Rainer Jung /<rainer.jung@xxxxxxxxxxx>/* wrote: From: Rainer Jung <rainer.jung@xxxxxxxxxxx> Subject: Re: Apache process not coming down and going high upto 259 To: users@xxxxxxxxxxxxxxxx Date: Tuesday, January 11, 2011, 12:59 PM On 10.01.2011 18:34, Igor GaliÄ wrote: > > ----- "Amol Puglia"<amolcpuglia@xxxxxxxxx </mc/compose?to=amolcpuglia@xxxxxxxxx>> wrote: > >> Hello Team, > > Hi > >> I am facing very weird problem of apache porcess going high upto 259 >> and increasing again even after restart of backend server ie. tomcat. >> >> Apache version :- 2.0.59 >> >> Tomcat Version :- 5.5.9 >> >> Apache/Tomcat connectivity :- mod_jk > > mod_jk support can be found on users@xxxxxxxxxxxxxxxxx </mc/compose?to=users@xxxxxxxxxxxxxxxxx> As a shortcut for discussion: The lines come from the JkRequestLogFormat configuration setting that you must have added somewhere (default: no such setting, no lines). The configured format will tell you, what the entry means. Likely it is either the name of the vortual host, or the value of the host header the client sent. For details see: http://tomcat.apache.org/connectors-doc/reference/apache.html and look for "JkRequestLogFormat" in that page. The use of that directive is no longer recommended, because it is easier to include request log information into the usual access log via mod_log_config. Look for "mod_log_config" in the same page. Regards, Rainer --------------------------------------------------------------------- The official User-To-User support forum of the Apache HTTP Server Project. See <URL:http://httpd.apache.org/userslist.html> for more info. To unsubscribe, e-mail: users-unsubscribe@xxxxxxxxxxxxxxxx </mc/compose?to=users-unsubscribe@xxxxxxxxxxxxxxxx> " from the digest: users-digest-unsubscribe@xxxxxxxxxxxxxxxx </mc/compose?to=users-digest-unsubscribe@xxxxxxxxxxxxxxxx> For additional commands, e-mail: users-help@xxxxxxxxxxxxxxxx </mc/compose?to=users-help@xxxxxxxxxxxxxxxx>
--------------------------------------------------------------------- The official User-To-User support forum of the Apache HTTP Server Project. See <URL:http://httpd.apache.org/userslist.html> for more info. To unsubscribe, e-mail: users-unsubscribe@xxxxxxxxxxxxxxxx " from the digest: users-digest-unsubscribe@xxxxxxxxxxxxxxxx For additional commands, e-mail: users-help@xxxxxxxxxxxxxxxx