OpenVZ Forum


Home » General » Support » vps config
vps config [message #35969] Thu, 07 May 2009 10:37 Go to next message
vmicovic is currently offline  vmicovic
Messages: 8
Registered: May 2009
Junior Member
Hello,

I need sugestion for vps templates.
I am very confused about parameters, i read in handbook, but still i don`t know what is the best options for templates.

Ok, i start to make conf. file for small vps (mini), and here is "my" config file:

Quote:


VERSION="2"

ONBOOT="no"

# UBC parameters (in form of barrier:limit)
# Primary parameters
AVNUMPROC="15:15"
NUMPROC="40:40"
NUMTCPSOCK="40:40"
NUMOTHERSOCK="40:40"
VMGUARPAGES="1725:9223372036854775807"
# Secondary parameters
KMEMSIZE="1131520:1200742"
TCPSNDBUF="159744:262144"
TCPRCVBUF="159744:262144"
OTHERSOCKBUF="61440:163840"
DGRAMRCVBUF="32768:32768"
OOMGUARPAGES="1725:9223372036854775807"
# Auxiliary parameters
LOCKEDPAGES="4:4"
SHMPAGES="1152:1152"
PRIVVMPAGES="7680:8448"
NUMFILE="512:512"
NUMFLOCK="50:60"
NUMPTY="4:4"
NUMSIGINFO="256:256"
DCACHESIZE="196608:202752"

PHYSPAGES="0:9223372036854775807"
NUMIPTENT="16:16"

# Disk quota parameters (in form of softlimit:hardlimit)
DISKSPACE="504800:504800"
DISKINODES="80000:100000"
QUOTATIME="60"

# CPU fair sheduler parameter
CPUUNITS="250"


So, can somebody help me to understand what is the best options for vps ...
I need 3 package ... mini, medium and maximum.

What is the best config and what is yours config? Smile


Thank you very much for help and sorry for my bad English.



Best regards.

[Updated on: Thu, 07 May 2009 10:39]

Report message to a moderator

Re: vps config [message #35978 is a reply to message #35969] Fri, 08 May 2009 13:53 Go to previous messageGo to next message
vmicovic is currently offline  vmicovic
Messages: 8
Registered: May 2009
Junior Member
i resolve this with putting parameters in megabytes
Re: vps config [message #35999 is a reply to message #35978] Mon, 11 May 2009 14:05 Go to previous messageGo to next message
jakob is currently offline  jakob
Messages: 19
Registered: June 2008
Junior Member
These
http://wiki.openvz.org/UBC_configuration_examples_table
are good starting points!
Re: vps config [message #36005 is a reply to message #35999] Mon, 11 May 2009 19:06 Go to previous message
vmicovic is currently offline  vmicovic
Messages: 8
Registered: May 2009
Junior Member
this is not what i want ...

I want to see which user use some kind of process

[Updated on: Mon, 11 May 2009 19:23]

Report message to a moderator

Previous Topic: Quota
Next Topic: Problems after ubuntu upgrade from 7.10 to 8.04 LTS
Goto Forum:
  


Current Time: Sun Jul 14 21:56:09 GMT 2024

Total time taken to generate the page: 0.02331 seconds