You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@mina.apache.org by "Goldstein Lyor (JIRA)" <ji...@apache.org> on 2017/09/07 05:46:00 UTC

[jira] [Updated] (SSHD-768) Avoid unbounded message queueing when sending large amounts of data to slow clients

     [ https://issues.apache.org/jira/browse/SSHD-768?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Goldstein Lyor updated SSHD-768:
--------------------------------
    Labels: channel stability stream throttle  (was: stability)

> Avoid unbounded message queueing when sending large amounts of data to slow clients
> -----------------------------------------------------------------------------------
>
>                 Key: SSHD-768
>                 URL: https://issues.apache.org/jira/browse/SSHD-768
>             Project: MINA SSHD
>          Issue Type: New Feature
>            Reporter: jpalacios
>            Assignee: Goldstein Lyor
>              Labels: channel, stability, stream, throttle
>
> 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. 



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)