appc/spec

isolators: add rlimit and linux rlmit extension isolators

Open

#197 opened on Feb 12, 2015

View on GitHub
 (5 comments) (2 reactions) (0 assignees)Go (143 forks)github user discovery
area/spechelp wantedspec/isolators

Repository metrics

Stars
 (1,253 stars)
PR merge metrics
 (No merged PRs in 30d)

Description

We should add the subset of rlimits that make sense from POSIX as isolators: http://pubs.opengroup.org/onlinepubs/009695399/functions/setrlimit.html

rlimit/open-files
rlimit/new-file-size
rlimit/cpu-limit
rlimit/core-size

We should probably consider adding the Linux specific ones too. See ulimit -a

core file size
data seg size
scheduling priority
file size
pending signals
max locked memory
max memory size
open files
pipe size
POSIX message queues
real-time priority
stack size
cpu time
max user processes
virtual memory
file locks

Contributor guide