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-10136) Fix thread growth/leak issue
Date Fri, 10 Nov 2017 14:38:00 GMT

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

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

DaanHoogland commented on a change in pull request #2314: CLOUDSTACK-10136: Fix RemoteHostEndPoint
thread growth
URL: https://github.com/apache/cloudstack/pull/2314#discussion_r150249850
 
 

 ##########
 File path: engine/storage/src/org/apache/cloudstack/storage/RemoteHostEndPoint.java
 ##########
 @@ -65,10 +65,10 @@
     protected SecondaryStorageVmDao vmDao;
     @Inject
     protected HostDao _hostDao;
-    private ScheduledExecutorService executor;
+
+    private static ExecutorService executorService = Executors.newCachedThreadPool(new NamedThreadFactory("RemoteHostEndPoint"));
 
 Review comment:
   bug fix 1 :+1:

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
users@infra.apache.org


> Fix thread growth/leak issue
> ----------------------------
>
>                 Key: CLOUDSTACK-10136
>                 URL: https://issues.apache.org/jira/browse/CLOUDSTACK-10136
>             Project: CloudStack
>          Issue Type: Bug
>      Security Level: Public(Anyone can view this level - this is the default.) 
>    Affects Versions: 4.5.2, 4.6.2, 4.7.1, 4.10.0.0, 4.9.2.0, 4.8.1.1, 4.9.3.0
>            Reporter: Rohit Yadav
>            Assignee: Rohit Yadav
>             Fix For: 4.11.0.0
>
>
> For long running mgmt server with large amounts of templates etc, large amounts of waiting
threads are seen that start with the 'RemoteHostEndPoint-' prefix. These async threads are
responsible mostly for checking template/volume upload/download progress/states. They kick
everytime a template is being checked/downloaded setup etc.



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)

Mime
View raw message