CoolRaoul Posted November 25, 2013 Report Share Posted November 25, 2013 (edited) Hello everybody, After having installed and configured btsync on my Synology NAS I have noticed that that the btsync process was constantly consuming cpu cycles. By using strace, it appears that it wakes every seconds. Here's the sequence of system calls done at each cycle:1.008407 futex(0x34f15c, FUTEX_WAKE_PRIVATE, 1) = 00.000131 stat64("/etc/localtime", {st_mode=S_IFREG|0644, st_size=2944, ...}) = 00.000544 stat64("/etc/localtime", {st_mode=S_IFREG|0644, st_size=2944, ...}) = 00.000315 stat64("/etc/localtime", {st_mode=S_IFREG|0644, st_size=2944, ...}) = 00.000328 stat64("/etc/localtime", {st_mode=S_IFREG|0644, st_size=2944, ...}) = 00.000341 gettimeofday({1385367603, 787625}, NULL) = 00.000221 gettimeofday({1385367603, 787845}, NULL) = 00.000267 clock_gettime(CLOCK_REALTIME, {1385367603, 788114999}) = 0I thought that btsync was using inotify (http://en.wikipedia.org/wiki/Inotify) or similar mechanism to be awaken only by modifications inside watched directories. So why does it needs to be awaken every second? Edited November 25, 2013 by CoolRaoul Quote Link to comment Share on other sites More sharing options...
CoolRaoul Posted November 26, 2013 Author Report Share Posted November 26, 2013 The reason of my initial post is that I would be interested to know how to prevent this behaviour: it makes the NAS unable to enter sleep mode. Quote Link to comment Share on other sites More sharing options...
daishi4u Posted November 27, 2013 Report Share Posted November 27, 2013 Same thing happens on my book live. I've just disabled sleep mode on it for now and hopefully it doesn't take a dump on me Sent from my SCH-S738C using Tapatalk Quote Link to comment Share on other sites More sharing options...
Recommended Posts
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.