linuxubuntujmeterftpvsftpd

Why do I get up to 99% error in Jmeter FTP request (Linux vsftpd) at over 50 users?


we are currently working on a school project in which we are comparing Windows and Linux server roles. We decided to use Jmeter for performance testing but we ran into some weird results for FTP requests. The tests were performed as 20 minutes of infinitely looping tests that incrementally increased users (threads). Hardware is identical, and the Jmeter plans are duplicates except for changed IP-addresses.

First we tested 10 users for 20 minutes, then 20 users for 20 minutes -> 50 users -> finally 100 users. The requests contain a get-retrieval for a 1 MB dummy-file. Windows FTP went through all the tests with 0.0% error but the Linux FTP started running into errors at around 40-50 users. 50 users had 77% error, and 100 users had 99% error.

Is the Linux FTP-software not designed for this many continuous users or are we missing some configurations? Thanks for any input :)

Linux FTP 20 users

Linux FTP 50 users

Linux FTP 100 users

Windows FTP 100 users


Solution

  • Looking into How do I limit the number of simultaneous vsftpd connections from the same IP address

    The default value for maximum number of simultaneous vsftpd connections coming from the same source is 50

    You need to set the following directives in vsftpd.conf:

    Additional information: