Recently my Mac (OS X 10.7.3) has started freezing up, whizzy beachballing for a few minutes at a time then back to normal.
I couldn't work out what it was, nothing was showing up in the Activity Monitor, then I found this in the System log aligning with the freezes:
SyncServer: [0x109e16e30] |Server|Warning| unexpected exception while vacuuming the admin database: ISyncDataDirectoryCorruptedException *** SyncServices Exception
Type : ISyncDataDirectoryCorruptedException
Reason : Detected database corruption: 5 (Input/output error)
Filesystem Reason : Input/output error
Database Path : */Library/Application Support/SyncServices/Local/TFSM/com.apple.Bookmarks/data.syncdb
Database Access Mode : Read Write
Open SQLite Files :
Stack Trace :
0 SyncServices 0x00007fff95573813 _ISDSQLiteBlowOut + 1123
1 SyncServices 0x00007fff95573c3f _ISDSQliteFullIOErrCorruptionHandler + 825
2 SyncServices 0x00007fff954d60e3 -[ISDDatabase(SqliteHelpers) stepStatement:] + 229
3 SyncServices 0x00007fff954de4f9 -[ISDDatabase(SqliteHelpers) runStatement:withBoundObjects:startingAtIndex:callback:context:] + 344
4 SyncServices 0x00007fff9557a5c3 -[ISDDataDatabase purgeRecordsForEntitiesNamed:inGenerationsLessThan:] + 520
5 SyncServices 0x00007fff95584e65 -[ISDRecordStore purgeRecordsForEntitiesNamed:inGenerationsLessThan:] + 362
6 SyncServices 0x00007fff9552799d -[ISDDataManager purgeDeletedRecordsAndTuplesInTruth:] + 300
7 SyncServices 0x00007fff9555bc4d -[ISDServer _vacuum] + 761
8 SyncServices 0x00007fff9555b68a -[ISDServer _sayGoodnightGracieSkippingVacuum:] + 175
9 Foundation 0x00007fff938e4f64 __NSFireTimer + 102
10 CoreFoundation 0x00007fff9272ac24 __CFRUNLOOP_IS_CALLING_OUT_TO_A_TIMER_CALLBACK_FUNCTION__ + 20
11 CoreFoundation 0x00007fff9272a776 __CFRunLoopDoTimer + 534
12 CoreFoundation 0x00007fff9270b001 __CFRunLoopRun + 1617
13 CoreFoundation 0x00007fff9270a676 CFRunLoopRunSpecific + 230
14 Foundation 0x00007fff93898f9f -[NSRunLoop(NSRunLoop) runMode:beforeDate:] + 267
15 Foundation 0x00007fff93898e8b -[NSRunLoop(NSRunLoop) run] + 62
16 SyncServer 0x0000000109d90ca9 SyncServer + 11433
17 SyncServer 0x0000000109d8f74c SyncServer + 5964
Thinking this was to do with iCloud bookmark sync, I turned off the bookmark sync and shut down Safari. Looked good for a while, but I've come back to the machine today and it's started chucking out these messages again.
Is it "safe" to delete data.syncdb and expect it to get rebuilt? Is this part of iCloud? I can only find references to SyncServices as part of MobileMe but as one's a step on from the other I'm thinking they are probably related (never had MobileMe).
Any advice appreciated before I trash the file and keep my fingers crossed...