OpenVZ Forum


Home » General » Support » Unlimited resources in a VPS
Unlimited resources in a VPS [message #31681] Sun, 06 July 2008 15:08 Go to next message
crux is currently offline  crux
Messages: 11
Registered: July 2008
Junior Member
how can i create a VPS with unlimited resources?




server has 6gb ram, 740gb hdd, 2xcpu amd 6000+ 3000mhz


best regards in advance Wink
Re: Unlimited resources in a VPS [message #31682 is a reply to message #31681] Sun, 06 July 2008 15:15 Go to previous messageGo to next message
kir is currently offline  kir
Messages: 1645
Registered: August 2005
Location: Moscow, Russia
Senior Member

Use config generated by vzsplit 1

Kir Kolyshkin
http://static.openvz.org/userbars/openvz-developer.png
Re: Unlimited resources in a VPS [message #31683 is a reply to message #31682] Sun, 06 July 2008 15:39 Go to previous messageGo to next message
crux is currently offline  crux
Messages: 11
Registered: July 2008
Junior Member
thank you!

I have done it.

and i see only avaiable 3GB of ram :-s

shouldnt they be 6?

# Configuration file generated by vzsplit for 1 VEs
# on HN with total amount of physical mem [B]6049 Mb[/B]
# low memory 833 Mb, swap size 2055 Mb, Max treads 8000
# Resourse commit level 0:
# Free resource distribution. Any parameters may be increased
# Primary parameters
NUMPROC="8000:8000"
AVNUMPROC="2134:2134"
NUMTCPSOCK="8000:8000"
NUMOTHERSOCK="8000:8000"
VMGUARPAGES="929224:2147483647"

# Secondary parameters
KMEMSIZE="174866432:192353075"
TCPSNDBUF="25520810:58288810"
TCPRCVBUF="25520810:58288810"
OTHERSOCKBUF="12760405:45528405"
DGRAMRCVBUF="12760405:12760405"
OOMGUARPAGES="929224:2147483647"
PRIVVMPAGES="929224:1022146"

# Auxiliary parameters
LOCKEDPAGES="8538:8538"
SHMPAGES="92922:92922"
PHYSPAGES="0:2147483647"
NUMFILE="68288:68288"
NUMFLOCK="1000:1100"
NUMPTY="512:512"
NUMSIGINFO="1024:1024"
DCACHESIZE="38188240:39333888"
NUMIPTENT="200:200"
DISKSPACE="80513450:88564796"
DISKINODES="41465643:45612208"
CPUUNITS="51225"
Re: Unlimited resources in a VPS [message #31685 is a reply to message #31683] Sun, 06 July 2008 19:14 Go to previous messageGo to next message
kir is currently offline  kir
Messages: 1645
Registered: August 2005
Location: Moscow, Russia
Senior Member

Are you using x86 or x86_64? What does uname -a shows?

Kir Kolyshkin
http://static.openvz.org/userbars/openvz-developer.png
Re: Unlimited resources in a VPS [message #31686 is a reply to message #31685] Sun, 06 July 2008 21:41 Go to previous messageGo to next message
crux is currently offline  crux
Messages: 11
Registered: July 2008
Junior Member
uname -a shows:

Linux server.domain.com 2.6.18-12-fza-686-bigmem #1 SMP Sun May 18 13:01:05 CEST 2008 i686 athlon i386 GNU/Linux
Re: Unlimited resources in a VPS [message #31711 is a reply to message #31686] Mon, 07 July 2008 16:31 Go to previous messageGo to next message
kir is currently offline  kir
Messages: 1645
Registered: August 2005
Location: Moscow, Russia
Senior Member

Try to increase privvmpages and kmemsize 2x.

But still, if you want > 4GB, x86_64 kernel is the best choice.


Kir Kolyshkin
http://static.openvz.org/userbars/openvz-developer.png
Re: Unlimited resources in a VPS [message #31748 is a reply to message #31681] Tue, 08 July 2008 18:15 Go to previous message
crux is currently offline  crux
Messages: 11
Registered: July 2008
Junior Member
thank you!


That solved it Smile

i have no idea why vzsplit only recognized 3GB, but that worked Wink


Best regards
Previous Topic: strange Problem dcachesize
Next Topic: Max disk space limit in vps?
Goto Forum:
  


Current Time: Mon Jul 28 15:04:24 GMT 2025

Total time taken to generate the page: 0.61450 seconds