Bug 8473 - 3_b1: Failed to get D-Bus connection: maximum connections reached
Summary: 3_b1: Failed to get D-Bus connection: maximum connections reached
Status: RESOLVED DUPLICATE of bug 8393
Alias: None
Product: Mageia
Classification: Unclassified
Component: RPM Packages (show other bugs)
Version: Cauldron
Hardware: x86_64 Linux
Priority: Normal normal
Target Milestone: ---
Assignee: Mageia Bug Squad
QA Contact:
URL:
Whiteboard:
Keywords:
: 8499 (view as bug list)
Depends on:
Blocks:
 
Reported: 2012-12-22 06:17 CET by Bit Twister
Modified: 2014-02-05 23:32 CET (History)
1 user (show)

See Also:
Source RPM: systemd-195-6.mga3.src.rpm
CVE:
Status comment:


Attachments

Description Bit Twister 2012-12-22 06:17:18 CET
Description of problem:

$ systemctl status sshd.service
Failed to get D-Bus connection: The maximum number of active connections for UID 1500 has been reached


Version-Release number of selected component (if applicable):

 
How reproducible: Always
 
 
Steps to Reproduce:
Clean install of Mageia-3-beta1-x86_64-DVD.iso. Default runlevel: 3
Package Group Selection has all package groups selected except LSB and Other
Graphical Desktops + updates followed with
urpme --auto-orphans and reboot. 
 
1. click up a terminal
2. systemctl status sshd.service
 
$ cat /etc/sysconfig/desktop
DISPLAYMANAGER=gdm
DESKTOP=KDE4

$ id
uid=1500(bittwister) gid=81(audio) groups=81(audio),4(adm),6(disk),7(lp),
19(floppy),20(games),22(cdrom),43(usb),80(cdwriter),82(video),83(dialout),
414(saned),480(ctools),481(ntools),1500(bittwister),1599(vboxusers)

$ ulimit -a
core file size          (blocks, -c) unlimited
data seg size           (kbytes, -d) unlimited
scheduling priority             (-e) 0
file size               (blocks, -f) unlimited
pending signals                 (-i) 61295
max locked memory       (kbytes, -l) 64
max memory size         (kbytes, -m) unlimited
open files                      (-n) 1024
pipe size            (512 bytes, -p) 8
POSIX message queues     (bytes, -q) 819200
real-time priority              (-r) 0
stack size              (kbytes, -s) 8192
cpu time               (seconds, -t) unlimited
max user processes              (-u) 61295
virtual memory          (kbytes, -v) unlimited
file locks                      (-x) unlimited
Comment 1 Manuel Hiebel 2012-12-25 14:30:37 CET

*** This bug has been marked as a duplicate of bug 8393 ***

Status: NEW => RESOLVED
Resolution: (none) => DUPLICATE

Comment 2 Bit Twister 2012-12-25 16:25:39 CET
(In reply to comment #1)
> 
> *** This bug has been marked as a duplicate of bug 8393 ***

I'll agree with that. I created /etc/dbus-1/system.d/my_system.conf containing

<!DOCTYPE busconfig PUBLIC "-//freedesktop//DTD D-Bus Bus Configuration 1.0//EN"
 "http://www.freedesktop.org/standards/dbus/1.0/busconfig.dtd">
<busconfig>

  <limit name="max_connections_per_user">100000</limit>
  <limit name="max_pending_service_starts">10000</limit>
  <limit name="max_names_per_connection">50000</limit>
  <limit name="max_match_rules_per_connection">50000</limit>
  <limit name="max_replies_per_connection">50000</limit>
</busconfig>

I then logged out, rebooted system, and systemctl status sshd.service works.

The above workaround also fixes my problem with auto mounting any USB devices/memory sticks...
Comment 3 Manuel Hiebel 2012-12-25 16:58:43 CET
you could post that to the other bug, will remember for mount issue, maybe we have already some bugs too
Comment 4 Vit Brezina 2014-02-05 23:32:47 CET
*** Bug 8499 has been marked as a duplicate of this bug. ***

CC: (none) => vit.brezina


Note You need to log in before you can comment on or make changes to this bug.