Java(Sun) problem with kernel RHEL6 042stab055.10 [message #46668] |
Fri, 01 June 2012 12:20 |
yasuyuki
Messages: 11 Registered: February 2012
|
Junior Member |
|
|
We found Java (which is downloaded from Sun(Oracle)) doese not run normaly in 32 bit CentOS 5 VE.
The kernel of HN is RHEL6 042stab055.10.
When we downgrade to RHEL6 042stab044.11, the Java runs normaly.
Using 62 bit CentOS template, we cannot observe java related problems.
We found some applications (tomcat, user created apps and so on) cannot run with this environment.
JVM Version:
# /usr/java/jdk1.6.0_31/bin/java -version
java version "1.6.0_31"
Java(TM) SE Runtime Environment (build 1.6.0_31-b04)
Java HotSpot(TM) Client VM (build 20.6-b01, mixed mode)
Have you seen same problem? and know solutions?
If you have same environment, how about you?
|
|
|
|
Re: Java(Sun) problem with kernel RHEL6 042stab055.10 [message #46676 is a reply to message #46668] |
Mon, 04 June 2012 09:17 |
khorenko
Messages: 533 Registered: January 2006 Location: Moscow, Russia
|
Senior Member |
|
|
Hi,
can you please describe in more details what do you mean under "java does not run normally", "other applications like ... cannot run".
Ideally - please post here a set of commands which can be executed in order to reproduce the problem and how this problem can be checked - if it exists or not.
Thank you.
If your problem is solved - please, report it!
It's even more important than reporting the problem itself...
|
|
|
|
|
Re: Java(Sun) problem with kernel RHEL6 042stab055.10 [message #46682 is a reply to message #46679] |
Mon, 04 June 2012 13:53 |
khorenko
Messages: 533 Registered: January 2006 Location: Moscow, Russia
|
Senior Member |
|
|
Please post here a set of commands which can be executed in order to reproduce the problem and how this problem can be checked - if it exists or not.
Step by step like:
1) get a fresh CentOS6.2 64bit node, install OpenVZ on it - kernel version, vzctl version
2) get a template from "link", vzctl create 100 --ostemplate <template_name>
3) assign an IP address - exact command
4) enter inside a CT - vzctl enter 100
5) install tomcat - how? you download it from a centos repo or someother repo? Again - exact command you issue to install tomcat.
6) any configuration you've done to tomcat
7) and how to open a tomcat page - using curl or what? What url do you use? What error message do you receive?
If your problem is solved - please, report it!
It's even more important than reporting the problem itself...
|
|
|
|
Re: Java(Sun) problem with kernel RHEL6 042stab055.10 [message #47184 is a reply to message #46901] |
Tue, 17 July 2012 11:19 |
khorenko
Messages: 533 Registered: January 2006 Location: Moscow, Russia
|
Senior Member |
|
|
Sorry for the delay.
Well, we found the reason of the problem: "--cpus 1" in fact currently does not make sure that processes from the CT run on exactly a single physical cpu, it only ensures that the total cpu power provided to the CT is not greater than the power of a single cpu =>
please just use "--cpulimit 100" instead of "--cpus 1"
or
use "--cpus 1" along with the "--cpumask=X" option.
If your problem is solved - please, report it!
It's even more important than reporting the problem itself...
|
|
|
|