Uploaded image for project: 'Cassandra'
  1. Cassandra
  2. CASSANDRA-18184

'Maximum memory usage reached' chunk cache log message doesn't specify which cache is exhausted

Agile BoardAttach filesAttach ScreenshotBulk Copy AttachmentsBulk Move AttachmentsVotersWatch issueWatchersCreate sub-taskConvert to sub-taskMoveLinkCloneLabelsUpdate Comment AuthorReplace String in CommentUpdate Comment VisibilityDelete Comments
    XMLWordPrintableJSON

Details

    Description

      With Cassandra 4.0.x, we are seeing this cassandra.log message very frequently on the majority of our Cassandra 4.0 clusters:

          [INFO ] [epollEventLoopGroup-5-3] cluster_id=99 ip_address=127.0.0.50  NoSpamLogger.java:92 - Maximum memory usage reached (128.000MiB), cannot allocate chunk of 8.000MiB

      It took me several weeks to track down what it means, until I saw this start-up message

          BufferPools.java:49 - Global buffer pool limit is 2.000GiB for chunk-cache and 128.000MiB for networking

      This maximum memory usage warning would benefit from clarifying that its the network cache, not the off-heap chunk cache which is exhausted.  With 'chunk cache' in both warning messages, they're too easily confused.

       

      Attachments

        Activity

          This comment will be Viewable by All Users Viewable by All Users
          Cancel

          People

            yongjiang Yong Jiang Assign to me
            bschoeni Brad Schoening
            Yong Jiang
            Brandon Williams, Stefan Miklosovic
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Slack

                Issue deployment