mina-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "young_shaw (JIRA)" <j...@apache.org>
Subject [jira] [Created] (SSHD-783) mina ssh- Nio2Session seems like memory peak
Date Mon, 06 Nov 2017 11:16:00 GMT
young_shaw created SSHD-783:
-------------------------------

             Summary: mina ssh- Nio2Session seems like memory peak
                 Key: SSHD-783
                 URL: https://issues.apache.org/jira/browse/SSHD-783
             Project: MINA SSHD
          Issue Type: Question
    Affects Versions: 1.1.0
         Environment: Linux version 3.10.0
jdk-1.7.0_76
            Reporter: young_shaw
            Priority: Critical
         Attachments: 1.png

I am using sshd 1.1.0 as an sftp server running on a Red Hat os. I found this program often
produces hprof file. I use MAT to analysis this file and find this kind of prompt:
"org.apache.sshd.common.io.nio2.Nio2Acceptor" instance "0x761551a68" occupies 3,577,793,864
(98.18%) byte. Its main accumulation of memory is "java.util.concurrent.ConcurrentHashMap$Segment[]"
instance "0x7608721c8" loaded by "bootstrap class loader" .
Futher I found Nio2Accepter's sessions is so huge, seen in the attachment1. I doubt the method
"sessionClosed" in Nio2Service is not executed when a client disconnect abnormally. So I want
to ask your help to postion this problem. Thank you.



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

Mime
View raw message