cloudstack-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "ASF GitHub Bot (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (CLOUDSTACK-8901) PrepareTemplate job thread hard-coded to max 8 threads
Date Mon, 28 Sep 2015 09:26:04 GMT

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

ASF GitHub Bot commented on CLOUDSTACK-8901:
--------------------------------------------

Github user koushik-das commented on a diff in the pull request:

    https://github.com/apache/cloudstack/pull/880#discussion_r40532523
  
    --- Diff: server/src/com/cloud/configuration/Config.java ---
    @@ -1999,7 +1999,9 @@
         // StatsCollector
         StatsOutPutGraphiteHost("Advanced", ManagementServer.class, String.class, "stats.output.uri",
"", "URI to additionally send StatsCollector statistics to", null),
     
    -    SSVMPSK("Hidden", ManagementServer.class, String.class, "upload.post.secret.key",
"", "PSK with SSVM", null);
    +    SSVMPSK("Hidden", ManagementServer.class, String.class, "upload.post.secret.key",
"", "PSK with SSVM", null),
    +
    +    TemplatePreloaderPoolSize("Advanced", TemplateManager.class, Integer.class, "template.preloader.pool.size",
"8", "Size of the TemplateManager threadpool", null);
    --- End diff --
    
    Use the mechanism described here to add a new configuration. https://cwiki.apache.org/confluence/display/CLOUDSTACK/Configuration.


> PrepareTemplate job thread hard-coded to max 8 threads
> ------------------------------------------------------
>
>                 Key: CLOUDSTACK-8901
>                 URL: https://issues.apache.org/jira/browse/CLOUDSTACK-8901
>             Project: CloudStack
>          Issue Type: Bug
>      Security Level: Public(Anyone can view this level - this is the default.) 
>            Reporter: sudharma jain
>
>  The thread pool is hardcoded to use 8 threads,
> com.cloud.template.TemplateManagerImpl.configure(String, Map<String, Object>):
> _preloadExecutor = Executors.newFixedThreadPool(8, new NamedThreadFactory("Template-Preloader"));
> Need to make it configurable.



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

Mime
View raw message