Uploaded image for project: 'MINA SSHD'
  1. MINA SSHD
  2. SSHD-768

Avoid unbounded message queueing when sending large amounts of data to slow clients

    XMLWordPrintableJSON

Details

    Description

      Our application runs an Apache MINA server to provide SSH support. We are seeing OutOfMemoryError s when certain clients establish a session with a large Window size. Particularly clients like TortoiseGit (which uses TortoisePlink which in turn seems to use Putty) use an initial window size of 2GB. From heap dumps we can see that the DefaultWriteRequestQueue is filling up with WriteRequest instances and taking up gigabytes of space until the heap blows.

      Attachments

        Issue Links

          Activity

            People

              lgoldstein Lyor Goldstein
              jpalacios jpalacios
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: