summaryrefslogtreecommitdiff
path: root/bus/system.conf.in
diff options
context:
space:
mode:
authorSimon McVittie <simon.mcvittie@collabora.co.uk>2014-11-18 13:46:39 +0000
committerSimon McVittie <smcv@debian.org>2016-08-16 18:27:47 +0100
commit1a36f9832ab2b6213814021c52384ccd394b627e (patch)
tree5d17ea5d0820488db0cb760795d89c760767069d /bus/system.conf.in
parentfa8637256f3a4c0afacabb3966658799034dd39e (diff)
downloaddbus-1a36f9832ab2b6213814021c52384ccd394b627e.tar.gz
Document default limits in system.conf.in
I left them commented out to minimize the impact if we change them in one place and not the other, but we should try to keep them in sync anyway.
Diffstat (limited to 'bus/system.conf.in')
-rw-r--r--bus/system.conf.in23
1 files changed, 23 insertions, 0 deletions
diff --git a/bus/system.conf.in b/bus/system.conf.in
index 014f67ee..55bd99c7 100644
--- a/bus/system.conf.in
+++ b/bus/system.conf.in
@@ -100,6 +100,29 @@
<!-- Include legacy configuration location -->
<include ignore_missing="yes">@SYSCONFDIR_FROM_PKGDATADIR@/dbus-1/system.conf</include>
+ <!-- The defaults for these limits are hard-coded in dbus-daemon.
+ Some clarifications:
+ Times are in milliseconds (ms); 1000ms = 1 second
+ 133169152 bytes = 127 MiB
+ 33554432 bytes = 32 MiB
+ 150000ms = 2.5 minutes -->
+ <!-- <limit name="max_incoming_bytes">133169152</limit> -->
+ <!-- <limit name="max_incoming_unix_fds">64</limit> -->
+ <!-- <limit name="max_outgoing_bytes">133169152</limit> -->
+ <!-- <limit name="max_outgoing_unix_fds">64</limit> -->
+ <!-- <limit name="max_message_size">33554432</limit> -->
+ <!-- <limit name="max_message_unix_fds">16</limit> -->
+ <!-- <limit name="service_start_timeout">25000</limit> -->
+ <!-- <limit name="auth_timeout">5000</limit> -->
+ <!-- <limit name="pending_fd_timeout">150000</limit> -->
+ <!-- <limit name="max_completed_connections">2048</limit> -->
+ <!-- <limit name="max_incomplete_connections">64</limit> -->
+ <!-- <limit name="max_connections_per_user">256</limit> -->
+ <!-- <limit name="max_pending_service_starts">512</limit> -->
+ <!-- <limit name="max_names_per_connection">512</limit> -->
+ <!-- <limit name="max_match_rules_per_connection">512</limit> -->
+ <!-- <limit name="max_replies_per_connection">128</limit> -->
+
<!-- Config files are placed here that among other things, punch
holes in the above policy for specific services. -->
<includedir>system.d</includedir>