Uploaded image for project: 'FtpServer'
  1. FtpServer
  2. FTPSERVER-481

Artificially running out of passive ports under load

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Open
    • Major
    • Resolution: Unresolved
    • 1.1.0
    • None
    • Core
    • None
    • Windows 2008R2 virtual machine with 4GB RAM, 4 CPU cores. Oracle Java 1.8.0_121. FTP server configured for 200 users and passive mode ports specified between 3000-3600.

    Description

      When loading the FTP server with 200 users that are downloading files via FTPS in passive mode (implicit), the server eventually appears to run out of passive ports. FTPD log shows numerous instances of "cannot find an available passive port" (see txt attachment). While embedded, it appears the ftpd server also has a memory leak (separate heap dump available upon request - file is too large to attach)

      Can be reproduced using JMeter with the attached testplan/ftps plugin in roughly 35 minutes.

      Attachments

        1. Jmeter_testplan.zip
          31 kB
          David Brooker
        2. heap.zip
          9.74 MB
          David Brooker
        3. ftpd-full.xml
          4 kB
          David Brooker
        4. ftpd_pp_leak_snip.txt
          3 kB
          David Brooker

        Issue Links

          Activity

            People

              Unassigned Unassigned
              dbrook42 David Brooker
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated: