Liu Maclean(刘相兵 发表于 2014-4-1 17:47:46

PRM ASM analyze 闪退问题









问题描述
vbox + 2gb内存+ PRM 中遇到ASM analyze问题闪退


直接执行,是:# ./prm.sh
Byte order: LITTLE ENDIAN
KFBH Check value: 2126801060
Disk ID: 0
Disk name: DG_DATA_0000
Disk group name: DG_DATA
Disk failover group name: DG_DATA_0000
Meta data block size: 4096
AU size: 1048576
Disk size: 5120
kfdhdb.f1b1locn: 2

*****************************************

./prm.sh: line 1:  6626 Aborted                 java -Xms1024M -server -jar prm.jar


cat /proc/meminfo |grep Mem

MemTotal:        2070460 kB
MemFree:         1336284 kB


java -version

java version "1.4.2"
gij (GNU libgcj) version 4.1.2 20080704 (Red Hat 4.1.2-54)

Copyright (C) 2006 Free Software Foundation, Inc.
This is free software; see the source for copying conditions.  There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.



java的版本是1.4.2 ,且不是ORACLE的JDK




对于该问题 建议使用ORACLE JDK 1.6以上版本,或者至少使用ORACLE JDK 1.4版本

woson 发表于 2014-4-1 22:05:31

测试了下 oracle自带jdk(1.5.0_51),java修改启动参数,还是报错,明天我试试安装个1.6的jdk。

# /app/oracle/11.2.0/dbhome_1/jdk/bin/java -version
java version "1.5.0_51"
Java(TM) 2 Runtime Environment, Standard Edition (build 1.5.0_51-b10)
Java HotSpot(TM) Client VM (build 1.5.0_51-b10, mixed mode)

# cat prm.sh
#java -Xms1024M -server -jar  prm.jar
/app/oracle/11.2.0/dbhome_1/jdk/bin/java -Xms1024M -server -jar  prm.jar
#java  -server -jar prm.jar
# ./prm.sh
Error occurred during initialization of VM
Incompatible initial and maximum heap sizes specified

# /app/oracle/11.2.0/dbhome_1/jdk/bin/java -Xms1024M -server -jar  prm.jar
Error occurred during initialization of VM
Incompatible initial and maximum heap sizes specified
#
#
#
# java  -server -jar prm.jar
Byte order: LITTLE ENDIAN
KFBH Check value: 2126801060
Disk ID: 0
Disk name: DG_DATA_0000
Disk group name: DG_DATA
Disk failover group name: DG_DATA_0000
Meta data block size: 4096
AU size: 1048576
Disk size: 5120
kfdhdb.f1b1locn: 2

*****************************************

GC Warning: Repeated allocation of very large block (appr. size 258048):
        May lead to memory leak and poor performance.
GC Warning: Repeated allocation of very large block (appr. size 258048):
        May lead to memory leak and poor performance.
GC Warning: Repeated allocation of very large block (appr. size 258048):
        May lead to memory leak and poor performance.
GC Warning: Repeated allocation of very large block (appr. size 258048):
        May lead to memory leak and poor performance.
GC Warning: Repeated allocation of very large block (appr. size 258048):
        May lead to memory leak and poor performance.
GC Warning: Repeated allocation of very large block (appr. size 512000):
        May lead to memory leak and poor performance.
GC Warning: Repeated allocation of very large block (appr. size 258048):
        May lead to memory leak and poor performance.
GC Warning: Repeated allocation of very large block (appr. size 512000):
        May lead to memory leak and poor performance.
GC Warning: Repeated allocation of very large block (appr. size 512000):
        May lead to memory leak and poor performance.
GC Warning: Repeated allocation of very large block (appr. size 512000):
        May lead to memory leak and poor performance.
GC Warning: Repeated allocation of very large block (appr. size 512000):

foxbei 发表于 2014-4-4 14:37:24

在Oracle Linux 5.9(x64)上出现ASM analyze 闪退问题,数据库版本10.2.0.5,安装JDK1.6后问题解决。# java -version
java version "1.4.2"
gij (GNU libgcj) version 4.1.2 20080704 (Red Hat 4.1.2-54)

Copyright (C) 2006 Free Software Foundation, Inc.
This is free software; see the source for copying conditions.  There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.

# rpm -qa | grep java
java-1.4.2-gcj-compat-1.4.2.0-40jpp.115

# rpm -e --nodeps java-1.4.2-gcj-compat-1.4.2.0-40jpp.115

# yum localinstall --nogpgcheck jdk-6u31-linux-amd64.rpm

# java -version
java version "1.6.0_31"
Java(TM) SE Runtime Environment (build 1.6.0_31-b04)
Java HotSpot(TM) 64-Bit Server VM (build 20.6-b01, mixed mode)

Maclean Liu(刘相兵 发表于 2014-4-4 15:34:43

redhat 自带的gcj java跑PRM 目前是有问题的
不过 就算本地没安装 中文 , 应当也是不影响 PRM的数据搭桥的

network008 发表于 2014-10-31 17:54:05

不错哦,很不错
页: [1]
查看完整版本: PRM ASM analyze 闪退问题