OpenVZ Forum


Home » General » Support » Howto config ve of ram 1GB
Howto config ve of ram 1GB [message #23363] Thu, 15 November 2007 23:18 Go to next message
devone is currently offline  devone
Messages: 2
Registered: October 2007
Location: Thailand
Junior Member


Hello,

RAM 4GB Total,
how to ve config file setting ram 1GB
please help

this sample config ram 512MB, HD 100GB

ONBOOT="yes"

# UBC parameters (in form of barrier:limit)
AVNUMPROC="360"
NUMPROC="480"
NUMTCPSOCK="720"
NUMOTHERSOCK="720:720"
VMGUARPAGES="67584:2147483647"
# Secondary parameters
KMEMSIZE="22111846:22754099"
TCPSNDBUF="319488:524288"
TCPRCVBUF="3440640:5406720"
OTHERSOCKBUF="2252160:4194304"
DGRAMRCVBUF="524288:524288"
OOMGUARPAGES="52224:2147483647"
# Auxiliary parameters
LOCKEDPAGES="512:512"
SHMPAGES="43008"
PRIVVMPAGES="131072:139264"
NUMFILE="18624"
NUMFLOCK="376:412"
NUMPTY="32:32"
NUMSIGINFO="512:512"
DCACHESIZE="6819840:7249920"

PHYSPAGES="0:2147483647"
NUMIPTENT="256:256"

# Disk quota parameters (in form of softlimit:hardlimit)
DISKSPACE="104857600:104857600"
DISKINODES="2000000:2200000"
QUOTATIME="0"

# CPU fair sheduler parameter
CPUUNITS="1000"

Re: Howto config ve of ram 1GB [message #23407 is a reply to message #23363] Fri, 16 November 2007 11:39 Go to previous message
maratrus is currently offline  maratrus
Messages: 1495
Registered: August 2007
Location: Moscow
Senior Member
Hi,

1.
Quote:

this sample config ram 512MB

I suppose that your statement based on this string
Quote:

PRIVVMPAGES="131072:139264"

But PRIVVMPAGES not the RAM but the virtual memory restriction and it may be RAM or SWAP.

By the way have you read the wiki pages about UBS parameters? If not please visit this pages
https://wiki.openvz.org/UBC_parameters_table
And it is very useful
https://wiki.openvz.org/UBC_systemwide_configuration

Thank You!
Previous Topic: How to change the default nameserver
Next Topic: How to configure quota
Goto Forum:
  


Current Time: Fri Jul 19 17:19:40 GMT 2024

Total time taken to generate the page: 0.02319 seconds