Report this

What is the reason for this report?

Why PureFTPD so slow when uploading multiple files ?

Posted on January 17, 2019

Hi All !

Thanks for helping us everyday !

I’ve just install an Ubuntu 18.04 server following the Perfect Server (https://www.howtoforge.com/tutorial/...and-ispconfig/) instructions.

We’re using PureFTPd Server for FTP connections.

I’m hosting the server on DigitalOcean Droplet, and when I run a speedtest I get:

root@cloud01:~# ./speedtest-cli Retrieving speedtest.net configuration… Testing from Digital Ocean (111.11.11.11)… Retrieving speedtest.net server list… Selecting best server based on ping… Hosted by Ridge Wireless (Cupertino, CA) [5.08 km]: 2.717 ms Testing download speed… … Download: 853.46 Mbit/s Testing upload speed… … . Upload: 683.06 Mbit/s

The problem is:

OLD Scenario - Shared Server in a Brazilian ISP When I send a 112MB file to the server (PureFTP too) it takes about 00:00:31 (average: 3.6MB/s)

NEW Scenario - VPS Droplet in DigitalOcean SFO2 When I send a 112MB file to the server (PureFTP) it takes about 00:00:34 (average 3.2MB/s)

Its not a big difference and it is ok for me.

BUT, When I send 100 files of 12KB:

OLD Scenario takes 00:00:06 (about 360KB/s)

NEW Scenario takes 00:01:45 (about 11KB/s)

The same happens when I’m deleting files, on the new server it takes too longer than in the old server.

========================

LOGs

New_Scenario: https://pastebin.com/iVyyQHvW Old_Scenario: https://pastebin.com/BD6Zy3vd

CONF:

NewServer Conf: https://pastebin.com/6kvbmCWn

========================

So we know that the problem remains in working with a lots of file, and not with the size of the file. So, we don’t think it’s a bandwidht problem but in the communication between client and server before each file transfer.

Some people in other forums said it’s a DigitalOcen problem.

Any clue will be appreciate !

Thanks in advance !



This textbox defaults to using Markdown to format your answer.

You can type !ref in this text area to quickly search our full set of tutorials, documentation & marketplace offerings and insert the link!

These answers are provided by our Community. If you find them useful, show some love by clicking the heart. If you run into issues leave a comment, or add your own answer to help others.

Hello @wwatanabe

I know it’s been a while since you originally posted this question., but I would like to give an update.

File transfer speed may vary based on many factors, including general latency due to files being downloaded from different locations (data centers), file size differences, and also client configuration.

You can tweak the client configuration to handle more simultaneous transfer requests to help speed up the process for example or explore other options to optimize the process.

Regards

The developer cloud

Scale up as you grow — whether you're running one virtual machine or ten thousand.

Get started for free

Sign up and get $200 in credit for your first 60 days with DigitalOcean.*

*This promotional offer applies to new accounts only.