[ 
https://forge.continuent.org/jira/browse/SEQUOIA-1141?page=comments#action_15231
 ] 

Emmanuel Cecchet commented on SEQUOIA-1141:
-------------------------------------------

The main issue was in 
RequestManager.disableBackendsWithCheckpoint(ArrayList<BackendInfo> 
backendInfos, String checkpointName) that called a disable force on the load 
balancer instead of a regular disable.
The side effect is that KillThreadTask tasks were not allowed to be processed 
by BackendWorkerThreads because task posting was disabled before they had time 
fetch the KillThreadTask.
Incidentally, this scenario could happen in a force disable due to a failure, 
so I fixed the task posting mechanism to allow KillThreadTask to go through.
Some cleanup in BackendWorkerThread has also been made with Javadoc that was 
referring to the old implementation and an unnecessary notify mechanism that 
dated from the original implem before the multiple task queues.

> Backup operation leaks BackendWorkerThread threads
> --------------------------------------------------
>
>          Key: SEQUOIA-1141
>          URL: https://forge.continuent.org/jira/browse/SEQUOIA-1141
>      Project: Sequoia
>         Type: Bug

>   Components: Core
>     Versions: sequoia 2.10.10
>  Environment: Single controller scenario
>     Reporter: Emmanuel Cecchet
>     Assignee: Emmanuel Cecchet
>     Priority: Critical
>      Fix For: sequoia 2.10.11, Sequoia 4.0

>
>
> BackendWorkerThreads are leaked after a backup operation. It looks like 
> threads are not properly terminated leaking each time 5 BackendWorkerThreads 
> (default configuration).
> For long running systems, they eventually die of a resource outage since the 
> JVM cannot keep up with an infinite number of threads.
> Still investigating the issue to understand where the leaks come from.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
   https://forge.continuent.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
   http://www.atlassian.com/software/jira

_______________________________________________
Sequoia mailing list
[email protected]
https://forge.continuent.org/mailman/listinfo/sequoia

Reply via email to