sync daemon spinning indefinitely

Bug #375363 reported by Martin Pitt
28
This bug affects 4 people
Affects Status Importance Assigned to Milestone
Ubuntu One Client
Invalid
High
Unassigned

Bug Description

I dist-upgraded today, which brought a new ubuntuone-client. After rebooting, syncd sat there for 1:15 hours taking 100% CPU and piling up memory

  4365 martin 20 0 120m 29m 4272 R 100 3.0 70:52.56 ubuntuone-syncd

I finally killed it, since it wasn't doing anything obvious (no new files, etc.), and the log file (17 MB) looked like an infinite loop.

This didn't happen with previous versions.

Tags: chicharra
Revision history for this message
Martin Pitt (pitti) wrote :

Whoops, attached the wrong log file initially. It was the 500 MB [sic] one actually. Fortunately it bzip2's nicely into 6 MB.

Revision history for this message
John Lenton (chipaca) wrote : Re: [Bug 375363] [NEW] sync daemon spinning indefinitely

yep, that looks like a loop. Ugly! Thanks for the report :)

 tag chicharra
 assignee <email address hidden>
 importance high
 status triaged

Revision history for this message
Martin Pitt (pitti) wrote :

log with debugging patch applied

Revision history for this message
Martin Pitt (pitti) wrote :

lrwxrwxrwx 1 martin martin 15 2009-04-29 15:18 bench -> ../diplom/bench

Revision history for this message
Martin Pitt (pitti) wrote :

It seems the symlink points to a nonexisting directory. Instead I have in ../diplom/:

drwxrwxrwx 2 martin martin 4096 2009-04-29 15:38 bench.conflict

In my original latex tree, the directory is correctly named "bench".

So we have two issues here:

  - loops on dangling symlinks
  - renames directories to .conflict

Revision history for this message
Martin Pitt (pitti) wrote :
Download full text (4.0 KiB)

2 martin@tick:~/Ubuntu One/My Files/latex/science/informatik
$ ls -l diplom-vdm/
insgesamt 124
lrwxrwxrwx 1 martin martin 15 2009-04-29 15:18 bench -> ../diplom/bench
lrwxrwxrwx 1 martin martin 20 2009-04-29 15:18 bisim1.fig -> ../diplom/bisim1.fig
lrwxrwxrwx 1 martin martin 20 2009-04-29 15:18 bisim2.fig -> ../diplom/bisim2.fig
lrwxrwxrwx 1 martin martin 20 2009-04-29 15:18 bisim3.fig -> ../diplom/bisim3.fig
lrwxrwxrwx 1 martin martin 20 2009-04-29 15:18 bisim4.fig -> ../diplom/bisim4.fig
lrwxrwxrwx 1 martin martin 20 2009-04-29 15:18 bisim5.fig -> ../diplom/bisim5.fig
lrwxrwxrwx 1 martin martin 21 2009-04-29 15:18 bisimf1.fig -> ../diplom/bisimf1.fig
lrwxrwxrwx 1 martin martin 21 2009-04-29 15:18 bisimf2.fig -> ../diplom/bisimf2.fig
lrwxrwxrwx 1 martin martin 24 2009-04-29 15:18 c2cruntime.pdf -> ../diplom/c2cruntime.pdf
lrwxrwxrwx 1 martin martin 22 2009-04-29 15:18 c2cspeed.pdf -> ../diplom/c2cspeed.pdf
lrwxrwxrwx 1 martin martin 29 2009-04-29 15:18 cs2ccmb-classes.dia -> ../diplom/cs2ccmb-classes.dia
lrwxrwxrwx 1 martin martin 29 2009-04-29 15:18 cs2ccmb-classes.eps -> ../diplom/cs2ccmb-classes.eps
lrwxrwxrwx 1 martin martin 29 2009-04-29 15:18 cs2ccmb-classes.pdf -> ../diplom/cs2ccmb-classes.pdf
-rw-r--r-- 1 martin martin 120698 2008-01-19 13:54 diplom.tex
lrwxrwxrwx 1 martin martin 18 2009-04-29 15:18 Makefile -> ../diplom/Makefile
lrwxrwxrwx 1 martin martin 22 2009-04-29 15:18 modelgen.dia -> ../diplom/modelgen.dia
lrwxrwxrwx 1 martin martin 22 2009-04-29 15:18 modelgen.eps -> ../diplom/modelgen.eps
lrwxrwxrwx 1 martin martin 22 2009-04-29 15:18 modelgen.pdf -> ../diplom/modelgen.pdf
lrwxrwxrwx 1 martin martin 28 2009-04-29 15:18 motor-automata.fig -> ../diplom/motor-automata.fig
lrwxrwxrwx 1 martin martin 24 2009-04-29 15:18 simruntime.pdf -> ../diplom/simruntime.pdf
lrwxrwxrwx 1 martin martin 22 2009-04-29 15:18 simspeed.pdf -> ../diplom/simspeed.pdf
lrwxrwxrwx 1 martin martin 28 2009-04-29 15:18 speed-automata.fig -> ../diplom/speed-automata.fig
lrwxrwxrwx 1 martin martin 32 2009-04-29 15:18 speedsafe-automata.fig -> ../diplom/speedsafe-automata.fig
lrwxrwxrwx 1 martin martin 20 2009-04-29 15:18 vnotes.txt -> ../diplom/vnotes.txt
lrwxrwxrwx 1 martin martin 21 2009-04-29 15:18 vortrag.tex -> ../diplom/vortrag.tex
0 martin@tick:~/Ubuntu One/My Files/latex/science/informatik
$ ls -l diplom
insgesamt 356
drwxrwxrwx 2 martin martin 4096 2009-04-29 15:38 bench.conflict
-rwxrwxrwx 1 martin martin 4130 2008-01-19 13:40 bisim1.fig
-rwxrwxrwx 1 martin martin 3932 2008-01-19 13:40 bisim2.fig
-rwxrwxrwx 1 martin martin 4042 2008-01-19 13:40 bisim3.fig
-rwxrwxrwx 1 martin martin 4043 2008-01-19 13:40 bisim4.fig
-rwxrwxrwx 1 martin martin 3998 2008-01-19 13:40 bisim5.fig
-rwxrwxrwx 1 martin martin 4129 2008-01-19 13:40 bisimf1.fig
-rwxrwxrwx 1 martin martin 4275 2008-01-19 13:40 bisimf2.fig
-rwxrwxrwx 1 martin martin 2426 2008-01-19 13:40 c2cruntime.pdf
-rwxrwxrwx 1 martin martin 2422 2008-01-19 13:40 c2cspeed.pdf
-rwxrwxrwx 1 martin martin 8597 2008-01-19 13:40 cs2ccmb-classes.dia
-rwxrwxrwx 1 martin martin 53722 2008-01-19 13:...

