孤立IBM JVM进程

时间:2010-05-21 23:31:41

标签: websphere jython windows-server-2003 wsadmin

我有关于在进程树中创建的孤立IBM JVM进程的问题:

例如:

C:\Program Files\IBM\WebSphere\AppServer\bin>wsadmin -lang jython -f "C:\Hello.py"

Hello.py具有简单的实现方式:

import time

i = 0

while (1):
    i = i + 1
    print "Hello World " + str(i)
    time.sleep(3.0)

我的机器有这样的JVM信息:

C:\Program Files\WebSphere\java\bin>java -verbose:sizes -version
  -Xmca32K        RAM class segment increment
  -Xmco128K       ROM class segment increment
  -Xmns0K         initial new space size
  -Xmnx0K         maximum new space size
  -Xms4M          initial memory size
  -Xmos4M         initial old space size
  -Xmox1624995K   maximum old space size
  -Xmx1624995K    memory maximum
  -Xmr16K         remembered set size
  -Xlp4K          large page size
                  available large page sizes: 4K 4M
  -Xmso256K       operating system thread stack size
  -Xiss2K         java thread stack initial size
  -Xssi16K        java thread stack increment
  -Xss256K        java thread stack maximum size
java version "1.6.0"
Java(TM) SE Runtime Environment (build pwi3260sr6ifix-20091015_01(SR6+152211+155930+156106))
IBM J9 VM (build 2.4, JRE 1.6.0 IBM J9 2.4 Windows Server 2003 x86-32 jvmwi3260sr6-20091001_43491 (JIT enabled, AOT enabled)
J9VM - 20091001_043491
JIT  - r9_20090902_1330ifx1
GC   - 20090817_AA)
JCL  - 20091006_01

当程序运行时,我试图杀死它,随后我在进程树中找到了一个孤立的IBM JVM进程。有没有办法解决这个问题?为什么首先会有一个孤儿进程?我的代码有问题吗?

我真的不相信我的简单代码被错误地实现了。有什么建议吗?

0 个答案:

没有答案