[jira] [Commented] (VFS-816) Apache commons VFS2 code is taking 5 min to resolve the file in SFTP
[ https://issues.apache.org/jira/browse/VFS-816?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17513154#comment-17513154 ] Veeraswamy Naidu Pulaparti commented on VFS-816: Hi [~ggregory] , i want to understand the logic of why exec permission check required for VFS system. Is there any functionality is there depends on this permission basis? > Apache commons VFS2 code is taking 5 min to resolve the file in SFTP > > > Key: VFS-816 > URL: https://issues.apache.org/jira/browse/VFS-816 > Project: Commons VFS > Issue Type: Bug >Affects Versions: 2.7.0 >Reporter: Veeraswamy Naidu Pulaparti >Priority: Major > Attachments: SFTPTest.rtf > > > Hi Team, when i used the commons-vfs2-2.7.0.jar file in my application it is > taking around 5 min to resolve the file for 1kb as well. > when the same code is used by changing the packages from vf2 -> vfs and using > the jar commons-vfs-2.0.jar it is working normally and the same step is > coming out within milliseconds. > Could you please check the same and let me know if i am missing anything > here. For reference i am attaching reference java code. -- This message was sent by Atlassian Jira (v8.20.1#820001)
[jira] [Commented] (VFS-816) Apache commons VFS2 code is taking 5 min to resolve the file in SFTP
[ https://issues.apache.org/jira/browse/VFS-816?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17510734#comment-17510734 ] Veeraswamy Naidu Pulaparti commented on VFS-816: [~ggregory] After deep dive of the jstack and vfs code base , it is blocking at detectExecDisabled() org.apache.commons.vfs2.provider.sftp.SftpFileSystem.executeCommand(SftpFileSystem.java:322). If i set the filesystem options to SftpFileSystemConfigBuilder.getInstance().setDisableDetectExecChannel(opts, true); It is working fine . May i know the functionality of this check implemented in 2.7.0 and what will happen if i always go with setting this option as true like above? Thanks in advance. > Apache commons VFS2 code is taking 5 min to resolve the file in SFTP > > > Key: VFS-816 > URL: https://issues.apache.org/jira/browse/VFS-816 > Project: Commons VFS > Issue Type: Bug >Affects Versions: 2.7.0 >Reporter: Veeraswamy Naidu Pulaparti >Priority: Major > Attachments: SFTPTest.rtf > > > Hi Team, when i used the commons-vfs2-2.7.0.jar file in my application it is > taking around 5 min to resolve the file for 1kb as well. > when the same code is used by changing the packages from vf2 -> vfs and using > the jar commons-vfs-2.0.jar it is working normally and the same step is > coming out within milliseconds. > Could you please check the same and let me know if i am missing anything > here. For reference i am attaching reference java code. -- This message was sent by Atlassian Jira (v8.20.1#820001)
[jira] [Commented] (VFS-816) Apache commons VFS2 code is taking 5 min to resolve the file in SFTP
[ https://issues.apache.org/jira/browse/VFS-816?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17492470#comment-17492470 ] Veeraswamy Naidu Pulaparti commented on VFS-816: [~ggregory] i added my sample java code used to test the same in RTF file with line by line comments. There i observed in resolveFile it is taking 5 min time . > Apache commons VFS2 code is taking 5 min to resolve the file in SFTP > > > Key: VFS-816 > URL: https://issues.apache.org/jira/browse/VFS-816 > Project: Commons VFS > Issue Type: Bug >Affects Versions: 2.7.0 >Reporter: Veeraswamy Naidu Pulaparti >Priority: Major > Attachments: SFTPTest.rtf > > > Hi Team, when i used the commons-vfs2-2.7.0.jar file in my application it is > taking around 5 min to resolve the file for 1kb as well. > when the same code is used by changing the packages from vf2 -> vfs and using > the jar commons-vfs-2.0.jar it is working normally and the same step is > coming out within milliseconds. > Could you please check the same and let me know if i am missing anything > here. For reference i am attaching reference java code. -- This message was sent by Atlassian Jira (v8.20.1#820001)
[jira] [Created] (VFS-816) Apache commons VFS2 code is taking 5 min to resolve the file in SFTP
Veeraswamy Naidu Pulaparti created VFS-816: -- Summary: Apache commons VFS2 code is taking 5 min to resolve the file in SFTP Key: VFS-816 URL: https://issues.apache.org/jira/browse/VFS-816 Project: Commons VFS Issue Type: Bug Affects Versions: 2.7.0 Reporter: Veeraswamy Naidu Pulaparti Attachments: SFTPTest.rtf Hi Team, when i used the commons-vfs2-2.7.0.jar file in my application it is taking around 5 min to resolve the file for 1kb as well. when the same code is used by changing the packages from vf2 -> vfs and using the jar commons-vfs-2.0.jar it is working normally and the same step is coming out within milliseconds. Could you please check the same and let me know if i am missing anything here. For reference i am attaching reference java code. -- This message was sent by Atlassian Jira (v8.20.1#820001)