automaxprocs

Automatically set GOMAXPROCS to match Linux container CPU quota.

MIT License

Stars
4.1K
Committers
27

Bot releases are visible (Hide)

automaxprocs - v1.5.3 Latest Release

Published by r-hang over 1 year ago

  • Fix mountinfo parsing when super options have fields with spaces.
  • Fix division by zero while parsing cgroups.
automaxprocs - v1.5.2

Published by albertyw over 1 year ago

  • Support child control cgroups
  • Fix file descriptor leak
  • Update dependencies
automaxprocs - v1.5.1

Published by abhinav over 2 years ago

  • Fix cgroups v2 mountpoint detection.
automaxprocs - v1.5.0

Published by abhinav over 2 years ago

  • Add support for cgroups v2.

Thanks to @emadolsky for their contribution to this release.

automaxprocs -

Published by abhinav over 3 years ago

  • Support colons in cgroup names.
  • Remove linters from runtime dependencies.
automaxprocs - v1.3.0

Published by abhinav over 4 years ago

  • Migrate to Go modules.
automaxprocs -

Published by abhinav over 4 years ago

  • Fixed quota clamping to always round down rather than up; Rather than guaranteeing constant throttling at saturation, instead assume that the fractional CPU was added as a hedge for factors outside of Go's scheduler.
automaxprocs - v1.1.0

Published by akshayjshah almost 7 years ago

  • Log the new value of GOMAXPROCS rather than the current value.
  • Make logs more explicit about whether GOMAXPROCS was modified or not.
  • Allow customization of the minimum GOMAXPROCS, and modify default from 2 to 1.
automaxprocs - v1.0.0

Published by akshayjshah about 7 years ago

Initial release.