On Saturday, October 25, 2014 5:24:10 PM UTC-4, Nikolaus Rath wrote:
>
> On 10/22/2014 07:25 AM, Rich B wrote:
>
> In the mean time, I have some questions about the tcp-timeout backend
> option. The docs don't say what the units are, what the default value is,
> or how to use the option.
> From the code, it looks like the units are seconds, and the syntax is
> "--backend-options tcp-timeout=<integer>", however when I try this syntax,
> python barfs:
>
> $ /usr/bin/mount.s3ql --debug --cachedir /data/s3ql-cache --cachesize
> 1048567 --backend-options no-ssl,tcp-timeout=12 s3://myBucket/myPrefix
> /mnt/myMount
> Using 8 upload threads.
> Autodetected 4040 file descriptors available for cache entries
> Uncaught top-level exception:
> Traceback (most recent call last):
> File "/usr/bin/mount.s3ql", line 9, in <module>
> load_entry_point('s3ql==2.11.1', 'console_scripts', 'mount.s3ql')()
> File "/usr/lib/s3ql/s3ql/mount.py", line 121, in main
> [...]
> return eval_coroutine(self.co_read_response(), self.timeout)
> File "/usr/lib/python3/dist-packages/dugong/__init__.py", line 1361, in
> eval_coroutine
> if not next(crt).poll(timeout=timeout):
> File "/usr/lib/python3/dist-packages/dugong/__init__.py", line 115, in
> poll
> return bool(poll.poll(timeout*1000)) # convert to ms
> TypeError: timeout must be an integer or None
>
> Am I using tcp-timeout incorrectly? What is the default timeout?
>
>
> Yes, this looks like a bug in S3QL. Could you report it at
> https://bitbucket.org/nikratio/s3ql/issues?
>
> Thanks!
> -Nikolaus
>
>
Nikolaus,
Thanks for the quick turn-around on the that tcp-timeout backend-option
patch!!
Setting the tcp-timeout to a nice high number solved my timeout/retry
problem and makes S3QL quite usable on my crappy Verizon DSL connection.
Thanks again for an awesome project and your equally awesome support!
Rich B
>
--
You received this message because you are subscribed to the Google Groups
"s3ql" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
For more options, visit https://groups.google.com/d/optout.