[ 
https://issues.apache.org/jira/browse/SSHD-1125?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17291188#comment-17291188
 ] 

Lyor Goldstein commented on SSHD-1125:
--------------------------------------

{noformat:title=After fix}
22:08:53.994 | ERROR | bsystem-thread-1 | o.a.s.s.s.SftpSubsystem          | 
org.apache.sshd.common.util.logging.LoggingUtils                  685 | 
run(ServerSessionImpl[testReadRequestsOutOfMemory@/127.0.0.1:50710]) 
SshChannelBufferedOutputException caught in SFTP subsystem: Max. pending write 
timeout expired after 2096412 bytes
{noformat}

> Provide a boundary on BufferedIoOutputStream writing to avoid memory overflow
> -----------------------------------------------------------------------------
>
>                 Key: SSHD-1125
>                 URL: https://issues.apache.org/jira/browse/SSHD-1125
>             Project: MINA SSHD
>          Issue Type: Bug
>            Reporter: Lyor Goldstein
>            Assignee: Lyor Goldstein
>            Priority: Major
>              Labels: memory
>
> Use an upper bound to the data pending in the {{BufferedIoOutputStream}}. The 
> max data could be set to the max window size.  Blocking until there is enough 
> room should allow the client to read the data.



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to