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 previous 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"

 
Read Message
Read Message
Previous Topic: How to change the default nameserver
Next Topic: How to configure quota
Goto Forum:
  


Current Time: Tue Aug 20 04:54:29 GMT 2024

Total time taken to generate the page: 0.03238 seconds