OpenVZ Forum


Home » General » Support » configuration needed for P4 2GHz 1GB RAM and 2GB swap
Re: configuration needed for P4 2GHz 1GB RAM and 2GB swap [message #16014 is a reply to message #16007] Sat, 18 August 2007 19:22 Go to previous messageGo to previous message
locutius is currently offline  locutius
Messages: 125
Registered: August 2007
Senior Member
thanks Scott. what i am thinking is the memory config sent me so deep into the config that it is not a bad thing for my learning.

i split the server 24 ways, then manually edited these lines in the config to set the VE limits at 256MB:

VMGUARPAGES="65536:2147483647"
OOMGUARPAGES="65536:2147483647"
PRIVVMPAGES="65536:75536"
SHMPAGES="6553:6553"

mainly all guess work from studying the patterns in the numbers

this is the whole config when done for 256MB

# Primary parameters
NUMPROC="333:333"
AVNUMPROC="93:93"
NUMTCPSOCK="333:333"
NUMOTHERSOCK="333:333"
VMGUARPAGES="65536:2147483647"

# Secondary parameters
KMEMSIZE="7628151:8390966"
TCPSNDBUF="1178749:2542717"
TCPRCVBUF="1178749:2542717"
OTHERSOCKBUF="589374:1953342"
DGRAMRCVBUF="589374:589374"
OOMGUARPAGES="65536:2147483647"
PRIVVMPAGES="65536:75536"

# Auxiliary parameters
LOCKEDPAGES="372:372"
SHMPAGES="6553:6553"
PHYSPAGES="0:2147483647"
NUMFILE="2976:2976"
NUMFLOCK="297:326"
NUMPTY="33:33"
NUMSIGINFO="1024:1024"
DCACHESIZE="1664248:1714176"
NUMIPTENT="83:83"
DISKSPACE="6291456:6291456"
DISKINODES="157911:173703"
CPUUNITS="7173"


vzcfgvalidate validates the config ok

 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: Guest pinging host
Next Topic: *SOLVED* Network access problem on OpenVZ VEs
Goto Forum:
  


Current Time: Wed Oct 16 21:54:01 GMT 2024

Total time taken to generate the page: 0.05304 seconds