[infinispan-issues] [JBoss JIRA] (ISPN-10697) Expiration reaper should be able to handle a huge number of expired entries

Wolf-Dieter Fink (Jira) issues at jboss.org
Tue Oct 1 04:36:14 EDT 2019


     [ https://issues.jboss.org/browse/ISPN-10697?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Wolf-Dieter Fink updated ISPN-10697:
------------------------------------
    Security:     (was: Red Hat Internal)


> Expiration reaper should be able to handle a huge number of expired entries
> ---------------------------------------------------------------------------
>
>                 Key: ISPN-10697
>                 URL: https://issues.jboss.org/browse/ISPN-10697
>             Project: Infinispan
>          Issue Type: Enhancement
>    Affects Versions: 10.0.0.CR2
>            Reporter: Wolf-Dieter Fink
>            Assignee: Will Burns
>            Priority: Critical
>
> A use case where a huge number of entries are added and expire in a short period the reaper is not able to handle that and will have increasing backlog which cause OOM error.
> The TRACE messages within the logfiles are
> TRACE [org.infinispan.expiration.impl.ClusterExpirationManager] (pool-9-thread-1) Purging data container of expired entries
> TRACE [org.infinispan.expiration.impl.ClusterExpirationManager] (pool-9-thread-1) Submitting expiration removal for key WrappedByteArray{...} which had lifespan of 480000
> ..... 1,900,000 more
> TRACE [org.infinispan.expiration.impl.ClusterExpirationManager] (pool-9-thread-1) Purging data container completed in 15.45 minutes
> As shown the reaper run for >15 minutes but the lifespan is set to 480sec==8min so there is a massive overlap and the reaper is not able to delete the entries fast enough from the cache



--
This message was sent by Atlassian Jira
(v7.13.8#713008)


More information about the infinispan-issues mailing list