| File download slows down to 0bps inside VE [message #16129] | 
			Thu, 23 August 2007 17:30   | 
		 
		
			
				
				
				
					
						  
						eliast
						 Messages: 10 Registered: May 2007 
						
					 | 
					Junior Member  | 
					 | 
		 
		 
	 | 
 
	
		Hy all. Inside a fresh VE, created from the basic conf, based on etch template, if I start to download from kernel.org, the download starts at a good rate but in some seconds it slows down to 0. normally, in the host os, I can dl from kernel.org at 10Megs/sec. Inside a VE I even cannot finish downloading the kernel source, the most it comes dow is 4MB. 
 
The server is a core2duo with 1,5g ram, and 2 VEs. Both VEs akt like I descrbed.  
 
Any ideas? 
 
here are the examples: 
 
HOSTOS:/home/eliast# wget  http://www.hu.kernel.org/pub/linux/kernel/v2.6/linux-2.6.22. 5.tar.gz 
--19:16:20--   http://www.hu.kernel.org/pub/linux/kernel/v2.6/linux-2.6.22. 5.tar.gz 
           => `linux-2.6.22.5.tar.gz' 
Resolving www.hu.kernel.org... 193.206.140.34, 193.198.184.21, 81.223.20.167, ... 
Connecting to www.hu.kernel.org|193.206.140.34|:80... connected. 
HTTP request sent, awaiting response... 200 OK 
Length: 56,918,858 (54M) [application/x-tar] 
 
 100%[======================================================= ===================================================== >] 56,918,858    21.76M/s 
 
19:16:27 (21.71 MB/s) - `linux-2.6.22.5.tar.gz' saved [56918858/56918858] 
 
HOSTOS:/home/eliast# vzctl enter 100 
entered into VE 100 
VE1:/# wget  http://www.hu.kernel.org/pub/linux/kernel/v2.6/linux-2.6.22. 5.tar.gz 
--17:16:44--   http://www.hu.kernel.org/pub/linux/kernel/v2.6/linux-2.6.22. 5.tar.gz 
           => `linux-2.6.22.5.tar.gz' 
Resolving www.hu.kernel.org... 193.198.184.21, 193.206.140.34, 81.223.20.167, ... 
Connecting to www.hu.kernel.org|193.198.184.21|:80... connected. 
HTTP request sent, awaiting response... 200 OK 
Length: 56,918,858 (54M) [application/x-tar] 
 
 7% [=======>                                                                                                     ] 4,194,304     --.--K/s    ETA 04:03 
VE1:/# logout 
exited from VE 100 
HOSTOS:/home/eliast# vzctl enter 101 
entered into VE 101 
VE2:/# wget  http://www.hu.kernel.org/pub/linux/kernel/v2.6/linux-2.6.22. 5.tar.gz 
--17:20:29--   http://www.hu.kernel.org/pub/linux/kernel/v2.6/linux-2.6.22. 5.tar.gz 
           => `linux-2.6.22.5.tar.gz' 
Resolving www.hu.kernel.org... 192.108.114.81, 158.195.35.197, 81.223.20.167, ... 
Connecting to www.hu.kernel.org|192.108.114.81|:80... connected. 
HTTP request sent, awaiting response... 200 OK 
Length: 56,918,858 (54M) [text/plain] 
 
 1% [>                                                                                                            ] 777,864       --.--K/s    ETA 10:08 
 
 
Here are my conf file's parameters: 
 
VERSION="2" 
 
ONBOOT="no" 
 
# UBC parameters (in form of barrier:limit) 
# Primary parameters 
AVNUMPROC="40:40" 
NUMPROC="65:65" 
NUMTCPSOCK="80:80" 
NUMOTHERSOCK="80:80" 
VMGUARPAGES="6144:9223372036854775807" 
# Secondary parameters 
KMEMSIZE="5242880:5592405" 
TCPSNDBUF="319488:524288" 
TCPRCVBUF="319488:524288" 
OTHERSOCKBUF="132096:336896" 
DGRAMRCVBUF="132096:132096" 
OOMGUARPAGES="6144:9223372036854775807" 
# Auxiliary parameters 
LOCKEDPAGES="32:32" 
SHMPAGES="8192:8192" 
PRIVVMPAGES="35000:38181" 
NUMFILE="2048:2048" 
NUMFLOCK="100:110" 
NUMPTY="16:16" 
NUMSIGINFO="256:256" 
DCACHESIZE="1048576:1097728" 
 
PHYSPAGES="0:9223372036854775807" 
NUMIPTENT="128:128" 
 
# Disk quota parameters (in form of softlimit:hardlimit) 
DISKSPACE="1048576:1153434" 
DISKINODES="200000:220000" 
QUOTATIME="0" 
 
# CPU fair sheduler parameter 
CPUUNITS="1000" 
OFFLINE_MANAGEMENT="yes" 
NOATIME="yes" 
CPUS="2" 
OSTEMPLATE="debian-etch-PE_base-070717-template-i386" 
ORIGIN_SAMPLE="vps.basic" 
		
		
		
 |  
	| 
		
	 | 
 
 
 | 
	
		
		
			| Re: File download slows down to 0bps inside VE [message #16135 is a reply to message #16129] | 
			Thu, 23 August 2007 19:48    | 
		 
		
			
				
				
				
					
						  
						locutius
						 Messages: 125 Registered: August 2007 
						
					 | 
					Senior Member  | 
					 | 
		 
		 
	 | 
 
	
		the basic conf is an extremely conservative VPS with 24MB RAM and everything tuned down 
 
use the vzsplit utility to output an 8 way split of your hardware. compare the output of vzsplit with the conf of your VPS and you will see the problem 
 
that was the solution but here is another way to check what is happening inside the VPS 
 
cat /proc/user_beancounters
		
		
		[Updated on: Thu, 23 August 2007 19:49] Report message to a moderator  
 |  
	| 
		
	 | 
 
 
 | 
	| 
		
 | 
	| 
		
 | 
	| 
		
 | 
	| 
		
 | 
	| 
		
 | 
	| 
		
 |