我目前正在使用 tomcat6 为 solr 提供服务,但我注意到当我运行 top 时,tomcat 用户正在运行大量 java 进程。
22738 tomcat6 20 0 634M 98M 4072 S 0.0 12.9 0:00.00 /usr/lib/jvm/java-6-openjdk/bin/java -Djava.util.logging.config.file=/var/lib/tomcat6/conf/logging.properties -Djava.
22739 tomcat6 20 0 634M 98M 4072 S 0.0 12.9 0:02.18 /usr/lib/jvm/java-6-openjdk/bin/java -Djava.util.logging.config.file=/var/lib/tomcat6/conf/logging.properties -Djava.
22740 tomcat6 20 0 634M 98M 4072 S 0.0 12.9 0:00.50 /usr/lib/jvm/java-6-openjdk/bin/java -Djava.util.logging.config.file=/var/lib/tomcat6/conf/logging.properties -Djava.
22741 tomcat6 20 0 634M 98M 4072 S 0.0 12.9 0:01.75 /usr/lib/jvm/java-6-openjdk/bin/java -Djava.util.logging.config.file=/var/lib/tomcat6/conf/logging.properties -Djava.
22742 tomcat6 20 0 634M 98M 4072 S 0.0 12.9 0:00.00 /usr/lib/jvm/java-6-openjdk/bin/java -Djava.util.logging.config.file=/var/lib/tomcat6/conf/logging.properties -Djava.
22743 tomcat6 20 0 634M 98M 4072 S 0.0 12.9 0:00.01 /usr/lib/jvm/java-6-openjdk/bin/java -Djava.util.logging.config.file=/var/lib/tomcat6/conf/logging.properties -Djava.
22744 tomcat6 20 0 634M 98M 4072 S 0.0 12.9 0:00.00 /usr/lib/jvm/java-6-openjdk/bin/java -Djava.util.logging.config.file=/var/lib/tomcat6/conf/logging.properties -Djava.
22745 tomcat6 20 0 634M 98M 4072 S 0.0 12.9 0:00.00 /usr/lib/jvm/java-6-openjdk/bin/java -Djava.util.logging.config.file=/var/lib/tomcat6/conf/logging.properties -Djava.
22746 tomcat6 20 0 634M 98M 4072 S 0.0 12.9 0:02.14 /usr/lib/jvm/java-6-openjdk/bin/java -Djava.util.logging.config.file=/var/lib/tomcat6/conf/logging.properties -Djava.
22747 tomcat6 20 0 634M 98M 4072 S 0.0 12.9 0:03.79 /usr/lib/jvm/java-6-openjdk/bin/java -Djava.util.logging.config.file=/var/lib/tomcat6/conf/logging.properties -Djava.
22748 tomcat6 20 0 634M 98M 4072 S 0.0 12.9 0:00.00 /usr/lib/jvm/java-6-openjdk/bin/java -Djava.util.logging.config.file=/var/lib/tomcat6/conf/logging.properties -Djava.
22749 tomcat6 20 0 634M 98M 4072 S 0.0 12.9 0:17.44 /usr/lib/jvm/java-6-openjdk/bin/java -Djava.util.logging.config.file=/var/lib/tomcat6/conf/logging.properties -Djava.
22752 tomcat6 20 0 634M 98M 4072 S 0.0 12.9 0:00.00 /usr/lib/jvm/java-6-openjdk/bin/java -Djava.util.logging.config.file=/var/lib/tomcat6/conf/logging.properties -Djava.
22753 tomcat6 20 0 634M 98M 4072 S 0.0 12.9 0:00.04 /usr/lib/jvm/java-6-openjdk/bin/java -Djava.util.logging.config.file=/var/lib/tomcat6/conf/logging.properties -Djava.
22754 tomcat6 20 0 634M 98M 4072 S 0.0 12.9 0:02.37 /usr/lib/jvm/java-6-openjdk/bin/java -Djava.util.logging.config.file=/var/lib/tomcat6/conf/logging.properties -Djava.
22755 tomcat6 20 0 634M 98M 4072 S 0.0 12.9 0:00.13 /usr/lib/jvm/java-6-openjdk/bin/java -Djava.util.logging.config.file=/var/lib/tomcat6/conf/logging.properties -Djava.
22807 tomcat6 20 0 634M 98M 4072 S 0.0 12.9 0:11.23 /usr/lib/jvm/java-6-openjdk/bin/java -Djava.util.logging.config.file=/var/lib/tomcat6/conf/logging.properties -Djava.
23496 tomcat6 20 0 634M 98M 4072 S 0.0 12.9 0:06.58 /usr/lib/jvm/java-6-openjdk/bin/java -Djava.util.logging.config.file=/var/lib/tomcat6/conf/logging.properties -Djava.
30158 tomcat6 20 0 634M 98M 4072 S 0.0 12.9 0:00.79 /usr/lib/jvm/java-6-openjdk/bin/java -Djava.util.logging.config.file=/var/lib/tomcat6/conf/logging.properties -Djava.
30159 tomcat6 20 0 634M 98M 4072 S 0.0 12.9 0:12.65 /usr/lib/jvm/java-6-openjdk/bin/java -Djava.util.logging.config.file=/var/lib/tomcat6/conf/logging.properties -Djava.
30165 tomcat6 20 0 634M 98M 4072 S 0.0 12.9 0:02.02 /usr/lib/jvm/java-6-openjdk/bin/java -Djava.util.logging.config.file=/var/lib/tomcat6/conf/logging.properties -Djava.
这是正常的吗?或者我可以通过配置来控制生成多少个进程吗?
非常感谢