Skip to content
This repository has been archived by the owner on Jan 25, 2022. It is now read-only.

ResourceLimits

Kowshik Prakasam and Pieter Noordhuis edited this page Feb 28, 2013 · 1 revision

This structure is neither a request nor a response.

It is a structure that is shared between Spawn and Run requests.

Please refer to the manual page of getrlimit(2) for a description of the individual fields.

Definition

package warden;

message ResourceLimits {
  optional uint64 as         =  1;
  optional uint64 core       =  2;
  optional uint64 cpu        =  3;
  optional uint64 data       =  4;
  optional uint64 fsize      =  5;
  optional uint64 locks      =  6;
  optional uint64 memlock    =  7;
  optional uint64 msgqueue   =  8;
  optional uint64 nice       =  9;
  optional uint64 nofile     = 10;
  optional uint64 nproc      = 11;
  optional uint64 rss        = 12;
  optional uint64 rtprio     = 13;
  optional uint64 sigpending = 14;
  optional uint64 stack      = 15;
}

Clone this wiki locally