Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for SetMaxOpenFileLimit (0.44 sec)

  1. cmd/server-rlimit.go

    		logger.Info("WARNING: maximum file descriptor limit %d is too low for production servers. At least 4096 is recommended. Fix with \"ulimit -n 4096\"",
    			maxLimit)
    	}
    
    	if err = sys.SetMaxOpenFileLimit(maxLimit, maxLimit); err != nil {
    		return err
    	}
    
    	_, vssLimit, err := sys.GetMaxMemoryLimit()
    	if err != nil {
    		return err
    	}
    
    	if vssLimit > 0 && vssLimit < humanize.GiByte {
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Tue Jul 02 15:09:36 UTC 2024
    - 2.8K bytes
    - Viewed (0)
Back to top