tomcat6 and java-1.7.0-openjdk.x86_64 eats all cpu

Danik

Active Member
Jan 13, 2012
38
1
28
have installed centos 64 standart openvz container
installed tomcat6 and java-1.7.0-openjdk.x86_64

service tomcat6 start
eats 100% cpu with java process

is there any solution?
 
assign two cpu´s to the container and test again.
 
have already tried 1,2,4,8 cpus with the same result

also have tried using cpumask with no luck
 
have tried the same configuration in vmware and it works ok
on slower hardware with idle cpu

I have provided i7 8 cores with 10gb of ram
and it just loads all cpu
 
it is iside openvz container I have installed it inside kvm just to test
and yes after kernel update to 2.6.32-19-pve it works ok

so the problem was in kernel
thanks