OpenVZ Forum


Home » General » Support » OpenVZ (RHEL6 2.6.32) and Java - kown issues?
OpenVZ (RHEL6 2.6.32) and Java - kown issues? [message #43571] Mon, 26 September 2011 18:28 Go to next message
pezi is currently offline  pezi
Messages: 2
Registered: September 2011
Junior Member
From: *work.xdsl-line.inode.at
This is a spin-off of following Proxmox thread:
//forum.proxmox.com/threads/6998-Best-strategy-to-handle-str ange-JVM-errors-inside-VPS?p=39702#poststop

(Please add http: to the above link, I am unable to insert a link: Forum rule: You cannot use links until you have posted more than 10 messages.)

You cannot use links until you have posted more than 10 messages

Proxmox uses a somthing modified RHEL6 2.6.32-x kernel. This kernel was introduced with new Proxmox version 1.9.

But with the switch from older 2.6.32-x based Squeeze kernel to the RHEL kernel many user report strange JVM errors inside their OpenVZ container in context with Java web applications (JBoss, Tomcat, etc.)
- JVM crashes after a while
- JVM consumes 100% CPU
- WepApps is alive, but stop handling HTTP request.

Switching back to the older kernel solves these strange errors

Has someone similar problemes with Java (web-based apps) and the original RHEL based kernel?

Proxmox Server Info
proxmox:~# pveversion -v
pve-manager: 1.9-24 (pve-manager/1.9/6542)
running kernel: 2.6.32-6-pve
proxmox-ve-2.6.32: 1.9-47
pve-kernel-2.6.32-4-pve: 2.6.32-33
pve-kernel-2.6.32-6-pve: 2.6.32-47
qemu-server: 1.1-32
pve-firmware: 1.0-14
libpve-storage-perl: 1.0-19
vncterm: 0.9-2
vzctl: 3.0.29-2pve1
vzdump: 1.2-16
vzprocps: 2.0.11-2
vzquota: 3.0.11-1
pve-qemu-kvm: 0.15.0-1
ksm-control-daemon: 1.0-6

Re: OpenVZ (RHEL6 2.6.32) and Java - kown issues? [message #43599 is a reply to message #43571] Fri, 30 September 2011 05:10 Go to previous messageGo to next message
patel75jay is currently offline  patel75jay
Messages: 1
Registered: September 2011
Junior Member
From: *dsl.pltn13.pacbell.net
Hi,
What JDK version and vendor is being used in the environment?

Re: OpenVZ (RHEL6 2.6.32) and Java - kown issues? [message #43632 is a reply to message #43599] Mon, 03 October 2011 17:57 Go to previous messageGo to next message
pezi is currently offline  pezi
Messages: 2
Registered: September 2011
Junior Member
From: *work.xdsl-line.inode.at
Different Java Vendors:
Sun
OpenJDK (OK - this a derivate of the Sun JDK)
Java Version: 1.6.x

Same behaviour - JVM crash or stop working (web apps).
Not every Java stack has this problem, but Alfresco, Liferay, Zimbra, etc.. make problems.

But we found a solution for this problem - assign at least 2 CPU to VPS, and all will work fine.

This is very strange problem, because it seems to be hardware specific. See follwing post:
forum.proxmox.com/threads/6998-Best-strategy-to-handle-stran ge-JVM-errors-inside-VPS?p=39904#post39904

Re: OpenVZ (RHEL6 2.6.32) and Java - kown issues? [message #45660 is a reply to message #43571] Wed, 28 March 2012 03:03 Go to previous message
Petrus4 is currently offline  Petrus4
Messages: 1
Registered: March 2012
Location: United States
Junior Member
From: 159.250.31*
I had the same issue:

Debian Squeeze, Sun-java, Crashplan ProE server. after kernel upgrade all services would run but would not listen on any ports.

After adding second CPU and rebooting the container all is working again!!

I wonder if Proxmox will patch the kernel?
Previous Topic: OpenVZ CentOS6.2 no onboot?!
Next Topic: "S15ssh_gen_host_keys" script not executed after creating new container
Goto Forum:
  


Current Time: Sat Mar 23 17:18:17 GMT 2019