Change bandwidth limit during PureFTPd operation

Source: Internet
Author: User

PureftpdIt is a fast, high-quality, and fully functional ftp server. The most important thing is that it supports setting the Default Client encoding. Pureftpd is very powerful and useful, this article teaches you how to change the bandwidth limit when running PureFTPd.

Q: Can I change the bandwidth allocation during user transmission and the change takes effect immediately?

A: Unfortunately, no. at least pure-ftp cannot be used. in this way, you have to constantly read user parameters, which is too slow. other mechanisms may run, such as sending signals to interrupt transmission, re-reading parameters, and then Resuming transmission. however, this will increase the complexity of the Code.

If you use modern operating systems 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 occupied by some IP addresses or services at runtime. On OpenBSD, ISOS, or FreeBSD 5, check the file pf. conf. on Linux, check tc, or read linux networking how-.

For more information, see the global bandwidth limit section.

Through the introduction of this article, we all know that it is impossible to change the bandwidth limit immediately. You can only perform a small operation! I hope this article will be useful to you!

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.