Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 21 for memlimit (0.2 sec)

  1. pkg/kubelet/kuberuntime/kuberuntime_container_linux.go

    			}
    		}
    		if runtimeStatusResources.MemoryLimitInBytes > 0 {
    			memLimit = resource.NewQuantity(runtimeStatusResources.MemoryLimitInBytes, resource.BinarySI)
    		}
    		if cpuLimit != nil || memLimit != nil || cpuRequest != nil {
    			cStatusResources = &kubecontainer.ContainerResources{
    				CPULimit:    cpuLimit,
    				CPURequest:  cpuRequest,
    				MemoryLimit: memLimit,
    			}
    		}
    	}
    	return cStatusResources
    }
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed May 29 22:40:29 UTC 2024
    - 17.2K bytes
    - Viewed (0)
  2. 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 Jun 16 00:44:34 UTC 2024
    - Last Modified: Thu May 30 11:58:12 UTC 2024
    - 31.5K 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 Jun 16 00:44:34 UTC 2024
    - Last Modified: Wed Jun 12 08:13:12 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
    	ShutdownTimeout     time.Duration
    	IdleTimeout         time.Duration
    	ReadHeaderTimeout   time.Duration
    	MaxIdleConnsPerHost int
    
    	SendBufSize, RecvBufSize int
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Thu May 30 11:58:12 UTC 2024
    - 16.4K bytes
    - Viewed (0)
  5. cmd/server-main.go

    		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,
    		EnvVar: "MINIO_SEND_BUF_SIZE",
    		Hidden: true,
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Tue Jun 04 15:12:57 UTC 2024
    - 34.5K bytes
    - Viewed (0)
  6. src/runtime/mgclimit.go

    Sabyrzhan Tasbolatov <******@****.***> 1713095757 +0500
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Apr 22 22:07:41 UTC 2024
    - 17.3K bytes
    - Viewed (0)
  7. src/cmd/vendor/github.com/google/pprof/internal/elfexec/elfexec.go

    			// one page of the segment, and it extends at least one page past the
    			// segment, then this mapping comes from a different segment.
    			if mapOff > p.Off && (segLimit < mapOff+pageSize) && (mapLimit >= segLimit+pageSize) {
    				continue
    			}
    			headers = append(headers, p)
    		}
    	}
    	return headers
    }
    
    // HeaderForFileOffset attempts to identify a unique program header that
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 31 19:48:28 UTC 2024
    - 13.9K bytes
    - Viewed (0)
  8. pkg/kubelet/kuberuntime/kuberuntime_container_linux_test.go

    		cpuReq        *resource.Quantity
    		cpuLim        *resource.Quantity
    		memLim        *resource.Quantity
    		expected      *runtimeapi.LinuxContainerResources
    		cgroupVersion CgroupVersion
    	}{
    		{
    			name:   "Request128MBLimit256MB",
    			cpuReq: generateResourceQuantity("1"),
    			cpuLim: generateResourceQuantity("2"),
    			memLim: generateResourceQuantity("128Mi"),
    			expected: &runtimeapi.LinuxContainerResources{
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed May 29 22:40:29 UTC 2024
    - 41K bytes
    - Viewed (0)
  9. staging/src/k8s.io/apiserver/pkg/storage/etcd3/store.go

    		if int64(v.Len()) >= opts.Predicate.Limit {
    			break
    		}
    
    		if limit < maxLimit {
    			// We got incomplete result due to field/label selector dropping the object.
    			// Double page size to reduce total number of calls to etcd.
    			limit *= 2
    			if limit > maxLimit {
    				limit = maxLimit
    			}
    			*limitOption = clientv3.WithLimit(limit)
    		}
    		preparedKey = string(lastKey) + "\x00"
    	}
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri May 10 11:56:42 UTC 2024
    - 35.2K bytes
    - Viewed (0)
  10. src/runtime/debug/garbage.go

    // the soft memory limit in more detail, as well as a variety of common
    // use-cases and scenarios.
    //
    // The initial setting is math.MaxInt64 unless the GOMEMLIMIT
    // environment variable is set, in which case it provides the initial
    // setting. GOMEMLIMIT is a numeric value in bytes with an optional
    // unit suffix. The supported suffixes include B, KiB, MiB, GiB, and
    // TiB. These suffixes represent quantities of bytes as defined by
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 01:00:11 UTC 2024
    - 9.9K bytes
    - Viewed (0)
Back to top