[Bug 739743] New: User messagebus needs more than 1024 open files to run dbus on multi-user system
https://bugzilla.novell.com/show_bug.cgi?id=739743 https://bugzilla.novell.com/show_bug.cgi?id=739743#c0 Summary: User messagebus needs more than 1024 open files to run dbus on multi-user system Classification: openSUSE Product: openSUSE 11.4 Version: Final Platform: Other OS/Version: openSUSE 11.4 Status: NEW Severity: Normal Priority: P5 - None Component: Basesystem AssignedTo: bnc-team-screening@forge.provo.novell.com ReportedBy: drichard@largo.com QAContact: qa@suse.de Found By: --- Blocker: --- User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:9.0.1) Gecko/20100101 Firefox/9.0.1 The version of dbus on OpenSuse 11.4 has an issue where once 1024 files are opened, it no longer will allow users to connect to the operating system. This happens at approximately 96-98 people. Each user consumes about 11 open files. This issue is described in detail: https://bugs.launchpad.net/ubuntu/+source/dbus/+bug/381063 OpenSuse doesn't have the same infrastructure to make the identical fix, and I'd like to get this merged back as a proper patch. The user messagebus needs to be allowed to have more files opened. The Ubuntu bug report mentions that some patches were created for dbus 1.4.6; but I'm not sure these are upstream fixes. Reproducible: Always Steps to Reproduce: 1. 2. 3. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=739743
https://bugzilla.novell.com/show_bug.cgi?id=739743#c1
Vincent Untz
https://bugzilla.novell.com/show_bug.cgi?id=739743
https://bugzilla.novell.com/show_bug.cgi?id=739743#c2
--- Comment #2 from David Richards
https://bugzilla.novell.com/show_bug.cgi?id=739743
https://bugzilla.novell.com/show_bug.cgi?id=739743#c4
Vincent Untz
https://bugzilla.novell.com/show_bug.cgi?id=739743
https://bugzilla.novell.com/show_bug.cgi?id=739743#c6
--- Comment #6 from David Richards
https://bugzilla.novell.com/show_bug.cgi?id=739743
https://bugzilla.novell.com/show_bug.cgi?id=739743#c7
David Richards
https://bugzilla.novell.com/show_bug.cgi?id=739743
https://bugzilla.novell.com/show_bug.cgi?id=739743#c8
--- Comment #8 from Vincent Untz
@Vincent: This patch did not fully resolve this issue and we got dbus failures at 1024 open files. It seems like this patch allows the process to use the handles if they are available, but possibly the user is not being granted the right ulimit?
You should be able to change with something like: <limit name="max_completed_connections">2048</limit> However, still failing at 1024 is a bit weird, I'd expect something higher as the default for this setting is 2048. Maybe you need to tweak max_connections_per_user too, though. Quoting the dbus man page: "max_completed_connections divided by max_connections_per_user is the number of users that can work together to denial-of-service all other users by using up all connections on the systemwide bus." -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=739743
https://bugzilla.novell.com/show_bug.cgi?id=739743#c11
--- Comment #11 from David Richards
https://bugzilla.novell.com/show_bug.cgi?id=739743
https://bugzilla.novell.com/show_bug.cgi?id=739743#c12
Vincent Untz
https://bugzilla.novell.com/show_bug.cgi?id=739743
https://bugzilla.novell.com/show_bug.cgi?id=739743#c13
--- Comment #13 from David Richards
https://bugzilla.novell.com/show_bug.cgi?id=739743
https://bugzilla.novell.com/show_bug.cgi?id=739743#c
David Richards
https://bugzilla.novell.com/show_bug.cgi?id=739743
https://bugzilla.novell.com/show_bug.cgi?id=739743#c14
Vincent Untz
https://bugzilla.novell.com/show_bug.cgi?id=739743
https://bugzilla.novell.com/show_bug.cgi?id=739743#c15
--- Comment #15 from David Richards
https://bugzilla.novell.com/show_bug.cgi?id=739743
https://bugzilla.novell.com/show_bug.cgi?id=739743#c17
David Richards
https://bugzilla.novell.com/show_bug.cgi?id=739743
https://bugzilla.novell.com/show_bug.cgi?id=739743#c18
Vincent Untz
https://bugzilla.novell.com/show_bug.cgi?id=739743
https://bugzilla.novell.com/show_bug.cgi?id=739743#c19
Vincent Untz
https://bugzilla.novell.com/show_bug.cgi?id=739743
https://bugzilla.novell.com/show_bug.cgi?id=739743#c20
--- Comment #20 from David Richards
https://bugzilla.novell.com/show_bug.cgi?id=739743
https://bugzilla.novell.com/show_bug.cgi?id=739743#c21
--- Comment #21 from Thorsten Kukuk
I don't know if this is a valid statement, but it almost seems like when you make the change /etc/sysconfig/ulimit via Yast2 that it should create corresponding entries in limits.conf. Having two areas with similar settings is confusing. You aren't always sure which one is really doing the blocking.
No, /etc/sysconfig/ulimit are system wide limits, /etc/security/limits.conf is per user. That's a big difference. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=739743
https://bugzilla.novell.com/show_bug.cgi?id=739743#c22
--- Comment #22 from Michael Calmer
https://bugzilla.novell.com/show_bug.cgi?id=739743
https://bugzilla.novell.com/show_bug.cgi?id=739743#c23
--- Comment #23 from Vincent Untz
(In reply to comment #20)
I don't know if this is a valid statement, but it almost seems like when you make the change /etc/sysconfig/ulimit via Yast2 that it should create corresponding entries in limits.conf. Having two areas with similar settings is confusing. You aren't always sure which one is really doing the blocking.
No, /etc/sysconfig/ulimit are system wide limits, /etc/security/limits.conf is per user. That's a big difference.
My understanding of David's issue is that the system-wide setting is ignored, even though there is no per user configuration in /etc/security/limits.conf. Is this expected? -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=739743
https://bugzilla.novell.com/show_bug.cgi?id=739743#c24
--- Comment #24 from Vincent Untz
https://bugzilla.novell.com/show_bug.cgi?id=739743
https://bugzilla.novell.com/show_bug.cgi?id=739743#c26
Swamp Workflow Management
https://bugzilla.novell.com/show_bug.cgi?id=739743
https://bugzilla.novell.com/show_bug.cgi?id=739743#c
Swamp Workflow Management
https://bugzilla.novell.com/show_bug.cgi?id=739743
https://bugzilla.novell.com/show_bug.cgi?id=739743#c28
Vincent Untz
https://bugzilla.novell.com/show_bug.cgi?id=739743
https://bugzilla.novell.com/show_bug.cgi?id=739743#c29
Ludwig Nussel
https://bugzilla.novell.com/show_bug.cgi?id=739743
https://bugzilla.novell.com/show_bug.cgi?id=739743#c30
--- Comment #30 from David Richards
https://bugzilla.novell.com/show_bug.cgi?id=739743
https://bugzilla.novell.com/show_bug.cgi?id=739743#c31
kk zhang
https://bugzilla.novell.com/show_bug.cgi?id=739743
https://bugzilla.novell.com/show_bug.cgi?id=739743#c32
David Richards
https://bugzilla.novell.com/show_bug.cgi?id=739743
https://bugzilla.novell.com/show_bug.cgi?id=739743#c
kk zhang
https://bugzilla.novell.com/show_bug.cgi?id=739743
https://bugzilla.novell.com/show_bug.cgi?id=739743#c33
--- Comment #33 from Benjamin Brunner
https://bugzilla.novell.com/show_bug.cgi?id=739743
https://bugzilla.novell.com/show_bug.cgi?id=739743#c34
--- Comment #34 from Swamp Workflow Management
https://bugzilla.novell.com/show_bug.cgi?id=739743
https://bugzilla.novell.com/show_bug.cgi?id=739743#c35
Timo Hoenig
participants (1)
-
bugzilla_noreply@novell.com