sergey-safarov opened a new issue, #5640: URL: https://github.com/apache/couchdb/issues/5640
## Summary Time to time, we catch CPU high load like <img width="1320" height="932" alt="Image" src="https://github.com/user-attachments/assets/1d4b9ae4-a20c-4793-8a0b-b362a3a3ccc7" /> During this time, CouchDB returns an error response. To resolve this, we are restarting all CouchDB nodes in the cluster. To troubleshoot this issue, it will be fine to get CouchDB profiling with the busiest functions at this time. Like it was done for RabbitMQ. https://www.rabbitmq.com/blog/2022/05/31/flame-graphs Could you implement a similar feature for CouchDB? ## Desired Behaviour Attach the performance profiling tool to the running CouchDB process and record function performance metrics. Then use these metrics to draw a graph with most busiest functions. ## Possible Solution Probably it can be done like in RabbitMQ https://www.rabbitmq.com/blog/2022/05/31/flame-graphs -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected]
