Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for raiseFileLimits (0.13 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)
Back to top