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

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

    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

        1. 18184-trunk.txt
          1 kB
          Yong Jiang

        Activity

          People

            yongjiang Yong Jiang
            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: