许多相同的Apache Tomcat的孩子被启动时将自动催生 [英] Many identical Apache Tomcat children being spawned automatically at startup time

查看:240
本文介绍了许多相同的Apache Tomcat的孩子被启动时将自动催生的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我没有下安装的webapps除了Java应用程序经理/

I have no applications installed under webapps except the tomcat "manager/"

我每次运行./startup.sh启动Tomcat和我开HTOP(顶部的高级版本),我看到像16新工艺催生作为主要的Apache Tomcat进程的子进程。这里是所有的进程如何(孩子父母+)上运行的命令看起来像HTOP:

Every time I run ./startup.sh to start tomcat and I open htop (an advanced version of top) I see like 16 new processes spawned as children of the main apache tomcat process. Here is how all the processes (children + parent) running commands look like in htop:

/usr/local/jdk1.6.0_29/bin/java -Djava.util.logging.config.file=/usr/local/tomcat/apache-tomcat-6.0.33/conf/logging.properties -Djava.util.logging.manager=org.apache.juli.ClassLoaderLogManage -Djava.endorsed.dirs=/usr/loca/tomcat/apache-tomcat-6.0.33/endorsed -classpath /home/dhruba/tomcat/apache-tomcat-6.0.33/bin/bootstrap.jar -Dcatalina.base=/usr/loca/tomcat/apache-tomcat-6.0.33 -Dcatalina.home=/usr/loca/tomcat/apache-tomcat-6.0.33 -Djava.io.tmpdir=/usr/local/tomcat/apache-tomcat-6.0.33/temp org.apache.catalina.startup.Bootstrap start

为什么他们创建和如何控制这一数字的任何想法?

Any idea on why they are created and how to control this number?

推荐答案

这些不是过程,这些都是线程。你只需要一个单一的过程。

Those aren't processes, those are threads. You only have a single process.

这篇关于许多相同的Apache Tomcat的孩子被启动时将自动催生的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