OpenVZ Forum


Home » General » Support » urgent -cpanel - ram , space , bw , cpu limitation - help plz
urgent -cpanel - ram , space , bw , cpu limitation - help plz [message #25191] Mon, 17 December 2007 11:21 Go to next message
ataomega is currently offline  ataomega
Messages: 24
Registered: November 2007
Junior Member

hello,
excuse me, i ave server with 1 gb ram , p4 2.8 ghz cpu , i installed open vz on it,
i want to create a vps with 384 mb ram max 512 , 30 gb space , 300 gb bw , and 300 mgz cpu max 400 ghz ,
i enter this commands , are there true? also how can i limit bandwidth ?:

vzctl create 1 --ostemplate centos-4-minimal
vzctl set 1 --onboot yes --save
vzctl set 1 --hostname server.mihanpars.com --save
vzctl set 1 --ipadd 76.164.192.83 --save
vzctl set 1 --nameserver 4.2.2.1 --save
vzctl start 1
vzctl exec 1 service sshd start
vzctl set 1 --userpasswd root:test
vzyum 1 install wget
vzyum 1 install yum
vzyum 1 install perl
vzctl set 1 --diskspace 31457280:31981568 --save
vzctl set 1 --diskinodes 200000:220000 --save
vzctl set 1 --quotatime 1000 --save
vzctl set 1 --cpuunits 14725 --cpulimit 13 --save
vzctl set 1 --kmemsize 2211840:2359296 --save
vzctl set 1 --oomguarpages 196608 --save
vzctl set 1 --vmguarpages 98304:131072 --save

i dont know how to limit bandwidth plz help me, are these command that i enter true?
----
after that i installed cpanel on vps 1 :
cd /
cd home
wget http://layer1.cpanel.net/latest
sh latest

after a long time cpanel installed but it doesnt work (see 76.164.192.83 ), i dont know what i should do,

please help me
Re: urgent -cpanel - ram , space , bw , cpu limitation - help plz [message #25257 is a reply to message #25191] Wed, 19 December 2007 03:29 Go to previous messageGo to next message
ataomega is currently offline  ataomega
Messages: 24
Registered: November 2007
Junior Member

please help me, plz
Re: urgent -cpanel - ram , space , bw , cpu limitation - help plz [message #28648 is a reply to message #25191] Tue, 25 March 2008 22:33 Go to previous messageGo to next message
SoftDux is currently offline  SoftDux
Messages: 55
Registered: November 2007
Location: Johannesburg, South Afric...
Member
What errors do you get?

What does /var/log/messages give you when you install cPanel?

What happens when you run /etc/init.d/cpanel restart?

What do you get when you run ps ax | grep http ?
Re: urgent -cpanel - ram , space , bw , cpu limitation - help plz [message #28686 is a reply to message #25191] Wed, 26 March 2008 10:25 Go to previous message
rickb is currently offline  rickb
Messages: 368
Registered: October 2006
Senior Member
There is no command to limit bandwidth. You need to do some external accounting then shut down or throttle using a tool like tc.

Rick


-------------
Common Terms I post with: http://wiki.openvz.org/Category:Definitions

UBC. Learn it, love it, live it: http://wiki.openvz.org/Proc/user_beancounters
Previous Topic: 99% of cpu and ram?
Next Topic: vzcpucheck giving error
Goto Forum:
  


Current Time: Sat Apr 20 05:54:43 GMT 2024

Total time taken to generate the page: 0.01784 seconds