You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@click.apache.org by "Adrian A. (JIRA)" <ji...@apache.org> on 2013/11/02 16:53:17 UTC

[jira] [Commented] (CLK-776) Starting click is very slow, if the application has a really large number of files

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

Adrian A. commented on CLK-776:
-------------------------------

IMHO the existing "excluded" property of click.xml should stop Click from looking in those folders altogether.

> Starting click is very slow, if the application has a really large number of files
> ----------------------------------------------------------------------------------
>
>                 Key: CLK-776
>                 URL: https://issues.apache.org/jira/browse/CLK-776
>             Project: Click
>          Issue Type: Bug
>          Components: core
>    Affects Versions: 2.3.0
>         Environment: Suse SLES 10.3 with XFS filesystem
> Tomcat 6
>            Reporter: Thomas Herok
>            Priority: Minor
>              Labels: patch
>             Fix For: 3.0.0
>
>         Attachments: LargeContextPatch.patch
>
>
> Hi,
> We have a problem with the start-up of the Click framework. Our tomcats take up to 15 minutes to start it. 
> The web application has around 2.5 million small files in a XFS file system (ouch).
> During the resolution of the list of templates within the web application Click will traverse all the directories and files and this really takes some time. 
> So, we patched the XmlConfigService and it will only look into one configured folder. This speeds up our starts significantly. The folder is configured as init parameter in the web.xml. 
> It would be great, if this patch would be in the next release. 
> Attached you will find the patch.
> Best regards
> Thomas Herok



--
This message was sent by Atlassian JIRA
(v6.1#6144)