You can use cpuctrl or similar to limit the number of visible cores when you start the process. On Jan 31, 2024, at 8:43 PM, Steve Roth wrote:I am running Go code on a shared web hosting server from a major hosting company. Using cgroups, they limit the number of threads any user can create to 2
I am running Go code on a shared web hosting server from a major hosting
company. Using cgroups, they limit the number of threads any user can
create to 25. Up until a week ago, they had me running on a server with 24
cores, and everything worked fine. Now they've moved me to a new server
with 1