mirror of
https://github.com/s3fs-fuse/s3fs-fuse.git
synced 2026-04-25 13:26:00 +03:00
[GH-ISSUE #613] dbglvl=dbg causes uploads to grind to a halt after ~10 seconds #346
Labels
No labels
bug
bug
dataloss
duplicate
enhancement
feature request
help wanted
invalid
need info
performance
pull-request
question
question
testing
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/s3fs-fuse#346
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @thomasv314 on GitHub (Jun 2, 2017).
Original GitHub issue: https://github.com/s3fs-fuse/s3fs-fuse/issues/613
Hi,
I'm not totally sure if this is as intended or not, but figured it may be worth reporting anyway.
We've been using s3fs as an S3<->SFTP bridge for quite some time now. In debugging an unrelated issue we recently ran s3fs with
dbglvl=dbg. After resolving the issue, we noticed that connections would grind to a halt after about 10 seconds of uploading a file.With dbglvl on, we saw 2.5mbs -> 10 seconds later, 30kbs.
With dbglvl unset, we saw 2.5mbs -> for the entire upload.
If this isn't a bug, hopefully this helps other people debug slow s3fs connections 😄
Additional Information
Version of s3fs being used (s3fs --version)
Version of fuse being used (pkg-config --modversion fuse)
System information (uname -a)
Distro (cat /etc/issue)
s3fs command line used (if applicable)
@ggtakec commented on GitHub (Mar 30, 2019):
What do you set the
dbgleveloption?The
dbgleveloption can be set crit (critical), err (error), warn (warning), info (information) or dbg (debug).I think s3fs will be slower from
crittodbg.Especially a case of
dbg, when uploading/downloading a file, a message is output for each copy operation to a temporary file, which is quite expensive.I think that the
infovalue is enough for normally debugging, then if you are concerned about slow speed, it is better to useinfoinstead ofdbg.Also, the
curldbgoption will affect performance.