Bittorrent Sync Taking Too Much Space In Application Support [Mac Os X]


acgamst

Recommended Posts

I am running BitTorrent Sync 2.0 on a MacBook Air, running Yosemite. I have been having trouble with my SSD filling up and I have tracked the problem down to, essentially, the size of the ~/Library/Application Support/BitTorrent Sync directory, which currently stands at 21GB (and growing). There are several different types of files in the directory -- settings.dat{.old}, history.dat{.old}, sync.dat{.old}, sync.log{.old}, lock, sync.pid, *.db{-shm,-wal}, and .journal -- but the real problem seems to be with the *.journal.log files; there are hundreds of these, with 3 to 5 new ones every minute. What is causing this? Are these files safe to delete? Is there a setting which can be changed to either limit the rate at which these files are created or their total number?

Link to comment
Share on other sites

  • 2 weeks later...

Hearing no words of wisdom, I overcame my risk aversion and deleted every file in ~/Library/Application Support/BitTorrent Sync with a modification time more than 10 days ago. This freed up 21GB of space and, while BTSync is still writing new log files, removing the older files doesn't seem to have hurt anything. I am still not sure what's causing the problem – or even if it remains a problem, now – but my plan is to simply have cron run a clean-up script once every so often (every day or every week). Would still like to know what was causing the problem, so please post if you have any ideas.

Link to comment
Share on other sites

acgamst, settings.dat{.old},and sync.dat{.old} are system files. If you delete sync.dat and sync.dat.old then you will have to setup Sync from scratch including adding folders in the Sync.

settings.dat store some settings.

*.db{-shm,-wal} are database files,size varies depending on number of files inside shared folder. If you delete those files, Sync will create new database files.

sync.log{.old and .journal are logs. You can delete them if you want, and Sync will create new files. But if you delete those files when something has happened you or support team won't be able to learn what happened.

Link to comment
Share on other sites

cipherplain : Many thanks for the advice! It's easy to restrict the list of files to delete to those you say aren't critical, so I have done that.

 

So far so good – after deleting the files the other day, there's been a small increase in the amount of space the files are taking, but 108M is a lot better than 21GB.

Link to comment
Share on other sites

  • 8 months later...

had-to-reregister, yes, you can delete *.journal and *.journal.zip files. If you don't want Sync to record them open Sync Preferences => Advanced => Power user preferences and disable "Enable journaling" option. And journals are different from logs that's why that option doesn't affect them.

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.