Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 3 of 3 for raiseFileLimits (0.15 sec)

  1. pilot/cmd/pilot-agent/app/fds.go

    // By explicitly doing it ourselves, we get the limit passed through to Envoy.
    //
    // This function returns the new limit additionally, for convenience.
    func RaiseFileLimits() (uint64, error) {
    	return raiseFileLimits()
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Wed Mar 06 22:16:26 UTC 2024
    - 1.3K bytes
    - Viewed (0)
  2. pilot/cmd/pilot-agent/app/fds_unix.go

    // See the License for the specific language governing permissions and
    // limitations under the License.
    
    package app
    
    import "golang.org/x/sys/unix"
    
    func raiseFileLimits() (uint64, error) {
    	rlimit := unix.Rlimit{}
    	if err := unix.Getrlimit(unix.RLIMIT_NOFILE, &rlimit); err != nil {
    		return 0, err
    	}
    	rlimit.Cur = rlimit.Max
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Wed Mar 06 22:16:26 UTC 2024
    - 1.1K bytes
    - Viewed (0)
  3. pilot/cmd/pilot-agent/app/cmd.go

    		}
    	}
    
    	log.Infof("Exclude IPs %v based on %s annotation", excludeAddrs, annotation.SidecarTrafficExcludeInterfaces.Name)
    	return excludeAddrs
    }
    
    func raiseLimits() {
    	limit, err := RaiseFileLimits()
    	if err != nil {
    		log.Warnf("failed setting file limit: %v", err)
    	} else {
    		log.Infof("Set max file descriptors (ulimit -n) to: %d", limit)
    	}
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu May 16 22:12:28 UTC 2024
    - 11.9K bytes
    - Viewed (0)
Back to top