![]() |
dbus-daemon memory leak with batterypatch-non-kp?
Looks like I've found the reason of my N900's reboots every 6 days of uptime: dbus-daemon takes more and more RAM.
It's only 3Mb on the start but doubles every 24 hours. I'm going to file a bug report, you can help by checking yours with Code:
uptime Update: it looks like it was recaller's fault. Update: no, it was batterypatch-non-kp |
Re: dbus-daemon memory leak?
since dbus is of paramount importance to whole system, I think you hardly can restart it without system reboot
btw you must have something special there, I had uptimes of >150 days. /j |
Re: dbus-daemon memory leak?
Code:
$ sudo /etc/init.d/dbus restart Update: I've replaced the sort with a GNU sort and the script worked but it just spawns third dbus-daemon without closing the first one. |
Re: dbus-daemon memory leak?
I have no experience handling dbus, but this may help to debug it.
No leak in my case: Code:
date >> dbus.log; ps avx | grep dbus-daemon >> dbus.log Code:
Thu Aug 9 05:11:07 CEST 2012 |
Re: dbus-daemon memory leak?
uptime 18+ days
dbus-daemon (session): 3160K dbus-daemon (system): 3556K I wouldn't call that a leak (at least in my case). |
Re: dbus-daemon memory leak?
So I started deleting all suspicious packages one by one and it looks like it was recaller's fault. Memory stays at 3552K for ~10 hours.
|
Re: dbus-daemon memory leak with batterypatch-non-kp?
Actually it stopped only after removing batterypatch-non-kp
|
Re: dbus-daemon memory leak with batterypatch-non-kp?
Another example of how great these "patches" are :P
|
Re: dbus-daemon memory leak with batterypatch-non-kp?
Quote:
Batterypatch uses dbus-scripts, which could (maybe) responsible for the leak. The scripts run by batterypatch, which are invoked by dbus-scripts, also execute dbus commands (to know whether a call is active or not). So perhaps this provoke-dbus-event while handle-dbus-event may trigger a bug in dbus itself. (Maybe, this is not really a re-entrancy issue, and in any case one must assume that dbus, however crappy it is, and it is, has to be re-entrant, otherwise it would be just way too crappy). Is somebody using frequently-run dbus-activated scripts *and* also having this memory leak? If so, is this using dbus-scripts, dbuscron, or some other means? |
All times are GMT. The time now is 01:33. |
vBulletin® Version 3.8.8