Git Product home page Git Product logo

Comments (10)

GoogleCodeExporter avatar GoogleCodeExporter commented on June 6, 2024

Original comment by [email protected] on 11 Jul 2008 at 1:53

  • Changed state: Accepted
  • Added labels: AffectsVersion-1.0.4

from s3backer.

GoogleCodeExporter avatar GoogleCodeExporter commented on June 6, 2024
Should be fixed in r88. If you get a chance please apply that patch and retest. 
Thanks!

Original comment by [email protected] on 11 Jul 2008 at 2:21

  • Changed state: Fixed
  • Added labels: FixVersion-1.0.5

from s3backer.

GoogleCodeExporter avatar GoogleCodeExporter commented on June 6, 2024
I believe code in r88:

snprintf(buf, sizeof(buf), "-odaemon_timeout=%u", config.connect_timeout
 + config.io_timeout + config.max_retry_pause / 1000 + 10);

should read:

snprintf(buf, sizeof(buf), "-odaemon_timeout=%u", ( config.connect_timeout
 + config.io_timeout + config.max_retry_pause ) / 1000 + 10);

Because all these parameters are in milliseconds.

And daemon_timeout has a maximum value of 600 seconds.
Look here:

http://www.google.com/codesearch?hl=en&lr=&q=FUSE_MAX_DAEMON_TIMEOUT+package%3Ah
ttp%3A%2F%2Fmacfuse\.googlecode\.com&sbtn=Search

and here:

http://www.google.com/codesearch?q=daemon_timeout+package%3Ahttp%3A%2F%2Fmacfuse
\.googlecode\.com&origq=daemon_timeout&btnG=Search+Trunk

Original comment by [email protected] on 11 Jul 2008 at 5:11

from s3backer.

GoogleCodeExporter avatar GoogleCodeExporter commented on June 6, 2024
Oops! I was wrong! Sorry!

Code is fine.

Original comment by [email protected] on 11 Jul 2008 at 5:13

from s3backer.

GoogleCodeExporter avatar GoogleCodeExporter commented on June 6, 2024
Strange thing, when I give different parameters to maxRetryPause s3backer always
starts with daemon_timeout = 100:

s3backer --prefix=macos --size=75M --filename=s3-backup3-remote.dmg
--maxRetryPause=500000 -d -f du-backup3 /Users/demon/mounts/mnt-du-backup3

2008-07-11 13:13:46 DEBUG:  connect_timeout: 30s
2008-07-11 13:13:46 DEBUG:       io_timeout: 30s
2008-07-11 13:13:46 DEBUG: initial_retry_pause: 200ms
2008-07-11 13:13:46 DEBUG:  max_retry_pause: 500000ms
2008-07-11 13:13:46 DEBUG: fuse_main arguments:

2008-07-11 13:13:46 DEBUG:   [0] = "s3backer"
2008-07-11 13:13:46 DEBUG:   [1] = "-o"
2008-07-11 13:13:46 DEBUG:   [2] =
"kernel_cache,fsname=s3backer,use_ino,entry_timeout=31536000,negative_timeout=31
536000,attr_timeout=31536000,default_permissions,nodev,nosuid,daemon_timeout=100
"

Original comment by [email protected] on 11 Jul 2008 at 5:16

from s3backer.

GoogleCodeExporter avatar GoogleCodeExporter commented on June 6, 2024
On a Leopard "daemon_timeout" has a fixed maximum of 600 seconds.
Everything higher is simply ignored.

May be it is better just to set it to a maximum?


Cause when I am using different values of timeout/retry_pause, s3backer always 
sets
daemon_timeout to 850 seconds which is higher than a maximum and it defaults to 
60
seconds which sometimes is not enough.

Original comment by [email protected] on 15 Jul 2008 at 2:56

from s3backer.

GoogleCodeExporter avatar GoogleCodeExporter commented on June 6, 2024
See changes in r104. We now limit the daemon_timeout setting to
FUSE_MAX_DAEMON_TIMEOUT on MacOS and emit a warning if we would have tried to 
set a
higher value.

Original comment by [email protected] on 15 Jul 2008 at 3:46

from s3backer.

GoogleCodeExporter avatar GoogleCodeExporter commented on June 6, 2024
Correction: use r110 instead of r104.

Original comment by [email protected] on 15 Jul 2008 at 6:23

from s3backer.

GoogleCodeExporter avatar GoogleCodeExporter commented on June 6, 2024
Thank you! r110 makes sense and works perfect.

Original comment by [email protected] on 16 Jul 2008 at 2:56

from s3backer.

GoogleCodeExporter avatar GoogleCodeExporter commented on June 6, 2024

Original comment by [email protected] on 16 Jul 2008 at 3:34

  • Changed state: Verified

from s3backer.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.