ignite-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Andrew Mashenkov (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (IGNITE-4848) Enabling SSL can causes heavy GC.
Date Fri, 28 Apr 2017 15:27:04 GMT

    [ https://issues.apache.org/jira/browse/IGNITE-4848?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15989003#comment-15989003

Andrew Mashenkov commented on IGNITE-4848:

Looks like it is JDK problem, as it makes a lot of allocations of byte arrays on heap to encrypt
data, even if direct buffers is used.
Seems, bouncy castle ssl implementation can be helpful.

> Enabling SSL can causes heavy GC.
> ---------------------------------
>                 Key: IGNITE-4848
>                 URL: https://issues.apache.org/jira/browse/IGNITE-4848
>             Project: Ignite
>          Issue Type: Bug
>          Components: general
>         Environment: Azul JVM
>            Reporter: Andrew Mashenkov
>             Fix For: 2.1
>         Attachments: Screenshot from 2017-03-21 12-42-58.png, Screenshot from 2017-03-21
> When SSL is enabled there are long GC pauses appear in logs. Heavy GC sometimes results
in grid segmentation.
> But, all works fine when SSL is disable.
> I've run test org.apache.ignite.loadtests.client.ClientTcpSslLoadTest and found that
with SSL enabled
> there are a growing number of phantom references in heap. PFA jfr screenshots with SSL
enabled and disabled.
> Seems, GridSelectorNioSessionImpl doesn't clear properly system data buffer (a message
queue) saved in its meta.
> Startpoint is GridNioServer.BUF_SSL_SYSTEM_META_KEY.
> Possibly, this is not only the reason.

This message was sent by Atlassian JIRA

View raw message