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

Use materialized view, CPU usage over 100%

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

Details

    • Improvement
    • Status: Triage Needed
    • Normal
    • Resolution: Unresolved
    • None
    • Legacy/Core
    • None
    • All
    • None

    Description

      env info:

      os: CentOS Linux release 7.4.1708

      cassandra: apache-cassandra-3.11.8

      jdk:1.8.0_261

       

      I used materialized view,but the cpu use over 100 when not cql client request, 

      My analysis process is as follows:

      1. top

       find pid is:25640

      2. top -pH 25640

      3. printf "%x\n" 26065

      convert  threadid 26065 ,hex value is :65d1

      4.jstack -l 26065 > jstack_25640.txt

      find 65d1 ind jstask_25640.txt

       

      5.find in source code on org.apache.cassandra.db.Keyspace.applyInternal,line 545

      I guess used cpu over 100% caused by a loop call Keyspace.applyInternal.

       

      Everybody have any suggessted?

      The jstack_25640.txt file on Attachment.

       

       

       

       

      Attachments

        Activity

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

          People

            Unassigned Unassigned Assign to me
            xbings chenbing

            Dates

              Created:
              Updated:

              Slack

                Issue deployment