I have multiple user on a server, they upload and download their file through FTP, sometimes some heavy transfer make high load on server, I am wondering is there any way to limit ftp speed to avoid high load?
Any help would be much appreciated.
|
The keyword is bandwidth management and the Linux Kernel has direct support of it. I dealed with this long time ago and have forgotten much about that but there is a great online book that covers the topic extensively. It's called To get a foretaste of what you want to achieve take a look at Perhaps there are (software) servers which support bandwidth control directly!? Supplement:
|
||||
|
|
|
I found a way to limit ftp speed: In the
This will limit ftp speed to 2 megabyte per second. After changing the file you should restart the proftpd service:
|
|||
|
|
niceandionice -c 3your FTP server. – Stephane Chazelas Sep 18 '12 at 13:21