You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@geode.apache.org by "Owen Nichols (Jira)" <ji...@apache.org> on 2022/06/22 20:46:01 UTC

[jira] [Closed] (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 ]

Owen Nichols closed GEODE-9736.
-------------------------------

> 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: unreleased
>             Fix For: 1.15.0
>
>
> 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.20.7#820007)