Details
-
Improvement
-
Status: Triage Needed
-
Normal
-
Resolution: Unresolved
-
None
-
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.