Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for oldLinux (0.16 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 Apr 21 19:28:08 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 Apr 21 19:28:08 GMT 2024
    - Last Modified: Sun Apr 21 11:43:18 GMT 2024
    - 32.7K bytes
    - Viewed (1)
Back to top