I'm trying to port a VirtualBox VM to Proxmox as a VE. I've got things kind of working, but my Java portal (Liferay) sometimes hangs for ever (5+ minutes) before returning a page. It's not a memory problem; I am using 2GB from 12GB ram. That is my main problem, but to solve it, I have to be able to see what Tomcat is actually doing by creating a Java Thread-Dump. This is normally produced under Linux with a "kill -3 (-QUIT)" to the Java process. Unfortunately, this does not seem to work in the VE. I have tried both with the newest 2.6.32 kernel, and the newest 2.6.18 kernel. Is that (the kill -3 not working) a known bug? Or can someone try it in their own VZ environment and tell me if Java supports the kill -3? Maybe it's a tomcat-specific problem, or maybe it depends on the Java version or something else. I am currently using:
java version "1.6.0_18"
OpenJDK Runtime Environment (IcedTea6 1.8.2) (6b18-1.8.2-4ubuntu2)
OpenJDK Server VM (build 16.0-b13, mixed mode)
inside a Ubuntu 10.04.1 server (i386).
[EDIT] I installed the smae Java into the host, and tried it there, and there kill -3 worked. It must be a VE/OpenVZ problem.
java version "1.6.0_18"
OpenJDK Runtime Environment (IcedTea6 1.8.2) (6b18-1.8.2-4ubuntu2)
OpenJDK Server VM (build 16.0-b13, mixed mode)
inside a Ubuntu 10.04.1 server (i386).
[EDIT] I installed the smae Java into the host, and tried it there, and there kill -3 worked. It must be a VE/OpenVZ problem.
Last edited: