From a84a2f91384060720dc1e1a97963faadc526c299 Mon Sep 17 00:00:00 2001 From: Lennart Poettering Date: Fri, 21 Jul 2006 19:59:52 +0000 Subject: raise the default value for RLIMIT_NOFILE to 200 since 25 is apparently too small if every single GNOME apps thinks it needs to create its own server connection! git-svn-id: file:///home/lennart/svn/public/pulseaudio/trunk@1136 fefdeb5f-60dc-0310-8127-8f9354f1896f --- src/daemon/daemon-conf.c | 2 +- src/daemon/daemon.conf.in | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/daemon/daemon-conf.c b/src/daemon/daemon-conf.c index 894c0434..0426989c 100644 --- a/src/daemon/daemon-conf.c +++ b/src/daemon/daemon-conf.c @@ -78,7 +78,7 @@ static const pa_daemon_conf default_conf = { .rlimit_core = { .value = 0, .is_set = 0 }, .rlimit_data = { .value = 0, .is_set = 0 }, .rlimit_fsize = { .value = 0, .is_set = 0 }, - .rlimit_nofile = { .value = 25, .is_set = 1 }, + .rlimit_nofile = { .value = 200, .is_set = 1 }, .rlimit_stack = { .value = 0, .is_set = 0 } #ifdef RLIMIT_NPROC , .rlimit_nproc = { .value = 0, .is_set = 0 } diff --git a/src/daemon/daemon.conf.in b/src/daemon/daemon.conf.in index 787405f8..696b25a9 100644 --- a/src/daemon/daemon.conf.in +++ b/src/daemon/daemon.conf.in @@ -87,7 +87,7 @@ ; rlimit-core = -1 ; rlimit-data = -1 ; rlimit-fsize = -1 -; rlimit-nofile = 25 +; rlimit-nofile = 200 ; rlimit-stack = -1 ; rlimit-nproc = -1 ; rlimit-memlock = 25 -- cgit