Comments (2)
Thanks for the help, I've managed to find the root cause.
I had a systemd user service with auto-restart enabled, the service kept crashing and the stacktraces being dumped to coredumpctl every few s. Eventually the queue kept increasing to the point of allocating the mentioned ram amount. I aso learned a lesson next time to skim the global journal first instead of filtering on a per-unit output.
from dbus-broker.
Your statistics-dump shows a connection with ID 1.82
(PID: 8838, UID: 1000) to have a huge amount of messages queued, which it does not process:
dict entry(
string "OutgoingBytes"
uint32 535562975
)
This is 500MiB of messages queued for the mentioned connection. It is also very close to exceeding the quota for UID 1000 (190605 of 536870912 bytes remaining before the quota will be exceeded).
This means there is a program on your machine running, which asked to receive D-Bus messages, but does not dispatch those messages. Hence, they will pile up until a quota is exceeded.
I assume the PID/connection-ID changes on each reboot. So if you see this happening again, use the same method to acquire the statistics-dump and search for OutgoingBytes
until you find an entry with a high value. Shortly above it, the dump will show the connection-id, PID, UID, etc. (you can use busctl
to show all connection IDs currently in use).
I also wrote a short explanation on how to find such D-Bus processes: https://dvdhrm.github.io/2021/04/14/locating-dbus-resource-leaks/
Let me know if you need more help!
from dbus-broker.
Related Issues (20)
- Wiki page minor correction HOT 2
- RFE: add destination/unit name to error messages HOT 5
- Error when enabling the service on Arch Linux HOT 4
- Invalid file in 'includedir' causes entire launch to fail HOT 4
- Integer overflow due to u64->u32 when passing the "limits" around (most likely happen to `max_bytes`) HOT 3
- dbus-broker-units has made Light Display Manager (lightdm) unable to start HOT 19
- With dbus-broker-units, the KDE (plasma) can't be loaded HOT 5
- Several Errors from dbus-broker-launch on linux boot | org.kde.dolphin.FileManager1.service' is not named after the D-Bus name 'org.freedesktop.FileManager1' HOT 6
- Running dbus-broker-launch without systemd (the reprise) HOT 6
- The default position of critical infrastructure cannot be complete system failure HOT 6
- Do not hard fail on a failed config parse in a manner which prevents the user from fixing it HOT 2
- How to replace dbus-broker as session bus? HOT 4
- Error starting dbus-broker-launch HOT 5
- What are the field definitions for org.freedesktop.DBus.Debug.Status.UserAccounting HOT 2
- Test 48/49 libcstdaux-1failure with Clang HOT 1
- There seems to be a memory leak in policy_import
- RFE: improve dbus-broker's logging HOT 5
- Be able to set the servicedirs precedence HOT 2
- Client terminated while trying to send an L2CAP socket HOT 5
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from dbus-broker.