Read more...

Revision history for this message
Niels Egberts (nielsegberts) wrote :

I have had the same problem that the sync-deamon was eating all of the cpu and growing in memory size (up to 900mb). I do not know where the log is created so I cannot post that one.

Revision history for this message
Facundo Batista (facundo) wrote : Re: [Bug 375363] Re: sync daemon spinning indefinitely

Niels Egberts escribió (el 19/05/09 19:19):

> I have had the same problem that the sync-deamon was eating all of the
> cpu and growing in memory size (up to 900mb). I do not know where the
> log is created so I cannot post that one.

Look in ~/.cache/ubuntuone/log/

Thanks!

--
. Facundo
.
Ubuntu - Online Services

Revision history for this message
John Lenton (chipaca) wrote :

On Tue, May 19, 2009 at 05:19:13PM -0000, Niels Egberts wrote:
> I have had the same problem that the sync-deamon was eating all of the
> cpu and growing in memory size (up to 900mb). I do not know where the
> log is created so I cannot post that one.
>

apport-collect and the bug number should be enough :)

Changed in ubuntuone-client:
status: Triaged → Incomplete
Revision history for this message
mac.ryan (macryan) wrote :

I am also affected with the same problem of perpetual spinning. (Latest version of the client, updated a couple of days ago). My CPU though is not sucked up completely as per the OP description:

ubuntuone-client is 1-2%
ubuntuone-sycnd never goes over 1%.

I also don't know where to look for the log file, so I can't attach it. A problem that might be child of this one is the one I just reported here:

https://bugs.launchpad.net/bugs/413117

Revision history for this message
mac.ryan (macryan) wrote :

Just wishing to add for other fellow users: the spinning problem get solved by disconnecting/reconnecting the client.

Revision history for this message
Facundo Batista (facundo) wrote :

Logs are in ~/.cache/ubuntuone/log/, as explained in comment #9 of this report.

I'm marking this as invalid because it's been more than two months as "incomplete" without the requested information. Feel free to reopen it if this happens again! Thanks for your help!

Changed in ubuntuone-client:
status: Incomplete → Invalid
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.