add support to set resource limits for the daemon and set some of them to some sane values

git-svn-id: file:///home/lennart/svn/public/pulseaudio/trunk@1116 fefdeb5f-60dc-0310-8127-8f9354f1896f
This commit is contained in:
Lennart Poettering 2006-07-20 01:25:37 +00:00
parent 0ff247db73
commit 2409f1a80b
5 changed files with 153 additions and 2 deletions

View file

@ -81,3 +81,13 @@
## Run the daemon as system-wide instance, requires root priviliges
; system-instance = 0
## Resource limits, see getrlimit(2) for more information
; rlimit-as = -1
; rlimit-core = -1
; rlimit-data = -1
; rlimit-fsize = -1
; rlimit-nofile = 25
; rlimit-stack = -1
; rlimit-nproc = -1
; rlimit-memlock = 25