Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for readIntStringFile (0.22 sec)

  1. cmd/kube-proxy/app/conntrack.go

    	// kube-proxy is in another netns.
    	// Therefore, check if writing in hashsize is necessary and skip the writing if not.
    	hashsize, err := readIntStringFile("/sys/module/nf_conntrack/parameters/hashsize")
    	if err != nil {
    		return err
    	}
    	if hashsize >= (max / 4) {
    		return nil
    	}
    
    	// sysfs is expected to be mounted as 'rw'. However, it may be
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Apr 22 05:08:41 UTC 2024
    - 5.6K bytes
    - Viewed (0)
Back to top