我们正在使用HotSpot 1.5.22运行几个JBoss实例,现在我发现了一个有两个不同vmid的JVM。这就是我所看到的:
$./jinfo -flags 13278
Attaching to process ID 13278, please wait...
Debugger attached successfully.
Server compiler detected.
JVM version is 1.5.0_22-b03
[flags for jboss_node_b1]
$./jinfo -flags 20569
Attaching to process ID 20569, please wait...
Debugger attached successfully.
Server compiler detected.
JVM version is 1.5.0_22-b03
[flags for jboss_node_b1]
$./jinfo -flags 13255
Attaching to process ID 13255, please wait...
Error attaching to process: sun.jvm.hotspot.debugger.DebuggerException: Can't attach to the process
现在,如果我运行“ps -ef | grep jboss_node_b1”,那么这个节点只有一个进程与PID 13278一起运行。实际上,同一个节点的两个实例不可能运行,因为其中一个节点会运行崩溃。
这是jps报道的内容:
$./jps
13278 -- process information unavailable
20569 -- process information unavailable
13255 -- process information unavailable
26716 Jps
[several other jboss jvms]
所以我有这个:
怎么会这样?这可能是1.5.22监控工具中的错误吗?
此致