Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for oldLinux (3.49 sec)

  1. cmd/server-rlimit.go

    	"runtime/debug"
    
    	"github.com/dustin/go-humanize"
    	"github.com/minio/cli"
    	"github.com/minio/madmin-go/v3/kernel"
    	"github.com/minio/minio/internal/logger"
    	"github.com/minio/pkg/v2/sys"
    )
    
    func oldLinux() bool {
    	currentKernel, err := kernel.CurrentVersion()
    	if err != nil {
    		// Could not probe the kernel version
    		return false
    	}
    
    	if currentKernel == 0 {
    		// We could not get any valid value return false
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Apr 04 12:06:57 GMT 2024
    - 2.8K bytes
    - Viewed (0)
  2. cmd/server-main.go

    			})
    		}
    	}()
    
    	// Set system resources to maximum.
    	bootstrapTrace("setMaxResources", func() {
    		_ = setMaxResources(ctx)
    	})
    
    	// Verify kernel release and version.
    	if oldLinux() {
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Fri May 03 15:54:03 GMT 2024
    - 34.9K bytes
    - Viewed (1)
Back to top