btsync inhibits disk hibernation / Interaction with .SyncID-File


MaZder

Recommended Posts

  • 1 month later...
  • Replies 76
  • Created
  • Last Reply

Top Posters In This Topic

hi!

 

i can confirm this bug. btsync keeps active on my ds 412+ and thus stops the system from going to hibernation. the hibernation log reads:

Jan 24 15:11:48 NAS kernel: [ 2171.580154] [/usr/local/btsync/var/settings.dat] opened by pid 11653 [u:(/usr/local/btsync/bin/btsync), comm:(btsync)]Jan 24 15:13:35 NAS kernel: [ 2278.198996] [/usr/local/btsync/var/sync.dat.new] opened by pid 11660 [u:(/usr/local/btsync/bin/btsync), comm:(btsync)]

i'm running the latest ds software (DSM 4.3-3810 Update 4) and BTSync Version 1.2.82. I have only one shared folder and it's readonly, so there is absolutely no need for BTSync to access the files (they won't change unless BTSync changes them because of an external update).

 

With this bug BTSync is not useable, the DS would keep running 24/7 without any need.. =(

Link to comment
Share on other sites

  • 2 months later...

hi!

 

Btsync keeps accessing .SyncID files every ten minutes

Apr  3 18:02:55 NAS kernel: [369020.784442] [/volume1/andreas/cloud/.SyncID] opened by pid 20699 [u:(/usr/local/btsync/bin/btsync), comm:(btsync)]Apr  3 18:11:13 NAS kernel: [369519.088913] [/usr/local/btsync/var/sync.dat.new] opened by pid 20699 [u:(/usr/local/btsync/bin/btsync), comm:(btsync)]Apr  3 18:12:41 NAS kernel: [369607.324039] [/volume1/andreas/cloud/.SyncID] opened by pid 20699 [u:(/usr/local/btsync/bin/btsync), comm:(btsync)]Apr  3 18:12:56 NAS kernel: [369621.498196] [/volume1/andreas/cloud/.SyncID] opened by pid 20699 [u:(/usr/local/btsync/bin/btsync), comm:(btsync)]Apr  3 18:21:13 NAS kernel: [370118.714891] [/usr/local/btsync/var/sync.dat.new] opened by pid 20699 [u:(/usr/local/btsync/bin/btsync), comm:(btsync)]Apr  3 18:22:42 NAS kernel: [370208.167892] [/volume1/andreas/cloud/.SyncID] opened by pid 20699 [u:(/usr/local/btsync/bin/btsync), comm:(btsync)]Apr  3 18:22:56 NAS kernel: [370222.141964] [/volume1/andreas/cloud/.SyncID] opened by pid 20699 [u:(/usr/local/btsync/bin/btsync), comm:(btsync)]Apr  3 18:31:13 NAS kernel: [370718.306918] [/usr/local/btsync/var/sync.dat.new] opened by pid 20699 [u:(/usr/local/btsync/bin/btsync), comm:(btsync)]

my config file:

{   "device_name": "NAS",  "storage_path" : "/usr/local/btsync/var",  "pid_file" : "/usr/local/btsync/var/syncapp.pid",  "webui" :  {    "listen" : "0.0.0.0:8888",    "login" : "admin",    "password" : "xxx"  },  "folder_rescan_interval" : 21600}

I have configured one shared folder (named cloud) and run the 32bit version of btsync for linux.

Link to comment
Share on other sites

i'm currently investigating another issue on this synology unit which might correlate with the hibernation. so please ignore my last message until i know for sure it's related to btsync.

 

@dahaniel there is an option in synology NAS to debug hibernation issues.

Link to comment
Share on other sites

nope, sorry. disabling btsync --> NAS goes to sleep after 10 minutes. enabling btsyns --> no sleep. I could reproduce this several times. The logs from above are still correct, some files get accessed every 10 minutes although folder rescan interval is set very high. I disabled the webui and set the config via file:

{   "device_name": "NAS",  "listening_port": 55555,  "storage_path": "/usr/local/btsync/var",  "pid_file": "/usr/local/btsync/var/syncapp.pid",  "check_for_updates": false,  "use_upnp": false,  "folder_rescan_interval": 43200,  "shared_folders" :    [        {        "secret" : "XXX",        "dir" : "/volume1/andreas/cloud/",        "use_relay_server" : false,        "use_tracker" : false,        "use_dht" : false,        "search_lan" : false,        "use_sync_trash" : true        }   ]}
Link to comment
Share on other sites

  • 4 weeks later...
  • 1 month later...

BTSync 1.3.94 still prevents disk hibernation on Synology NAS's.

 

It looks like it is still writing sync.dat.new every 10 minutes regardless of the setting of the rescan interval.

 

Any chance of a resolution or a configuration setting for when btsync writes sync.dat

 

Matthew

Link to comment
Share on other sites

  • 1 month later...

I'm having the same problem with my Synology NAS. Since installing BTsync, my HDDs no longer go into deep sleep and hibernate anymore. It's rather frustrating.

 

I've decided to disabled BTsync and stop using it until this issue is resolved.

 

Are the developers confident the problem will be fixed in 1.4? Is there any news in regards to this?

Link to comment
Share on other sites

  • 2 weeks later...
  • 2 weeks later...

@all,

 

Please, wait for 1.4. release and give it a try. If the problem remains, write to syncapp@bittorrent.com right away. Don't forget to attach full debug logs from NAS, describe your setup in details, put the link to this topic. Hibernation logs would be much appreciated. Thank you! 

 

Same issue. Disks won't go into hibernation anymore. When I disable BTSync the problem goes away.

 

Synology DS1512+

Edited by ajax
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.