bus limits
Havoc Pennington
hp at redhat.com
Sun Aug 15 14:47:24 PDT 2004
On Sun, 2004-08-15 at 15:27, Colin Walters wrote:
>
> Probably this is something that should be left up to applications,
> similar to how you can set O_NONBLOCK on sockets.
This is kind of problematic, since DBusConnection is app-global, like
the X server connection. Multiple libraries and app components in the
same process are likely using it. The alternative is to open tons of
different file descriptors - one of the things the bus daemon is
intended to let us avoid. We've already in real life exceeded kernel
descriptor limits with GNOME.
Which reminds me, the limits stuff is pretty much based on both the
kernel and X. The standard practice in those two cases seems to be
"error on limits exceeded, but nobody handles the limits exceeded, so
set the limits really high"
Havoc
More information about the dbus
mailing list