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 2018/05/07 16:18:00 UTC

[jira] [Resolved] (SSHD-823) Retrieving a directy listing of a directory containing a large number of files is very slow.

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

Goldstein Lyor resolved SSHD-823.
---------------------------------
    Resolution: Won't Fix

> Retrieving a directy listing of a directory containing a large number of files is very slow.
> --------------------------------------------------------------------------------------------
>
>                 Key: SSHD-823
>                 URL: https://issues.apache.org/jira/browse/SSHD-823
>             Project: MINA SSHD
>          Issue Type: Improvement
>    Affects Versions: 1.6.0, 1.7.0
>            Reporter: Mark Ebbers
>            Priority: Minor
>              Labels: directory-listing, perfomance, ssh_fxp_name
>
> Retrieving a directy listing of a directory containing a large number of files is very slow.
> The method SftpSubSystem.doReaddir() uses a fixed maximum packet size of the returned SSH_FXP_NAME packets of 16*1024 bytes. Defined by the constant DEFAULT_MAX_READDIR_DATA_SIZE. It is possible to override this constant by setting the property MAX_READDIR_DATA_SIZE_PROP for that session.
> Would it not be better to dynamicly calculate the maximum SSH_FXP_NAME packet size based on MAX_PACKET_SIZE?



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)