当前位置:软件学习 > 其它软件 >>

为何在启动WebSphere后,ps -ef 里会显示很多个java进程?

为何在启动WebSphere后,ps -ef 里会显示多达10多个进程?
ps -ef|grep WebSphere命令的执行结果如下:


root     25783 25756  0 20:21 pts/0    00:00:00 /opt/WebSphere/AppServer/java/bin/java -Xbootclasspath/p:/opt/WebSphere/AppServer/java/jre/lib/ext/ibmorb.jar:/opt/WebSphere/AppSe
root     25790 25756  0 20:21 pts/0    00:00:00 /opt/WebSphere/AppServer/java/bin/java -Xbootclasspath/p:/opt/WebSphere/AppServer/java/jre/lib/ext/ibmorb.jar:/opt/WebSphere/AppSe
root     25792 25756  0 20:21 pts/0    00:00:00 /opt/WebSphere/AppServer/java/bin/java -Xbootclasspath/p:/opt/WebSphere/AppServer/java/jre/lib/ext/ibmorb.jar:/opt/WebSphere/AppSe
root     25793 25756  0 20:21 pts/0    00:00:00 /opt/WebSphere/AppServer/java/bin/java -Xbootclasspath/p:/opt/WebSphere/AppServer/java/jre/lib/ext/ibmorb.jar:/opt/WebSphere/AppSe
root     25794 25756  0 20:21 pts/0    00:00:00 /opt/WebSphere/AppServer/java/bin/java -Xbootclasspath/p:/opt/WebSphere/AppServer/java/jre/lib/ext/ibmorb.jar:/opt/WebSphere/AppSe
root     25795 25756  0 20:21 pts/0    00:00:00 /opt/WebSphere/AppServer/java/bin/java -Xbootclasspath/p:/opt/WebSphere/AppServer/java/jre/lib/ext/ibmorb.jar:/opt/WebSphere/AppSe
root     25796 25756  0 20:21 pts/0    00:00:00 /opt/WebSphere/AppServer/java/bin/java -Xbootclasspath/p:/opt/WebSphere/AppServer/java/jre/lib/ext/ibmorb.jar:/opt/WebSphere/AppSe
root     25797 25756  0 20:21 pts/0    00:00:00 /opt/WebSphere/AppServer/java/bin/java -Xbootclasspath/p:/opt/WebSphere/AppServer/java/jre/lib/ext/ibmorb.jar:/opt/WebSphere/AppSe
db2inst1 25799  6059  0 20:21 ?        00:00:00 db2loggr (DB_COC)                              
root     25801 25756  0 20:21 pts/0    00:00:00 /opt/WebSphere/AppServer/java/bin/java -Xbootclasspath/p:/opt/WebSphere/AppServer/java/jre/lib/ext/ibmorb.jar:/opt/WebSphere/AppSe
root     25802 25756  0 20:21 pts/0    00:00:00 /opt/WebSphere/AppServer/java/bin/java -Xbootclasspath/p:/opt/WebSphere/AppServer/java/jre/lib/ext/ibmorb.jar:/opt/WebSphere/AppSe
root     25803 25756  0 20:21 pts/0    00:00:00 /opt/WebSphere/AppServer/java/bin/java -Xbootclasspath/p:/opt/WebSphere/AppServer/java/jre/lib/ext/ibmorb.jar:/opt/WebSphere/AppSe
root     25804 25756  0 20:21 pts/0    00:00:00 /opt/WebSphere/AppServer/java/bin/java -Xbootclasspath/p:/opt/WebSphere/AppServer/java/jre/lib/ext/ibmorb.jar:/opt/WebSphere/AppSe
root     25805 25756  0 20:21 pts/0    00:00:00 /opt/WebSphere/AppServer/java/bin/java -Xbootclasspath/p:/opt/WebSphere/AppServer/java/jre/lib/ext/ibmorb.jar:/opt/WebSphere/AppSe
root     25806 25756  0 20:21 pts/0    00:00:00 /opt/WebSphere/AppServer/java/bin/java -Xbootclasspath/p:/opt/WebSphere/AppServer/java/jre/lib/ext/ibmorb.jar:/opt/WebSphere/AppSe
root     25818 25756  0 20:21 pts/0    00:00:00 /opt/WebSphere/AppServer/java/bin/java -Xbootclasspath/p:/opt/WebSphere/AppServer/java/jre/lib/ext/ibmorb.jar:/opt/WebSphere/AppSe
root     25820 25756  0 20:21 pts/0    00:00:00 /opt/WebSphere/AppServer/java/bin/java -Xbootclasspath/p:/opt/WebSphere/AppServer/java/jre/lib/ext/ibmorb.jar:/opt/WebSphere/AppSe
root     25821 25756  0 20:21 pts/0    00:00:00 /opt/WebSphere/AppServer/java/bin/java -Xbootclasspath/p:/opt/WebSphere/AppServer/java/jre/lib/ext/ibmorb.jar:/opt/WebSphere/AppSe
root     25823 25756  0 20:21 pts/0    00:00:00 /opt/WebSphere/AppServer/java/bin/java -Xbootclasspath/p:/opt/WebSphere/AppServer/java/jre/lib/ext/ibmorb.jar:/opt/WebSphere/AppSe
root     25824 25756  0 20:21 pts/0    00:00:00 /opt/WebSphere/AppServer/java/bin/java -Xbootclasspath/p:/opt/WebSphere/AppServer/java/jre/lib/ext/ibmorb.jar:/opt/WebSphere/AppSe
root     25826 25756  0 20:21 pts/0    00:00:00 /opt/WebSphere/AppServer/java/bin/java -Xbootclasspath/p:/opt/WebSphere/AppServer/java/jre/lib/ext/ibmorb.jar:/opt/WebSphere/AppSe
root     25834 25756  0 20:21 pts/0    00:00:00 /opt/WebSphere/AppServer/java/bin/java -Xbootclasspath/p:/opt/WebSphere/AppServer/java/jre/lib/ext/ibmorb.jar:/opt/WebSphere/AppSe
root     25836 25756  0 20:21 pts/0    00:00:00 /opt/WebSphere/AppServer/java/bin/java -Xbootclasspath/p:/opt/WebSphere/AppServer/java/jre/lib/ext/ibmorb.jar:/opt/WebSphere/AppSe
root     25837 25756  0 20:21 pts/0    00:00:00 /opt/WebSphere/AppServer/java/bin/java -Xbootclasspath/p:/opt/WebSphere/AppServer/java/jre/lib/ext/ibmorb.jar:/opt/WebSphere/AppSe
root     25838 25756  0 20:21 pts/0    00:00:00 /opt/WebSphere/AppServer/java/bin/java -Xbootclasspath/p:/opt/WebSphere/AppServer/java/jre/lib/ext/ibmorb.jar:/opt/WebSphere/AppSe
root     25839 25756  0 20:21 pts/0    00:00:00 /opt/WebSphere/AppServer/java/bin/java -Xbootclasspath/p:/opt/WebSphere/AppServer/java/jre/lib/ext/ibmorb.jar:/opt/WebSphere/AppSe
root     25841 25756  0 20:21 pts/0    00:00:00 /opt/WebSphere/AppServer/java/bin/java -Xbootclasspath/p:/opt/WebSphere/AppServer/java/jre/lib/ext/ibmorb.jar:/opt/WebSphere/AppSe
root     25842 25756  0 20:21 pts/0    00:00:00 /opt/WebSphere/AppServer/java/bin/java -Xbootclasspath/p:/opt/WebSphere/AppServer/java/jre/lib/ext/ibmorb.jar:/opt/WebSphere/AppSe
root     25844 25756  0 20:21 pts/0    00:00:00 /opt/WebSphere/AppServer/java/bin/java -Xbootclasspath/p:/opt/WebSphere/AppServer/java/jre/lib/ext/ibmorb.jar:/opt/WebSphere/AppSe
root     25845 25756  0 20:21 pts/0    00:00:00 /opt/WebSphere/AppServer/java/bin/java -Xbootclasspath/p:/opt/WebSphere/AppServer/java/jre/lib/ext/ibmorb.jar:/opt/WebSphere/AppSe
root     25846 25756  0 20:21 pts/0    00:00:00 /opt/WebSphere/AppServer/java/bin/java -Xbootclasspath/p:/opt/WebSphere/AppServer/java/jre/lib/ext/ibmorb.jar:/opt/WebSphere/AppSe
db2inst1 25848  6059  0 20:21 ?        00:00:00 db2dlock (DB_COC)                              
db2inst1 2585 --------------------编程问答-------------------- 造成这些线程占用内存居高不下。
而且我的程序运行后这些Java进程的内存占用会稳步增长,直到系统崩溃,这玩艺怎么这么烂! --------------------编程问答-------------------- 你的WebSphere是什么版本的?这种情况只有在比较旧的版本里才会出现.V5 以后应该就没有了.
另外,这些Java进程都是进程25756的子进程,这时要检查一下这个进程25756是什么,和它在干什么了.
补充:企业软件 ,  WebSphere
CopyRight © 2022 站长资源库 编程知识问答 zzzyk.com All Rights Reserved
部分文章来自网络,