summaryrefslogtreecommitdiffstats
path: root/man/avahi-daemon.conf.5.xml.in
diff options
context:
space:
mode:
authorLennart Poettering <lennart@poettering.net>2005-08-14 00:47:37 +0000
committerLennart Poettering <lennart@poettering.net>2005-08-14 00:47:37 +0000
commit843f5fba386f9787c1562ce02bea42bfdfc09898 (patch)
tree2d6d0005902c91cca1acd161f1eb54558fead62d /man/avahi-daemon.conf.5.xml.in
parent8b5cd6ffd9137b14b7ed678f10a551e3911e4a40 (diff)
* add resource limit enforcement to the daemon
* add ne options --no-rlimits, --no-drop-root, --syslog and --debug git-svn-id: file:///home/lennart/svn/public/avahi/trunk@311 941a03a8-eaeb-0310-b9a0-b1bbd8fe43fe
Diffstat (limited to 'man/avahi-daemon.conf.5.xml.in')
-rw-r--r--man/avahi-daemon.conf.5.xml.in38
1 files changed, 38 insertions, 0 deletions
diff --git a/man/avahi-daemon.conf.5.xml.in b/man/avahi-daemon.conf.5.xml.in
index 45fdf9f..cac0717 100644
--- a/man/avahi-daemon.conf.5.xml.in
+++ b/man/avahi-daemon.conf.5.xml.in
@@ -173,6 +173,44 @@
</option>
</section>
+ <section name="Section [rlimits]">
+ <p>This section is used to define system resource limits for the
+ daemon. See <manref section="2" name="setrlimit"/> for more
+ information. If any of the options is not specified in the configuration
+ file, avahi-daemon does not change it from the system
+ defaults.</p>
+
+
+ <option>
+ <p><opt>rlimit-as=</opt> Value in bytes for RLIMIT_AS (maximum size of the process's virtual memory). Sensible values are heavily system dependent.</p>
+ </option>
+
+ <option>
+ <p><opt>rlimit-core=</opt> Value in bytes for RLIMIT_CORE (maximum core file size). Unless you want to debug avahi-daemon, it is safe to set this to 0.</p>
+ </option>
+
+ <option>
+ <p><opt>rlimit-data=</opt> Value in bytes for RLIMIT_DATA (maximum size of the process's data segment). Sensible values are heavily system dependent.</p>
+ </option>
+
+ <option>
+ <p><opt>rlimit-fsize=</opt> Value for RLIMIT_FSIZE (maximum size of files the process may create). Since avahi-daemon shouldn't write any files to disk, it is safe to set this to 0.</p>
+ </option>
+
+ <option>
+ <p><opt>rlimit-nofile=</opt> Value for RLIMIT_NOFILE (open file descriptors). avahi-daemon shouldn't need more than 15 to 20 open file descriptors concurrently.</p>
+ </option>
+
+ <option>
+ <p><opt>rlimit-stack=</opt> Value in bytes for RLIMIT_STACK (maximum size of the process stack). Sensible values are heavily system dependent.</p>
+ </option>
+
+ <option>
+ <p><opt>rlimit-nproc=</opt> Value for RLIMIT_NPROC (number of process of user). Since only a single avahi-daemon process is usually running you can set this safely to 1.</p>
+ </option>
+
+ </section>
+
<section name="Authors">
<p>The avahi developers &lt;@PACKAGE_BUGREPORT@&gt;; avahi is
available from <url href="@PACKAGE_URL@"/></p>