syncdaemon is spinning on CPU

Bug #545350 reported by Kees Cook
40
This bug affects 8 people
Affects Status Importance Assigned to Milestone
ubuntuone-client (Ubuntu)
Confirmed
Undecided
Ubuntu One Client Engineering team

Bug Description

Binary package hint: ubuntuone-client

the syncdaemon has freaked out when trying to hash a file that disappeared. Hashes replaced with HASH1, HASH2, HASH3:

2010-03-23 12:15:20,143 - ubuntuone.SyncDaemon.sync - DEBUG - T:LOCAL:F HASH1 ['HASH2'::'HASH3'] ''Purchased from Ubuntu One/.swp'' | Calling calculate_hash
2010-03-23 12:15:20,144 - ubuntuone.SyncDaemon.HQ - DEBUG - HashQueue: inserting path '/home/kees/.ubuntuone/Purchased from Ubuntu One/.swp' mdid HASH1
2010-03-23 12:15:20,145 - ubuntuone.SyncDaemon.sync - DEBUG - T:LOCAL:F HASH1 ['HASH2'::'HASH3'] ''Purchased from Ubuntu One/.swp'' | Called calculate_hash
2010-03-23 12:15:20,145 - ubuntuone.SyncDaemon.HQ.hasher - DEBUG - Hasher: got file to hash: path '/home/kees/.ubuntuone/Purchased from Ubuntu One/.swp' mdid HASH1
2010-03-23 12:15:20,147 - ubuntuone.SyncDaemon.HQ.hasher - DEBUG - Hasher: hash error [Errno 2] No such file or directory: '/home/kees/.ubuntuone/Purchased from Ubuntu One/.swp' (path '/home/kees/.ubuntuone/Purchased from Ubuntu One/.swp' mdid HASH1)
2010-03-23 12:15:20,148 - ubuntuone.SyncDaemon.EQ - DEBUG - push_event: HQ_HASH_ERROR, args:('HASH1',), kw:{}
2010-03-23 12:15:20,149 - ubuntuone.SyncDaemon.sync - DEBUG - T:LOCAL:F HASH1 ['HASH2'::'HASH3'] ''Purchased from Ubuntu One/.swp'' | EVENT: HQ_HASH_ERROR:{} with ARGS:()
2010-03-23 12:15:20,150 - ubuntuone.SyncDaemon.sync - DEBUG - T:LOCAL:F HASH1 ['HASH2'::'HASH3'] ''Purchased from Ubuntu One/.swp'' | Calling calculate_hash
2010-03-23 12:15:20,151 - ubuntuone.SyncDaemon.HQ - DEBUG - HashQueue: inserting path '/home/kees/.ubuntuone/Purchased from Ubuntu One/.swp' mdid HASH1
2010-03-23 12:15:20,152 - ubuntuone.SyncDaemon.sync - DEBUG - T:LOCAL:F HASH1 ['HASH2'::'HASH3'] ''Purchased from Ubuntu One/.swp'' | Called calculate_hash
2010-03-23 12:15:20,153 - ubuntuone.SyncDaemon.HQ.hasher - DEBUG - Hasher: got file to hash: path '/home/kees/.ubuntuone/Purchased from Ubuntu One/.swp' mdid HASH1
2010-03-23 12:15:20,155 - ubuntuone.SyncDaemon.HQ.hasher - DEBUG - Hasher: hash error [Errno 2] No such file or directory: '/home/kees/.ubuntuone/Purchased from Ubuntu One/.swp' (path '/home/kees/.ubuntuone/Purchased from Ubuntu One/.swp' mdid HASH1)
2010-03-23 12:15:20,156 - ubuntuone.SyncDaemon.EQ - DEBUG - push_event: HQ_HASH_ERROR, args:('HASH1',), kw:{}
2010-03-23 12:15:20,157 - ubuntuone.SyncDaemon.sync - DEBUG - T:LOCAL:F HASH1 ['HASH2'::'HASH3'] ''Purchased from Ubuntu One/.swp'' | EVENT: HQ_HASH_ERROR:{} with ARGS:()
2010-03-23 12:15:20,158 - ubuntuone.SyncDaemon.sync - DEBUG - T:LOCAL:F HASH1 ['HASH2'::'HASH3'] ''Purchased from Ubuntu One/.swp'' | Calling calculate_hash

ProblemType: Bug
.home.kees..cache.ubuntuone.log.oauth.login.log:
 2010-02-26 00:32:12,071:71.6419219971 ubuntuone-login Starting Ubuntu One login manager version 1.1.2
 2010-02-26 00:32:51,404:404.330968857 ubuntuone-login Starting Ubuntu One login manager version 1.1.2
 2010-02-26 00:33:23,485:485.883951187 ubuntuone-login Starting Ubuntu One login manager version 1.1.2
 2010-02-26 00:33:41,756:756.44993782 ubuntuone-login Starting Ubuntu One login manager version 1.1.2
 2010-02-26 00:41:17,518:518.86510849 ubuntuone-login Starting Ubuntu One login manager version 1.1.2
