summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorLennart Poettering <lennart@poettering.net>2006-07-21 19:59:52 +0000
committerLennart Poettering <lennart@poettering.net>2006-07-21 19:59:52 +0000
commita84a2f91384060720dc1e1a97963faadc526c299 (patch)
treeddf3320ae14dce1288f176c131eb07d5601e1e8f
parent09e01afa1fa27b5148fa8eb7dc35bfd04cc3de68 (diff)
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
-rw-r--r--src/daemon/daemon-conf.c2
-rw-r--r--src/daemon/daemon.conf.in2
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