Addressing Raised CPU Usage and System Instability
TLDR Todd raised a concern regarding increased CPU usage and system instability. Jason identified the problem due to a change in write patterns and suggested an upgrade. The system upgrade was subsequently implemented and solved the issue.
4
3
1
1
1
1
1
Aug 04, 2023 (4 months ago)
Todd
03:42 PMTodd
03:44 PMJason
03:54 PMAnd the volume of writes that came in also briefly exhausted RAM and caused the OS to kill the Typesense process and restart.
If you plan to add more data, I would recommend upgrading to 32GB RAM and either 4vCPU or may be 8vCPU if needed
Todd
04:11 PM1
Todd
04:12 PMTodd
04:14 PM1
Jason
04:15 PM1
1
Jason
04:17 PMI would also recommend may be pacing out the writes to smaller batches of say 5K records over a longer duration of time
Todd
04:21 PM1
Jason
09:12 PMJason
09:13 PMTodd
09:14 PM1
Todd
09:20 PMJason
09:20 PMTodd
09:22 PM1
Jason
09:22 PM1
Viji
09:25 PM2
Jason
09:38 PM1
Todd
11:15 PMTodd
11:15 PM1
Typesense
Indexed 3015 threads (79% resolved)
Similar Threads
Upgrading Problems with Typesense Cloud Node
Alan encountered issues with their typesense cloud node during an import, resulting in the need for a manual upgrade. Kishore Nallan assisted with the upgrade process and Jason reported that an upgrade was queued due to a second outage.
Addressing High CPU Usage in Typesense
Robert reported high CPU usage on Typesense, even after halting all incoming searches. Kishore Nallan suggested logging heavy queries and increasing thread count. The issue was resolved after Robert found and truncated unusually large documents in the database.
Addressing Typesense Server Issues and Optimization Needs
Robert had an issue with a 'stuck' typesense server. Jason and Kishore Nallan gave advice on handling writes, configuration for high search volumes, and running multiple typesense instances. They also recommended monitoring CPU usage and updating the server version for bug fixes.
Inquiry and Troubleshooting of Typesense Cloud
Alex is addressing memory usage, import, and bandwidth issues with Typesense Cloud. Jason helped determine the issues and offered solutions, including in-place upgrades and potential use of Cloudflare for security.
Typesense Cloud Cluster Issue and Upgrade Recommendations
Viji reported a cluster issue on Typesense Cloud. Jason identified the cause and recommended upgrading to Typesense 0.24.1 for safeguards against RAM usage spikes.