We’ve noticed that the cbq-engine process on the query service servers are using 300% cpu usage without a reason. Looking at the admin ui, query service servers are processing only 3~6 n1ql queries per second. Most of our queries get timed out at this point.
How can I approach to debug/fix it?
We are on 4.1 enterprise with 3M+ documents and all of the queries are indexed.
Would it be possible for you to share the index/query definition with us? This will help us better understand the issue. Data model will help too. Feel free to mask the data if they are sensitive. We just need to the following: