System information

+
+ <!-- Config files are placed here that among other things,
+ further restrict the above policy for specific services. -->
+ <includedir>session.d</includedir>
<!-- This is included last so local configuration can override what's
in this standard file -->
@@ -27,4 +31,27 @@
<include if_selinux_enabled="yes"
selinux_root_relative="yes">contexts/dbus_contexts</include>
+ <!-- For the session bus, override the default relatively-low limits
+ with essentially infinite lim its, since the bus is just running
+ as the user anyway, using up bus resources is not som ething we need
+ to worry about. In some cases, we do set the limits lower than
+ "all available m emory" if exceeding the limit is almost certainly a bug,
+ having the bus enforce a limit is nicer than a huge m em ory leak. But the
+ intent is that these lim its should never be hit. -->
+
+ <!-- the memory limits are 1G instead of say 4G because they can't exceed 32-
bit signed int max -->
+ <limit name="m ax_incoming_bytes">1000000000</limit>
+ <limit name="m ax_outgoing_bytes">1000000000</limit>
+ <limit name="m ax_m essage_size">1000000000</limit>
+ <limit name="service_start_timeout">120000</limit>
+ <limit name="auth_timeout">240000</limit>
+ <limit name="m ax_completed_connections">100000</lim it>
+ <limit name="m ax_incomplete_connections">10000</limit>
+ <limit name="m ax_connections_per_user">100000</lim it>
+ <limit name="m ax_pending_service_starts">10000</lim it>
+ <limit name="m ax_nam es_per_connection">50000</lim it>
+ <limit name="m ax_m atch_rules_per_connection">50000</limit>
+ <limit name="m ax_replies_per_connection">50000</limit>
+ <limit name="reply_timeout">300000</lim it>
+
</busconfig>
Red Hat Enterprise Linux 5 5.3 Release Notes
208