Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 5 of 5 for MemLimit (0.14 sec)

  1. cmd/common-main.go

    	if ctx.IsSet("memlimit") || ctx.GlobalIsSet("memlimit") {
    		memlimit := ctx.String("memlimit")
    		if memlimit == "" {
    			memlimit = ctx.GlobalString("memlimit")
    		}
    		mlimit, err := humanize.ParseBytes(memlimit)
    		if err != nil {
    			return err
    		}
    		if mlimit > memAvailable {
    			logger.Info("WARNING: maximum memory available (%s) smaller than specified --memlimit=%s, ignoring --memlimit value",
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Tue Sep 24 21:50:11 UTC 2024
    - 31.7K bytes
    - Viewed (0)
  2. cmd/server-rlimit.go

    		logger.Info("WARNING: maximum virtual memory limit (%s) is too small for 'go runtime', please consider setting `ulimit -v` to unlimited",
    			humanize.IBytes(vssLimit))
    	}
    
    	if ctx.MemLimit > 0 {
    		debug.SetMemoryLimit(int64(ctx.MemLimit))
    	}
    
    	// Do not use RLIMIT_AS as that is not useful and at times on systems < 4Gi
    	// this can crash the Go runtime if the value is smaller refer
    	// - https://github.com/golang/go/issues/38010
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Tue Jul 02 15:09:36 UTC 2024
    - 2.8K bytes
    - Viewed (0)
  3. cmd/handler-api.go

    	t.corsAllowOrigins = corsAllowOrigin
    
    	var apiRequestsMaxPerNode int
    	if cfg.RequestsMax <= 0 {
    		maxSetDrives := slices.Max(setDriveCounts)
    
    		// Returns 75% of max memory allowed
    		maxMem := globalServerCtxt.MemLimit
    
    		// max requests per node is calculated as
    		// total_ram / ram_per_request
    		blockSize := xioutil.LargeBlock + xioutil.SmallBlock
    		if legacy {
    			// ram_per_request is (1MiB+32KiB) * driveCount \
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Thu Sep 26 17:07:10 UTC 2024
    - 10.4K bytes
    - Viewed (0)
  4. cmd/globals.go

    	Addr, ConsoleAddr         string
    	ConfigDir, CertsDir       string
    	configDirSet, certsDirSet bool
    	Interface                 string
    
    	RootUser, RootPwd string
    
    	FTP  []string
    	SFTP []string
    
    	MemLimit uint64
    
    	UserTimeout         time.Duration
    	IdleTimeout         time.Duration
    	ReadHeaderTimeout   time.Duration
    	MaxIdleConnsPerHost int
    
    	SendBufSize, RecvBufSize int
    	CrossDomainXML           string
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Tue Sep 03 18:23:41 UTC 2024
    - 16.2K bytes
    - Viewed (0)
  5. cmd/server-main.go

    		Usage:  "provide a custom crossdomain-xml configuration to report at http://endpoint/crossdomain.xml",
    		Hidden: true,
    		EnvVar: "MINIO_CROSSDOMAIN_XML",
    	},
    	cli.StringFlag{
    		Name:   "memlimit",
    		Usage:  "set global memory limit per server via GOMEMLIMIT",
    		Hidden: true,
    		EnvVar: "MINIO_MEMLIMIT",
    	},
    	cli.IntFlag{
    		Name:   "send-buf-size",
    		Value:  4 * humanize.MiByte,
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Tue Sep 24 21:50:11 UTC 2024
    - 35.2K bytes
    - Viewed (1)
Back to top