2011/9/9 Dave Stubbs <dave@stubbs.uk.com>:
> We are seeing tomcat starting up additional copies of itself, each new copy
> is allocating a chunk of storage, it only starts 1 thread, nothing gets
> written to any logs and no CPU is being listed as having been used.
>(...)
1. It might be an issue with "ps" utility that it shows threads as
separate processes:
In it already mentioned in the FAQ:
http://wiki.apache.org/tomcat/FAQ/Linux_Unix#Q1
In Tomcat 6 and later you can configure an <Executor> so that unneeded
request processing threads can be stopped.
Without an <Executor> the threads will be created if concurrent load
on your Tomcat increases, so active thread count will increase until
it reaches the default count of 200 request processing threads on
<Connector>.
2. Are you starting any additional processes by yourself? (E.g. when
using CGIServlet).
> tomcat 21115 21114 0 14:46:44 ? 193:04 /usr/java/bin/java
> -Djava.util.logging.config.file=/opt/apache-tomcat -5.5.27-ti
> tomcat 773 21115 0 17:29:27 ? 0:00 /usr/java/bin/java
> -Djava.util.logging.config.file=/opt/apache-tomcat -5.5.27-ti
Best regards,
Konstantin Kolinko
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
For additional commands, e-mail: users-help@tomcat.apache.org
|