ftp file upload slow problem

Problem Description

In a certain environment, uploading files through vsftp is slow.

problem analysis

This problem is caused by the server DNS. If the public network DNS or other DNS that cannot be connected is configured on the intranet machine, the upload will be slow.

solution

There are currently two solutions, just choose one (the second one is preferred)

method 1

Comment or delete the DNS in /etc/resolv.conf

Method 2

Modify the vsftpd configuration file and addreverse_lookup_enable=NO, then restart

vim /etc/vsftpd/vsftpd.conf
最下面添加 reverse_lookup_enable=NO
:wq保存
然后重启  systemctl restart vsftpd

Guess you like

Origin blog.csdn.net/tootsy_you/article/details/133908313