Skip to content

Commit

Permalink
Print GO tuning env vars at startup
Browse files Browse the repository at this point in the history
Signed-off-by: Blake Devcich <[email protected]>
  • Loading branch information
bdevcich committed Dec 20, 2023
1 parent 9c7d43c commit 4bae63c
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions daemons/compute/server/main.go
Original file line number Diff line number Diff line change
Expand Up @@ -115,6 +115,11 @@ func (service *Service) Run(srv server.Server, listener net.Listener) error {

stdlog.Println("Version:", version.BuildVersion())

stdlog.Println("GOMAXPROCS:", runtime.GOMAXPROCS(0))
stdlog.Println("GOGC:", os.Getenv("GOGC"))
stdlog.Println("GOMEMLIMIT:", os.Getenv("GOMEMLIMIT"))
stdlog.Println("HTTP2_PING_TIMEOUT_SECONDS:", os.Getenv("HTTP2_PING_TIMEOUT_SECONDS"))

go func() {
if err := srv.StartManager(); err != nil {
errlog.Println("Manager Error: ", err)
Expand Down

0 comments on commit 4bae63c

Please sign in to comment.