Search Options

Results per page
Sort
Preferred Languages
Advance

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

  1. cmd/server-rlimit.go

    package cmd
    
    import (
    	"runtime"
    	"runtime/debug"
    
    	"github.com/dustin/go-humanize"
    	"github.com/minio/madmin-go/v3/kernel"
    	"github.com/minio/minio/internal/logger"
    	"github.com/minio/pkg/v3/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
    Registered: Sun Oct 27 19:28:09 UTC 2024
    - Last Modified: Tue Jul 02 15:09:36 UTC 2024
    - 2.8K bytes
    - Viewed (0)
  2. cmd/server-main.go

    			})
    		}
    	}()
    
    	// Set system resources to maximum.
    	bootstrapTrace("setMaxResources", func() {
    		_ = setMaxResources(globalServerCtxt)
    	})
    
    	// Verify kernel release and version.
    	if oldLinux() {
    Registered: Sun Oct 27 19:28:09 UTC 2024
    - Last Modified: Tue Sep 24 21:50:11 UTC 2024
    - 35.2K bytes
    - Viewed (3)
Back to top