[QA][5.3] local_max_rate option of vsftpd.conf doesn't work as expected.
Issue
- This case asks you about how local_max_rate option of vsftpd.conf should work.
-
local_max_rate specified to limit the data transfer rate doesn't work as expected. We don't really know why.
-
If no local_max_rate is specified, the results of "put" and "get" are as follows at 100 MB file. In both cases, transfer rate is 120 MB/second or less.
----------------------------------------------
put:
104857600 bytes sent in 0.86 seconds (1.2e+05 Kbytes/s)get:
104857600 bytes received in 1.4 seconds (7.1e+04 Kbytes/s)
----------------------------------------------
- Hereby, we expect the following 2 cases (A and B) show the same result as each other.
A) No local_max_rate is specified (as mentioned above)
B) local_max_rate is 120 MB
- But, the results are different from each other as follows.
----------------------------------------------
put:
104857600 bytes sent in 2.3 seconds (4.4e+04 Kbytes/s)get:
104857600 bytes received in 2.6 seconds (4e+04 Kbytes/s)
----------------------------------------------
- We wonder why local_max_rate option doesn't work as we expect.
Environment
- Red Hat Enterprise Linux 5 Update 3
- Architecture: x86_64
- Kernel Version: 2.6.18-128.el5
- Related Package Version: vsftpd-2.0.5-12.el5.x86_64
Subscriber exclusive content
A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.