ubuntuone-syncdaemon STILL consumes ridiculous amounts of ram and grinds my machines to a halt
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
ubuntuone-client (Ubuntu) |
New
|
Undecided
|
Unassigned |
Bug Description
I've been reporting this since Lucid. In 4 releases now, I have NEVER been able to reliably use Ubuntu One, despite numerous attempts at giving it a shot. In Natty, I was at the point where I was ready to purge Ubuntu One completely from my systems because ubuntuone-
Since upgradeing my systems to Oneiric, the problem is still present. Unfortunately, this impacts my ability to work, as the syncdaemon consistently eats up at least 50% of available ram and up to 100% of CPU resources, effectively DoSing my machines. :(
I have three systems that are currently running Oneiric.
1: Netbook w/ an older Atom and 1.5GB RAM
2: Lenovo x201 w/ core i5 and 4GB RAM
3: Alienware M15x w/ core i7 and 4GB RAM.
On all three, allowing syncdaemon to run causes the machines to become unusable as the syncdaemon thrashes my hard disks, consumes pretty much all CPU (or on my multi-core systems, it pegs at least one core at 100%) and consumes 50 - 90% system RAM.
On my Alienware, I've already deleted all ubuntu-one startup files to prevent Ubuntu One from running.
Same on my netbook.
The only system I have left now, after 4 attempts at using U1 is the x201, and I fear I now need to purge U1 from it as well, as I need this machine to work when I'm travelling, and I can't work while U1 is thrashing the system.
Here's a snip from top that I managed to get:
top - 10:55:25 up 1:18, 0 users, load average: 1.76, 3.18, 3.47
Tasks: 218 total, 3 running, 210 sleeping, 0 stopped, 5 zombie
Cpu(s): 28.0%us, 2.1%sy, 0.2%ni, 56.2%id, 13.4%wa, 0.0%hi, 0.1%si, 0.0%st
Mem: 3719004k total, 3603696k used, 115308k free, 7532k buffers
Swap: 1998844k total, 683212k used, 1315632k free, 334028k cached
PID USER PR NI VIRT RES SHR S %CPU %MEM TIME+ COMMAND
1892 bladernr 20 0 2440m 1.9g 6584 R 97 53.2 69:25.06 ubuntuone-syncd
31 root 20 0 0 0 0 D 2 0.0 0:13.20 kswapd0
1945 bladernr 20 0 1320m 63m 10m S 2 1.8 2:38.47 chrome
5208 bladernr 20 0 927m 45m 8088 S 2 1.3 0:21.01 chrome
notice that syncdaemon is consuming 97% CPU time (on one core, thankfully, not across all cores) and 1.9GB of RAM out of 4 in the system. It's in a "Local Scan" so in addition to consuming a significant portion of RAM and CPU, it's also doing a LOT of disk I/O which further slows the system down. I could let this sit for HOURS and the result would be the same.
Here's the current status:
bladernr@
State: LOCAL_RESCAN
connection: Not User With Network
description: doing local rescan
is_connected: False
is_error: False
is_online: False
queues: WORKING
ProblemType: Bug
DistroRelease: Ubuntu 11.10
Package: ubuntuone-client 2.0.0-0ubuntu2.2
ProcVersionSign
Uname: Linux 3.0.0-13-generic x86_64
ApportVersion: 1.23-0ubuntu4
Architecture: amd64
Date: Wed Dec 14 11:00:32 2011
InstallationMedia: Ubuntu 11.10 "Oneiric Ocelot" - Release amd64 (20111012)
PackageArchitec
SourcePackage: ubuntuone-client
UpgradeStatus: No upgrade log present (probably fresh install)
I would love to be able to see what is in queue, but unfortunately, this happens:
bladernr@ GarbageScow: ~$ u1sdtool --waiting
Oops, an error ocurred: .DBusException: org.freedesktop .DBus.Error. NoReply: Did not receive a reply. Possible causes include: the remote application did not send a reply, the message bus security policy blocked the reply, the reply timeout expired, or the network connection was broken.
Traceback (most recent call last):
Failure: dbus.exceptions
So maybe I'll at least look and see what folders U1 is scanning:
bladernr@ GarbageScow: ~$ u1sdtool --list-folders
Oops, an error ocurred: .DBusException: org.freedesktop .DBus.Error. NoReply: Did not receive a reply. Possible causes include: the remote application did not send a reply, the message bus security policy blocked the reply, the reply timeout expired, or the network connection was broken.
Traceback (most recent call last):
Failure: dbus.exceptions
I may as well just shut it down now so I can actually get some work done:
bladernr@ GarbageScow: ~$ u1sdtool -q syncdaemon stopped.
ubuntuone-
Surprisingly, this actually worked this time. about 50% of the time, syncdaemon is consuming so much resources that the quit command actually fails. Instead of the above message, I get a message like this:
ubuntuone- syncdaemon still running.
Look, I'm still, after 2 years, willing to help make this work, and I'm even willing to conceded that I could possibly be part of the cause (pebkac) however, I find it hard to believe that I am the direct cause of exactly the same symptoms on 3 different machines.