synapse-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Arockia Raphael (JIRA)" <>
Subject [jira] [Created] (SYNAPSE-991) StatisticsCleaner has not been invoked
Date Mon, 18 Aug 2014 12:51:18 GMT
Arockia Raphael created SYNAPSE-991:

             Summary: StatisticsCleaner has not been invoked
                 Key: SYNAPSE-991
             Project: Synapse
          Issue Type: Bug
          Components: Core
    Affects Versions: 2.1
         Environment: Production environment.

            Reporter: Arockia Raphael
            Assignee: Hiranya Jayathilaka
            Priority: Minor

Production server was up with all synapse services for the past 2 months. GC could not be
able to reclaim the memory in Old Generation of size close to 1 GB. Based on our heap dump
analysis StatisticsCollector was holding the memory and invoked StatisticsViewMBean.clearAllStatistics()
method to get rid of the issue. 

When we analysed the code, we found out the StatisticsCollector has never been called when
the server in Started State. Periodic callbacks are scheduled but not triggering StatisticsCleaner
which cleans up StatisticsCollector references.

SynapseConfigUtils.getStatisticsCollector(ServerContextInformation contextInfo) {
        if (contextInfo != null && contextInfo.getServerState() == ServerState.INITIALIZED)

Please let us know any patch or fix for this issue.


This message was sent by Atlassian JIRA

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message