OpenVZ Forum


Home » General » Support » Java(Sun) problem with kernel RHEL6 042stab055.10
Re: Java(Sun) problem with kernel RHEL6 042stab055.10 [message #46901 is a reply to message #46682] Sat, 23 June 2012 09:10 Go to previous messageGo to previous message
yasuyuki is currently offline  yasuyuki
Messages: 11
Registered: February 2012
Junior Member
It seems that OpenJDK may have same problem.

I've tested with several environments.
Now I can explain the exact reproduction steps.

1) get a fresh CentOS6.2 64bit node, install OpenVZ on it.
it is on KVM VM which has 2 cores cpu
kernel version: 2.6.32-042stab055.10
vzctl-3.2-1.x86_64

2) get a template from "link", vzctl create 100 --ostemplate centos-5-x86 --config ve-vasic.conf

3) add a line 'CPUS="1"' into 100.conf

4) enter inside a CT - vzctl enter 100

5) download java vm (jdk-6u31-linux-i586-rpm.bin ) and install it

6) javac MemoryCheck.java
MemoryCheck is a code to new object until throws OutOfMemoryError.
I attache this code.

7) while : ; do java MemoryCheck ; done

Cool stpe 7 should not be stopped. the process is finished with throwing exception and next process should be executed.
But after several hours, the process will be hung-up.
If you remove a line 'CPUS="1"' from container config file, this phenomenon is not appeared.


recently change some behaviors about this?
should I fill a bug on bugzilla?
 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: OpenSuse 12.1 setup troubles
Next Topic: Bridge lost after reboot of VE
Goto Forum:
  


Current Time: Sat Sep 07 18:55:42 GMT 2024

Total time taken to generate the page: 0.05971 seconds