commons-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Gary Gregory (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (VFS-618) sftp consumes channels on each cd when directory does not exist
Date Wed, 20 Jul 2016 16:44:20 GMT

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

Gary Gregory commented on VFS-618:
----------------------------------

[~johnm]:

Can you please try with 2.1 so we can get a stack trace that matches the current sources?

Thank you!
Gary

> sftp consumes channels on each cd when directory does not exist
> ---------------------------------------------------------------
>
>                 Key: VFS-618
>                 URL: https://issues.apache.org/jira/browse/VFS-618
>             Project: Commons VFS
>          Issue Type: Bug
>    Affects Versions: 2.1
>         Environment: all platforms
>            Reporter: J. Baier
>   Original Estimate: 1h
>  Remaining Estimate: 1h
>
> While resolving a FileObject on an sftp target for a directory that does not exist on
the target, SftpFileSystem.getChannel() is called and while trying to cd to the workingDirectory,
an SftpException is thrown but the channel object is not released.
> This leads to many sftp channels kept opoen on the target system and consumes unnecessary
resources.
> A simple patch of releasing the channel in the caught SftpException in SftpFileSystem
line 125 would solve this issue.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Mime
View raw message