Hello, my StarRocks is experiencing rapidly increa...
# questions-and-troubleshooting
k
Hello, my StarRocks is experiencing rapidly increasing query latency. When I checked, I found that disk IO has increased very high during this period, and CPU usage is also double the normal rate. This phenomenon occurred when I upgraded the StarRocks image from 3.5.1 to 3.5.2, however, after downgrading back to 3.5.1, it still appears. Currently, StarRocks only has the following interactions: 1. Data sink from Kafka Connect. 2. External queries through an API that connects to StarRocks with a maximum frequency of 10 requests/second. This phenomenon lasts for 3-4 hours, then the system stabilizes and occurs again after another 3-4 hours. Please help me with this issue.
t
@Allen Li Regarding this issue, is there a way to check why the disk I/O is so high?
a
You can have a look of the flamegraph
Copy code
// IO
perf record -e block:block_rq_issue,block:block_rq_complete,block:block_bio_queue,block:block_bio_complete --call-graph dwarf -a -p $pid -- sleep 30

perf script | ./stackcollapse-perf.pl | ./flamegraph.pl > io.svg
It can give the I/O occupation.
t
Thank you for your response. During the time the issue occurred, we didn’t perform any operations on the database. Do you think there might be a process in StarRocks that caused this?
a
Yes, maybe the background compaction