Details
-
Bug
-
Resolution: Fixed
-
Major
-
5.5.0
-
Triaged
-
No
Description
Code in indexer, plasma and moi currently use the NumCPU() call to determine the number of go routines to spawn for various purposes.
This NumCPU() call ignores any setting made to GOMAXPROCS either via the environment variable or via the indexer.settings.max_cpu_percent.
As a result, currently it is not possible to limit the CPU activity of indexer.
Instead code in indexer, plasma, moi must use GOMAXPROCS(0) instead of NumCPU() so that external attempts to limit the CPU consumption can be honored.
Attachments
Issue Links
- relates to
-
MB-26307 Improve periodic CPU spikes on indexer nodes during moi disk snapshot persistence
- Closed