.home.kees..cache.ubuntuone.log.syncdaemon.exceptions.log:

Architecture: amd64
Date: Tue Mar 23 12:18:18 2010
DistroRelease: Ubuntu 10.04
Package: ubuntuone-client 1.1.4-0ubuntu1
PackageArchitecture: all
ProcEnviron:
 LANGUAGE=en_US:en
 PATH=(custom, user)
 LANG=en_US.UTF-8
 SHELL=/bin/bash
ProcVersionSignature: Ubuntu 2.6.32-16.25-generic
SourcePackage: ubuntuone-client
Uname: Linux 2.6.32-16-generic x86_64

Revision history for this message
Kees Cook (kees) wrote :
Rick McBride (rmcbride)
Changed in ubuntuone-client (Ubuntu):
status: New → Confirmed
assignee: nobody → Ubuntu One Desktop+ team (ubuntuone-desktop+)
Revision history for this message
k_laci (laszlokaroly) wrote :

I also got hash related problems. Syncdaemon is busy with qt_temp files temporarily created by kile, see e.g.:

2010-05-11 11:49:04,925 - ubuntuone.SyncDaemon.sync - INFO - T:NONE:F 3549490a-3a5e-4044-bcf4-56da1d54aa69 ['352b96c8-4ba5-4b6e-aad7-a83fb6e4f1a0'::'f1e6dc14-35b2-4205-b69a-3e5084cb642d'] ''Books/Orvosi k\xc3\xb6nyv/qt_temp.H29612'' | Called calculate_hash (In: T:NONE:F)
2010-05-11 11:49:04,927 - ubuntuone.SyncDaemon.sync - INFO - T:NONE:F a5caeab1-21a6-4f7c-979a-aacbdbb280ee ['352b96c8-4ba5-4b6e-aad7-a83fb6e4f1a0'::'9e753a6c-4238-449d-8a53-15a611e9c2c6'] ''Books/Orvosi k\xc3\xb6nyv/qt_temp.l29612'' | Called calculate_hash (In: T:NONE:F)
2010-05-11 11:49:04,930 - ubuntuone.SyncDaemon.sync - INFO - T:NONE:F 64e6d1f6-887e-4ac1-ac40-23cbb7e867fd ['352b96c8-4ba5-4b6e-aad7-a83fb6e4f1a0'::'e20031f6-0f3a-4c01-960c-22d853c72540'] ''Books/Orvosi k\xc3\xb6nyv/qt_temp.c29612'' | Called calculate_hash (In: T:NONE:F)
2010-05-11 11:49:04,933 - ubuntuone.SyncDaemon.sync - INFO - T:NONE:F e910a2ce-b454-4f30-a953-c0b35919f867 ['352b96c8-4ba5-4b6e-aad7-a83fb6e4f1a0'::'8e3c682d-7f37-412b-93c2-0293cd81c251'] ''Books/Orvosi k\xc3\xb6nyv/qt_temp.P29612'' | Called calculate_hash (In: T:NONE:F)
2010-05-11 11:49:04,935 - ubuntuone.SyncDaemon.sync - INFO - T:NONE:F e5ba686c-339b-4a75-9bf8-43754fadffc4 ['352b96c8-4ba5-4b6e-aad7-a83fb6e4f1a0'::'d140f8c0-ffb6-4ac2-a5f9-a8f5a66f916e'] ''Books/Orvosi k\xc3\xb6nyv/qt_temp.g29612'' | Called calculate_hash (In: T:NONE:F)

As a result, the CPU runs on 100%.

Revision history for this message
atx (atx) wrote :

I have the same issue here:
['2b614c1a-40b5-49d3-9b4e-142fe6914e43'::marker:3059ba21-3e05-46c0-bfba-73c0c970101d] ''Dokumente/Masterarbeit/Latex/kapitel/qt_temp.VE2649'' | Called calculate_hash (In: T:NONE:F)
2010-10-14 12:30:10,739 - ubuntuone.SyncDaemon.sync - INFO - T:NONE:F f9b0a8dd-4ac5-4c61-9fe4-fedf327e5dbd ['2b614c1a-40b5-49d3-9b4e-142fe6914e43'::marker:f9b0a8dd-4ac5-4c61-9fe4-fedf327e5dbd] ''Dokumente/Masterarbeit/Latex/qt_temp.IA2649'' | Calling calculate_hash (got HQ_HASH_ERROR:{})

CPU load is high and no progress is done in syncing etc. see file attached. when I look into the folder Dokumente/Masterarbeit/Latex/ the file qt_temp.IA2649 doesnt exists on disk nor in the webstorage. Quite annoying :(

Revision history for this message
Benjamin Brink (xdcpm) wrote :

Mine seems to have been triggered when I moved files from one place to another.. either using 'mv' or via Nautilus.

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.