- Sort Score
- Result 10 results
- Languages All
Results 1 - 3 of 3 for setMaxResources (0.09 sec)
-
cmd/server-rlimit.go
return false } // legacy linux indicator for printing warnings // about older Linux kernels and Go runtime. return currentKernel < kernel.Version(4, 0, 0) } func setMaxResources(ctx serverCtxt) (err error) { // Set the Go runtime max threads threshold to 90% of kernel setting. sysMaxThreads, err := sys.GetMaxThreads() if err == nil { minioMaxThreads := (sysMaxThreads * 90) / 100
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Tue Jul 02 15:09:36 UTC 2024 - 2.8K bytes - Viewed (0) -
cmd/server-main.go
bootstrapTrace("checkUpdate", func() { checkUpdate(getMinioMode()) }) } }() // Set system resources to maximum. bootstrapTrace("setMaxResources", func() { _ = setMaxResources(globalServerCtxt) }) // Verify kernel release and version. if oldLinux() {
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Tue Sep 24 21:50:11 UTC 2024 - 35.2K bytes - Viewed (2) -
cmd/test-utils_test.go
logger.DisableLog = true // Uncomment the following line to see trace logs during unit tests. // logger.AddTarget(console.New()) // Set system resources to maximum. setMaxResources(serverCtxt{}) // Initialize globalConsoleSys system globalConsoleSys = NewConsoleLogger(context.Background(), io.Discard) globalInternodeTransport = NewInternodeHTTPTransport(0)() initHelp()
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Tue Oct 01 22:13:18 UTC 2024 - 77K bytes - Viewed (0)