You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@geode.apache.org by "Darrel Schneider (Jira)" <ji...@apache.org> on 2021/10/14 18:09:00 UTC
[jira] [Assigned] (GEODE-9736) publishes that find no pattern
subscribers can cause server to run out of memory
[ https://issues.apache.org/jira/browse/GEODE-9736?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Darrel Schneider reassigned GEODE-9736:
---------------------------------------
Assignee: Darrel Schneider
> publishes that find no pattern subscribers can cause server to run out of memory
> --------------------------------------------------------------------------------
>
> Key: GEODE-9736
> URL: https://issues.apache.org/jira/browse/GEODE-9736
> Project: Geode
> Issue Type: Bug
> Components: redis
> Reporter: Darrel Schneider
> Assignee: Darrel Schneider
> Priority: Major
> Labels: needsTriage
>
> Currently each time a publish is done the server will check existing pattern subscribers to see if they want the publish. If it finds no subscribers it remembers that and the publish channel.
> Since you can just keep making up new publish channels that have no memory, remembering these can cause the server to run out of memory.
> If you hit this problem you will see an instance of PatternSubscriptionManager with a large "patternSubscriptionCache" ConcurrentHashMap. It will be full of entries whose value is an instance of Collections$EmptyList
--
This message was sent by Atlassian Jira
(v8.3.4#803005)