A
A
Andrey2022-01-03 15:52:47
Nginx
Andrey, 2022-01-03 15:52:47

Files are not uploaded via FTP client when the channel on a dedicated server is clogged?

On a dedicated server, downloading is actively taking place and the channel (1 Gbps) is almost always packed to capacity. Therefore, when you try to upload files to the server through a desktop ftp client, you get a lot of problems. For example, a small file of about 100 MB can be uploaded to the server for several hours from the hundredth attempt.

Maybe there is a way to overcome this problem? Any special settings in the ftp client? Or is it possible to reserve part of the channel for download through the nginx config?

Answer the question

In order to leave comments, you need to log in

3 answer(s)
K
Konstantin, 2022-01-03
@BHop

Set up the server so that the downloaders do not clog up the entire channel, shape the traffic to the required limits.

K
ky0, 2022-01-03
@ky0

This is more likely to configure the network subsystem of the OS (in the same debian, for example, the default settings for gigabit are not calculated), and not to the FTP server. Your outgoing channel is clogged - but for some reason there are problems with the incoming one.
In general, traffic shaping, as Konstantin already suggested , looks quite appropriate. This can be done, again, at the OS firewall level.

A
Alexander Karabanov, 2022-01-04
@karabanov

Nginx has a limit_rate directive to limit the response rate. But it is better to use the tc
utility so that the limits are applied at the system level, and not at the application level.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question