You are not logged in.
Over the past several days, I've had to restart my system several times because RAM and swap space are being entirely consumed. According to htop, upowerd is sucking up memory. As I type this, it is using 17.8G of RAM (4G of this is in swap space).
General details:
Fully up to date Arch system with most recent kernel (3.14.1)
Desktop w/ Intel 4770k, 16G RAM
KDE desktop
Why is upowerd using such an inordinate amount of memory, and how can I stop it?
Thanks in advance!
Offline
did you check journalctl if there are any hints what could be wrong?
Offline
This is the only appearance of upowerd in journalctl:
upowerd[6168]: (upowerd:6168): UPower-Linux-WARNING **: failed to coldplug unifying device: Attempt to read response from device timed out
Offline
odd. How about if you run 'upower -m --monitor-detail' from command line and leave it monitoring for a while.
Offline
Hi,
I have the same problem but can also not figure out what the problem is for now.
According to 'top' upower consumes 75% of my memory. I have 6 GB RAM installed.
After killing upower and starting from terminal as suggested, there are 4 GB free.
I will report if things are changing...
Regards,
Michi
Offline
odd. How about if you run 'upower -m --monitor-detail' from command line and leave it monitoring for a while.
I have some problem and my output:
[17:29:37.057] device changed: /org/freedesktop/UPower/devices/keyboard_0003o046DoC52Bx0004
native-path: /sys/devices/pci0000:00/0000:00:12.0/usb1/1-3/1-3:1.2/0003:046D:C52B.0003/0003:046D:C52B.0004
vendor: Logitech, Inc.
model: K270
serial: BCD5FAC2
power supply: no
updated: Mon 28 Apr 2014 05:29:34 PM YEKT (3 seconds ago)
has history: yes
has statistics: no
keyboard
present: yes
rechargeable: yes
state: discharging
warning-level: low
percentage: 20%
icon-name: 'battery-low-symbolic'
this message repeated 4 times each 30 seconds
and this
(upower:2548): GLib-GObject-WARNING **: g_object_notify: object class 'UpDevice' has no property named 'g-name-owner'
[18:01:22.437] daemon changed:
[18:01:22.437] daemon changed:
[18:01:22.437] daemon changed:
[18:01:22.437] daemon changed:
[18:01:22.437] daemon changed:
(upower:2548): GLib-GObject-WARNING **: g_object_notify: object class 'UpClient' has no property named 'g-name-owner'
Last edited by aaa (2014-04-28 12:02:50)
Offline
I've had the upowerd monitor up since yesterday but nothing abnormal has happened yet, just some info about the wireless keyboard/mouse.
I'm not sure how or why the memory leak happened and can't really induce it or repeat it. All I know is that upowerd was the process using all the memory and swap (according to htop), and that has forced me to reboot several times over the past month.
I was perusing journalctl entries with time stamps at about the time of the leak and I did find some weird entries, but I don't know if they even matter:
...
dbus[317]: [system] Reloaded configuration
dbus[317]: [system] Reloaded configuration
dbus[317]: [system] Reloaded configuration
dbus[317]: [system] Reloaded configuration
dbus[317]: [system] Reloaded configuration
...
Over and over again (EDIT: 27 times) during the 8-minute period where memory usage went from ~1G to ~18G. I don't know if this is just a coincidence, but this happened at almost the exact same time.
Last edited by v1rous (2014-04-28 13:46:10)
Offline
Okay, not to be persistent but this is happening right now, and nothing is showing up under journalctl or upower -m --monitor-detail.
Where else can I look and maybe get an idea of what's going on?
Offline
Maybe kde power manager (or whatever it is called) is triggering some bug in upower. Have you tried different DE? Or killing power manager while memory usage is going up?
Offline
this new output of 'upower -m --monitor-detail'
[00:31:22.236] daemon changed:
daemon-version: 0.99.0
on-battery: no
lid-is-closed: no
lid-is-present: no
is-docked: no
critical-action: PowerOff
(upower:24478): GLib-GObject-WARNING **: g_object_notify: object class 'UpClient' has no property named 'g-name-owner'
[00:31:22.238] device changed: /org/freedesktop/UPower/devices/keyboard_0003o046DoC52Bx0004
native-path: /sys/devices/pci0000:00/0000:00:12.0/usb1/1-3/1-3:1.2/0003:046D:C52B.0003/0003:046D:C52B.0004
vendor: Logitech, Inc.
model: K270
serial: BCD5FAC2
power supply: no
updated: Tue 29 Apr 2014 12:31:21 AM YEKT (1 seconds ago)
has history: yes
has statistics: no
keyboard
present: yes
rechargeable: yes
state: discharging
warning-level: low
percentage: 20%
icon-name: 'battery-low-symbolic'
History (charge):
1398709882 0.000 unknown
History (rate):
1398709882 0.000 unknown
Got that output after upower take about 3Gb of memory and restarted by himself
Offline
I also have this problem, with 2GB allocated by upowerd.
My log also shows Logitech input devices as possible culprits.
# upower -m --monitor-detail
Monitoring activity from the power daemon. Press Ctrl+C to cancel.
[14:01:06.325] device changed: /org/freedesktop/UPower/devices/mouse_0003o046DoC52Bx0006
native-path: /sys/devices/pci0000:00/0000:00:1a.0/usb1/1-1/1-1.5/1-1.5:1.2/0003:046D:C52B.0005/0003:046D:C52B.0006
vendor: Logitech, Inc.
model: Performance MX
serial: 8D05A9F5
power supply: no
updated: Sat 03 May 2014 02:01:06 PM PDT (0 seconds ago)
has history: yes
has statistics: no
mouse
present: yes
rechargeable: yes
state: discharging
warning-level: low
percentage: 20%
icon-name: 'battery-low-symbolic'
This is on an always-on desktop, so I've stopped and disabled the upowerd service for now.
Offline
I am having the same problem with my laptop upowerd decides to eat up all 2 gigs of ram and all 4 gigs of swap i need to stop this~
[FennecTECH@ArchOS ~]$ cat about_myself
Hello there my name is FennecTECH I am a novice arch user though I am here to learn I live in central Minnesota where I hangout in the console and make my way into X11. Nice to meet you all! Enjoy my home directory feel free to poke around. There is a solution to every problem, so long as you do not break the laws of physics.
=^_^=
[FennecTECH@ArchOS ~]$
Offline
I had no idea about "upowerd" until this afternoon. Things were running fine but then Firefox, always sensitive to memory usage, slowed down, Conky showed 16G RAM all used and digging 6G into swap. Conkly shows the top CPU and memory users, and there's upowerd. I have no idea what caused upowerd to start, or what it does. A quick web search on a sluggish browser, I figured it was okay to kill the process. Instantly RAM usage dropped to 4GB and everything's good. Then I came here, the Arch forums.
I'd like to know what started upowerd. I was bringing up a lot of web pages from a google search, and might have hit a bad link, some hacked site maybe. The only other things running were text editors, Eclipse (not in use since this morning) and some command shells with nothing unusual going on.
If it is helpful or provides clues to anyone, the dump from journalctl surround the probable time the memory leak started follows. I have no idea what "org.a11y.atspi" refers to. Maybe that is the culprit? BTW, my machine is named "arsenic".
Jun 04 12:51:11 arsenic org.freedesktop.thumbnails.Thumbnailer1[12470]: (tumblerd:18765): tumbler-WARNING **: Failed to load plugin "tumbler-ffmpeg-thumbnailer.so": libffmpegthumbnailer.so.4: cannot open shared object file: No such file or directory
Jun 04 15:03:54 arsenic kernel: EXT4-fs warning (device sdb1): __ext4_read_dirblock:908: error reading directory block (ino 2, block 0)
Jun 04 15:03:55 arsenic org.freedesktop.thumbnails.Thumbnailer1[12470]: (tumblerd:18745): tumbler-WARNING **: Failed to load plugin "tumbler-raw-thumbnailer.so": libopenrawgnome.so.1: cannot open shared object file: No such file or directory
Jun 04 15:03:55 arsenic org.freedesktop.thumbnails.Thumbnailer1[12470]: (tumblerd:18745): tumbler-WARNING **: Failed to load plugin "tumbler-ffmpeg-thumbnailer.so": libffmpegthumbnailer.so.4: cannot open shared object file: No such file or directory
Jun 04 15:04:07 arsenic org.a11y.Bus[12470]: Activating service name='org.a11y.atspi.Registry'
Jun 04 15:04:08 arsenic org.a11y.Bus[12470]: Successfully activated service 'org.a11y.atspi.Registry'
Jun 04 15:04:08 arsenic org.a11y.atspi.Registry[18826]: SpiRegistry daemon is running with well-known name - org.a11y.atspi.Registry
Jun 04 15:04:09 arsenic org.a11y.atspi.Registry[18826]: ** (at-spi2-registryd:18839): WARNING **: Failed to register client: GDBus.Error:org.freedesktop.DBus.Error.ServiceUnknown: The name org.gnome.SessionManager was not provided by any .service files
Jun 04 15:04:09 arsenic org.a11y.atspi.Registry[18826]: ** (at-spi2-registryd:18839): WARNING **: Unable to register client with session manager
Jun 04 17:00:04 arsenic org.freedesktop.thumbnails.Thumbnailer1[12470]: (tumblerd:14751): tumbler-WARNING **: Failed to load plugin "tumbler-raw-thumbnailer.so": libopenrawgnome.so.1: cannot open shared object file: No such file or directory
Jun 04 17:00:04 arsenic org.freedesktop.thumbnails.Thumbnailer1[12470]: (tumblerd:14751): tumbler-WARNING **: Failed to load plugin "tumbler-ffmpeg-thumbnailer.so": libffmpegthumbnailer.so.4: cannot open shared object file: No such file or directory
Jun 04 17:21:50 arsenic sudo[20101]: darenw : TTY=pts/5 ; PWD=/home/darenw ; USER=root ; COMMAND=/usr/bin/su
Jun 04 17:21:51 arsenic sudo[20101]: pam_unix(sudo:session): session opened for user root by darenw(uid=0)
Artist/Physicist, Herder of Pixels, Photons and Electrons
Offline
Please use code tags.
Offline
Upowerd eats all memory here when xfce4-powermanager wants to put my laptop into standby.
Offline
I'm getting this same issue, seems to usually be right after resuming from sleep that upowerd starts to eat huge amounts of RAM and CPU.
Someone mentioned using the Logitech wireless adapter, I'm using one of those as well. Maybe related?
(Doing a `kill -9` on upowerd temporarily resolves the problem, until I restart and subsequently sleep/wake again)
Last edited by gh02t (2014-06-23 17:52:32)
Offline
Same problem here, and using a Logitech universal receiver.
Offline
I experienced this memory leak about a week ago. 32GB RAM full plus 16GB of swap. I updated on the 11th of June and the 21st so I think it would be something to do with the updates on the 21st. I put this system into suspend often.
Anyways, I just restarted the service. Looks like I can just stop it as it is called upon by dbus when needed.
It happened twice since then, but I caught it before it took > 50% RAM.
I see nothing in journald.
Logitech is waay too common to suspect a mouse or kb. HOWEVER, I am using a K800 keyboard (uses Unifying Receiver) and a G500 mouse.
Offline
Bug report: https://bugs.archlinux.org/task/40444
Offline
I also experience this problem. All my 16G of memory and swap are taken before I killed upowerd. I have logitech keyboard K800 and I have used logitech mouse M310, M570 in the past. Currently I am not even using those mouses.
Below is the output of "upower -m --monitor-detail". It prints out these messages every two minutes or so. Each of them 4 times. It doesn't seem to take up lots of memory right now. But the most recent time when it start eating up lots of memory really fast is when I plugged in my keyboard to get it charged. Right now it is charging without using up much memory at all. I will try to get the logs for when it is actually eating up lots of memory.
[19:35:16.838] device changed: /org/freedesktop/UPower/devices/mouse_0003o046DoC52Bx0005
native-path: /sys/devices/pci0000:00/0000:00:1a.0/usb1/1-1/1-1.5/1-1.5:1.2/0003:046D:C52B.0004/0003:046D:C52B.0005
vendor: Logitech, Inc.
model: M570
serial: BFF59900
power supply: no
updated: Wed 16 Jul 2014 07:35:16 PM EDT (0 seconds ago)
has history: yes
has statistics: no
mouse
present: no
rechargeable: yes
state: unknown
warning-level: none
percentage: 0%
icon-name: 'battery-missing-symbolic'
X4
[19:35:16.842] device changed: /org/freedesktop/UPower/devices/mouse_0003o046DoC52Bx0006
native-path: /sys/devices/pci0000:00/0000:00:1a.0/usb1/1-1/1-1.5/1-1.5:1.2/0003:046D:C52B.0004/0003:046D:C52B.0006
vendor: Logitech, Inc.
model: M310
serial: D7D3B589
power supply: no
updated: Wed 16 Jul 2014 07:35:16 PM EDT (0 seconds ago)
has history: yes
has statistics: no
mouse
present: no
rechargeable: yes
state: unknown
warning-level: none
percentage: 0%
icon-name: 'battery-missing-symbolic'
X4
[19:35:46.802] device changed: /org/freedesktop/UPower/devices/keyboard_0003o046DoC52Bx0007
native-path: /sys/devices/pci0000:00/0000:00:1a.0/usb1/1-1/1-1.5/1-1.5:1.2/0003:046D:C52B.0004/0003:046D:C52B.0007
vendor: Logitech, Inc.
model: K800
serial: 8B052D85
power supply: no
updated: Wed 16 Jul 2014 07:35:46 PM EDT (0 seconds ago)
has history: yes
has statistics: no
keyboard
present: yes
rechargeable: yes
state: charging
warning-level: none
percentage: 20%
icon-name: 'battery-low-charging-symbolic'
X4
Last edited by bwang8 (2014-07-16 23:47:22)
Offline
I still have this issue, every few days I have to kill the upower processes. Disabling the service is evidently not an option - it just respawns.
I use a Logitech K800 keyboard
[17:19:04.085] device changed: /org/freedesktop/UPower/devices/keyboard_0003o046DoC52Bx0004
native-path: /sys/devices/pci0000:00/0000:00:14.0/usb1/1-3/1-3.3/1-3.3:1.2/0003:046D:C52B.0003/0003:046D:C52B.0004
vendor: Logitech, Inc.
model: K800
serial: B327F21E
power supply: no
updated: Wed 16 Jul 2014 05:19:03 PM PDT (1 seconds ago)
has history: yes
has statistics: no
keyboard
present: yes
rechargeable: yes
state: discharging
warning-level: none
percentage: 55%
icon-name: 'battery-good-symbolic'
and Logitech Performance MX mouse
[17:19:04.087] device changed: /org/freedesktop/UPower/devices/mouse_0003o046DoC52Bx0008
native-path: /sys/devices/pci0000:00/0000:00:14.0/usb1/1-3/1-3.4/1-3.4:1.2/0003:046D:C52B.0007/0003:046D:C52B.0008
vendor: Logitech, Inc.
model: Performance MX
serial: 8D05A9F5
power supply: no
updated: Wed 16 Jul 2014 05:19:04 PM PDT (0 seconds ago)
has history: yes
has statistics: no
mouse
present: yes
rechargeable: yes
state: discharging
warning-level: low
percentage: 20%
icon-name: 'battery-low-symbolic'
Does anyone have this memory leak with upower WITHOUT logitech devices?
Side-note: I also get annoying notifications through libnotify/notify-send about the battery being low, which I'd disable if I could figure out what is pushing those notifications (the LEDs built-in to the devices are more than sufficient).
Offline
Hey guys,
I have the same issue here.
I am also using a Logitech keyboard K800 and a Logitech Mouse.
I have this problem since i updated my system a few days ago.
The power information for the keyboard and mouse is coming from xfce-power-manager, looks like a new feature with a bug ;-)
Offline
Just as a data point my:
Logitech, Inc. M90/M100 Optical Mouse
appears to be unaffected.
Offline
I installed arch on my htpc and upowerd eats all the RAM. I'm also using a logitech device, a k400 keyboard.
Offline
I have the same problem.
Is it a possible solution?
https://www.libreoffice.org/bugzilla/at … ?id=105170
Original Thread
https://www.libreoffice.org/bugzilla/sh … i?id=82659
Last edited by Phoenix_alx (2014-08-31 09:02:35)
Offline