OpenVZ Forum


Home » General » Support » VPS download speed is higher than allowed
VPS download speed is higher than allowed [message #51205] Sat, 08 March 2014 18:07 Go to previous message
postcd is currently offline  postcd
Messages: 73
Registered: April 2013
Member
Hello, please kindly how i can limit network data transfer speed on a VPS? In HyperVM control panel i have "Uplink Traffic(KB/s)" option, so i set 500 for testing purpose and this is a VPS config. file:

Quote:
# UBC parameters (in form of barrier:limit)
KMEMSIZE="2147483646"
LOCKEDPAGES="1000"
PRIVVMPAGES="65536"
SHMPAGES="32768"
NUMPROC="1000"
PHYSPAGES="0:2147483647"
VMGUARPAGES="32768:2147483647"
OOMGUARPAGES="32768:2147483647"
NUMTCPSOCK="8000"
NUMFLOCK="1000"
NUMPTY="500"
NUMSIGINFO="1000"
TCPSNDBUF="26843136:59611136"
TCPRCVBUF="26843136:59611136"
OTHERSOCKBUF="26843136:59611136"
DGRAMRCVBUF="26843136:59611136"
NUMOTHERSOCK="8000"
DCACHESIZE="9216000"
NUMFILE="24000"
AVNUMPROC="180:180"
NUMIPTENT="1000"

# Disk quota parameters (in form of softlimit:hardlimit)
DISKSPACE="10240000:10240000"
DISKINODES="5120000:5120000"
QUOTATIME="0"

# CPU fair scheduler parameter
CPUUNITS="1000"
VE_ROOT="/vz/root/$VEID"
VE_PRIVATE="/home/vps/720"
OSTEMPLATE="centos-5-x86_64-lamp"
ORIGIN_SAMPLE="basic"
IP_ADDRESS="******"
QUOTAUGIDLIMIT="10000"
HOSTNAME="test"
NAMESERVER="8.8.8.8 8.8.4.4"
ONBOOT="yes"
CPULIMIT="5"
MEMINFO="pages:65536"
CPUS="1"
IOPRIO="7"


When tried to download some test file, speed was more than 10Mb/s (i downloaded accessing VPS via command vzctl enter VMID), any idea on how to limit transfer speed please?

[Updated on: Sat, 08 March 2014 18:10]

Report message to a moderator

 
Read Message
Read Message
Read Message
Read Message
Previous Topic: How to discover VPS real Mhz aloted value?
Next Topic: How to use tc to limit traffic?
Goto Forum:
  


Current Time: Wed Sep 04 20:14:20 GMT 2024

Total time taken to generate the page: 0.05463 seconds