OpenVZ Forum


Home » General » Support » java problem
Re: java problem [message #304 is a reply to message #302] Tue, 08 November 2005 15:27 Go to previous messageGo to previous message
kir is currently offline  kir
Messages: 1645
Registered: August 2005
Location: Moscow, Russia
Senior Member

In addition to what dev just said, I have prepared some VPS configs that might help you to deal with the problem faster. These are versions of vps.basic, where all the user beancounter (UBC) parameters are scaled up x2, x4 and x8 times.

Attached files are to be placed to /etc/sysconfig/vz-scripts/ directory. Next, try to apply x2 config to your existing VPS by executing the following command:

vzctl set <VPSID> --applyconfig vps.basic.x2


That will apply all the parameters from the new config to your VPS. Note that you don't have to restart your VPS for the changes to be applied.

Next, try running Java etc. If you will found this config is not sufficient (i.e. some fail counters (last column in /proc/user_beancounters) keeps increasing), try x4 config etc.

When you find your config to be sufficient, you may apply it permanently (so parameters will be saved to VPS config file and will stay the same after the reboot):

vzctl set <VPSID> --applyconfig vps.basic.x2 --save


An alternative approach is to use vzsplit utility, which tries to create a configuration suitable for running N VPSs on your box.


Kir Kolyshkin
http://static.openvz.org/userbars/openvz-developer.png
 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: COMPAQ/HP ARRAY SUPPORT
Next Topic: debian+networking
Goto Forum:
  


Current Time: Fri Oct 10 19:07:38 GMT 2025

Total time taken to generate the page: 0.13218 seconds