You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@ignite.apache.org by "Mirza Aliev (Jira)" <ji...@apache.org> on 2021/08/16 08:23:00 UTC

[jira] [Updated] (IGNITE-15313) JRaft doesn't properly free resources after stop

     [ https://issues.apache.org/jira/browse/IGNITE-15313?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Mirza Aliev updated IGNITE-15313:
---------------------------------
    Description: 
When you run {{testInstallLargeSnapshotWithThrottle}} several time, you can see, that the number of live threads being incresaed during tetst run. (see attached image of VisualVM)

Threads analyzing has shown that {{JRaft-Request-Processor}} threads have been still alive after test ending. 

Solution: 
{{IgniteRpcServer#shutdown}} shoud be implemented and `rpcExecutor` must be terminated in the {{shutdown}} method

  was:
When you run {{testInstallLargeSnapshotWithThrottle}} several time, you can see, that the number of live threads being incresaed during tetst run.
 !image-2021-08-16-11-10-22-941.png! 

Threads analyzing has shown that {{JRaft-Request-Processor}} threads have been still alive after test ending. 

Solution: 
{{IgniteRpcServer#shutdown}} shoud be implemented and `rpcExecutor` must be terminated in the {{shutdown}} method


> JRaft doesn't properly free resources after stop
> ------------------------------------------------
>
>                 Key: IGNITE-15313
>                 URL: https://issues.apache.org/jira/browse/IGNITE-15313
>             Project: Ignite
>          Issue Type: Bug
>            Reporter: Mirza Aliev
>            Priority: Major
>              Labels: ignite-3
>             Fix For: 3.0.0-alpha3
>
>         Attachments: image-2021-08-16-11-10-22-941.png
>
>
> When you run {{testInstallLargeSnapshotWithThrottle}} several time, you can see, that the number of live threads being incresaed during tetst run. (see attached image of VisualVM)
> Threads analyzing has shown that {{JRaft-Request-Processor}} threads have been still alive after test ending. 
> Solution: 
> {{IgniteRpcServer#shutdown}} shoud be implemented and `rpcExecutor` must be terminated in the {{shutdown}} method



--
This message was sent by Atlassian Jira
(v8.3.4#803005)