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

Tapio Piironen commented on CAMEL-13322:
----------------------------------------

Hey,

Did strace on sftp-prosess on sftp-server. Seems like after each file fetch 
there is try of opening /etc/localtime which does not exists. The sftp-server 
prosess is in 40% cpu use. There is some new fetch of /etc/localtime after each 
file fetch?

lstat("/fetch/filedir/file.xml", \{st_mode=S_IFREG|0664, st_size=1053, ...}) = 0
open("/etc/localtime", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or 
directory)

 

 

> SFTP component with sort has significant slowing in new version
> ---------------------------------------------------------------
>
>                 Key: CAMEL-13322
>                 URL: https://issues.apache.org/jira/browse/CAMEL-13322
>             Project: Camel
>          Issue Type: Task
>          Components: camel-sftp
>    Affects Versions: 2.23.1
>         Environment: camel 2.23.1 with sort in Linux
>            Reporter: Tapio Piironen
>            Priority: Minor
>
> There has been significant performance slow down after 2.20.4 to 2.23.1 
> camel-upgrade
> Route 
> from:sftp://user@server/Directory?privateKeyFile=/pkey&move=Archive&sortBy=ignoreCase:file:name
> In 2.20.4 got 1000 files per minute. In 2.23.1 We get 100 or less files per 
> minute. The directory contains 40 000 files all times and need to be fetched 
> in filename order.



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

Reply via email to