Re: Control on DBus-daemon virtual memory usage ballooning
David Rheinsberg <[email protected]>
| Newsgroups | gmane.comp.freedesktop.dbus |
|---|---|
| Message-ID | <CADyDSO7cQ3OOjqOKBYB8Z+dQp=814ky9z_J+f4g_2hCFvWk6UA@mail.gmail.com> |
Hi On Fri, 11 Sep 2020 at 11:03, Adrian Szyndela <[email protected]> wrote: > On 10 Sep 2020 at 08:02, David Rheinsberg <[email protected]> wrote: > > On Thu, 10 Sep 2020 at 01:21, Hailun Tan <[email protected]> wrote: > >> It mentioned that D-Bus never freed its data. > > > > The dbus-daemon process uses memory-management like any other common > > Linux process. The memory-allocator is taken from glibc. This > > allocator reserves a pool of data which it hands back to the kernel > > only when fragmentation and usage permit it. > > I think the internal memory pools, managed by DBusMemPool, may be involved here. I agree, DBusMemPool may behave non-optimally. Though, to analyse a situation I would need a description of the symptoms. The initial report talks about "growing VM usage", which is quite unspecific. Without any actual data, I don't see the point in speculating what could go wrong. Thanks David _______________________________________________ dbus mailing list [email protected] https://lists.freedesktop.org/mailman/listinfo/dbus