Get the App
SLTechnology News&Howtos  ›  Servers  › 

How to change the bandwidth limit in PureFTPd Operation

Shulou Source: shulou.com Published: 2022-06-01 00:52:08 09月11日 Update

This article mainly introduces how to change the bandwidth limit in the operation of PureFTPd, which is very detailed and has a certain reference value. Friends who are interested must read it!

Q: can the bandwidth allocation be changed when the user is transmitting, and the change will take effect immediately?

A: unfortunately, no. At least not at the pure-ftp level. To do so, you have to constantly re-read the user parameters, which is too slow. Other mechanisms may run, such as sending signals to interrupt transmission, rereading parameters, and then resuming transmission. However, this will increase the complexity of the code.

If you use a modern operating system such as OpenBSD, ISOS or Linux, the kernel contains a very good TCP/IP transport controller. Because it works at the kernel level, you can easily change the bandwidth that certain IP or services are allowed to consume at run time. On OpenBSD, ISOS, or FreeBSD 5, look at the file pf.conf, on Linux, look at tc, or read linux networking how-to.

The above is all the contents of the article "how to change the bandwidth limit while PureFTPd is running". Thank you for reading! Hope to share the content to help you, more related knowledge, welcome to follow the industry information channel!

Tags: Bandwidth operation transmission restrictions content kernel parameters users articles complexity operating system misfortune code value signals interests complexity guys buddies controllers Apple Docker Huawei Linux macOS MariaDB Microsoft MySQL NVidia OPPO Reno Shulou Technology Docker Linux Shulou Information MySQL