problem with java aplications

muzzol

Active Member
Dec 2, 2009
43
0
26
hi,

i'm having problems with PVE 2.0 that seems to be related to memory. i've found this thread: http://forum.proxmox.com/threads/8195-RAM-and-SWAP-for-OpenVZ?highlight=java

i've followed VSwap instructions, but i can't get a simple application running even whith 8000M memory and 4000M swap.


sometimes application just hangs, and somtimes i get a message like this one:


Code:
#
# A fatal error has been detected by the Java Runtime Environment:
#
#  Internal Error (nmethod.cpp:1880), pid=532, tid=3077614448
#  Error: guarantee(nm->_lock_count >= 0,"unmatched nmethod lock/unlock")
#
# JRE version: 6.0_18-b18
# Java VM: OpenJDK Client VM (14.0-b16 mixed mode, sharing linux-x86 )
# Derivative: IcedTea6 1.8.13
# Distribution: Debian GNU/Linux 6.0.3 (squeeze), package 6b18-1.8.13-0+squeeze1
# An error report file with more information is saved as:
# /opt/kSar-5.0.6/hs_err_pid532.log
#
# If you would like to submit a bug report, please include
# instructions how to reproduce the bug and visit:
#   http://icedtea.classpath.org/bugzilla
#
Aborted


I've attached the java log.

If you want to reproduce, you can use this simple java application: http://sourceforge.net/projects/ksar/

You can launch it with: java -verbose -jar kSar.jar



Please, ask if you need further info. This limitation is very serious for us as we planed to migrate next month to 2.0.
 

Attachments

  • hs_err_pid532.log.zip
    4.3 KB · Views: 0
Last edited:
assign at least 2 cpu´s the container and test again. (see 'Resources')
 
yes!

it seems to work. i'll do some more in deep tests but increasing cpus seems to solve.

is this anywhere in the docs? i think it would be worth to mention it anywhere.

thanks a lot.
 
there is a lot in the forum, search.
 

About

The Proxmox community has been around for many years and offers help and support for Proxmox VE, Proxmox Backup Server, and Proxmox Mail Gateway.
We think our community is one of the best thanks to people like you!

Get your subscription!

The Proxmox team works very hard to make sure you are running the best software and getting stable updates and security enhancements, as well as quick enterprise support. Tens of thousands of happy customers have a Proxmox subscription. Get yours easily in our online shop.

Buy now!