VSFTPD Very slow?


#1

Hi all,

I have a Fiber connexion and when i use FileZilla to download , i cant go more than 2 mo/sec

I checked in vsftpd conf file in /ETC/ and there is no limitation . i dont understand where i can fix this

Someone help would be great !!

listen=YES
anonymous_enable=NO
guest_enable=NO
dirmessage_enable=YES
dirlist_enable=YES
download_enable=YES
secure_chroot_dir=/var/run/vsftpd/empty
chroot_local_user=YES
chroot_list_file=/etc/vsftpd.chroot_list
passwd_chroot_enable=YES
allow_writeable_chroot=YES
pam_service_name=vsftpd
ssl_enable=NO
allow_anon_ssl=NO
force_local_data_ssl=NO
force_local_logins_ssl=NO
ssl_tlsv1=YES
ssl_sslv2=NO
ssl_sslv3=NO
require_ssl_reuse=NO
ssl_request_cert=YES
ssl_ciphers=HIGH
rsa_cert_file=/etc/ssl/private/vsftpd.pem
local_enable=YES
write_enable=YES
local_umask=022
max_per_ip=0
pasv_enable=YES
port_enable=YES
pasv_promiscuous=NO
port_promiscuous=NO
pasv_min_port=10090
pasv_max_port=10100
listen_port=21
seccomp_sandbox=no
utf8_filesystem=YES
pasv_address=MY IP
local_root=/home/$USER/torrents/rtorrent
user_sub_token=$USER


#2

Speedtest
Testing download speed…
Download: 865.44 Mbit/s
Testing upload speed…
Upload: 203.08 Mbit/s

Wget from another server to ftp:// , 2 mo/Sec …


#3
  • From an other server to Hetzner :

wget https://speed.hetzner.de/10GB.bin=> 90mo/sec

wget --user nicolas --password=XXX ftp://46.4.121.XX/MYFILE => 1,5 mo /sec ( To my hetzner )

  • From my hetzner server :

wget --user peXXo --password=XX ftp://FRENCHDEDICATED/MyFile => 75mo/sec

wget https://speed.hetzner.de/10GB.bin=> 90mo/sec

EDIT :

I just tested on rescue :

Boot in rescue
Install vsftpd : apt-get install vsftpd
Test one time with default vsftpd conf file , and one with mine
Create one file of 1 GB : dd if=/dev/zero of=file.txt count=1024 bs=1048576
Wget it from French dedicated server

i get 100 mo /sec …

Back to normal mode , and still 1.5 mo /sec

I dont have Ip tables rules yet , and my VSFTPD should not be the cause

Have no idea


#4

make a ticket to Hezner and have them check your peering…QB does not alter or change ftp settings so you´d face speed problems.


#5

Thx for your reply

i gonna open a ticket !

i was wondering if other settings than Vsftp could affect it ? There is no iptables rules with QB