mirror of
https://github.com/s3fs-fuse/s3fs-fuse.git
synced 2026-04-25 13:26:00 +03:00
[GH-ISSUE #499] Too many HTTP connections choking the server #277
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#277
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 @viggyprabhu on GitHub (Nov 16, 2016).
Original GitHub issue: https://github.com/s3fs-fuse/s3fs-fuse/issues/499
I am using s3fs to mount a S3 bucket in my EC2 instance. I ran some script which created close to 300 files in matter of minutes and due to this too many HTTP connections of s3fs were in TIME_WAIT conditions and it choked the server making my web server unresponsive. I unmounted the s3fs partition and I see that connections get closed. However, when I mount the s3fs partition again, I again see lot of HTTP connections which is choking the server. I am able to replicate this everytime I am mounting the s3fs partition. I mounted the same bucket in another server and I dont see any issue there. What can I do to ensure that this number of HTTP connections is not created again and again.
@ggtakec commented on GitHub (Jan 7, 2017):
@viggyprabhu I'm sorry for my late reply.
You can control multipart session count for s3fs by multireq_max and parallel_count option.
multireq_max sets number of parallel request for listing objects(files).
And parallel_count sets number of parallel request for uploading big objects.
You can also set cache(stats and files) to reduce the number of listing/downloading objects.
Please see man s3fs or wiki page.
Thanks in advance for your assistance.
@jigneshkhatri commented on GitHub (Jun 12, 2020):
@ggtakec Once we have mounted S3 bucket to EC2, how can we change value of parameters multireq_max and parallel_count?
@ggtakec commented on GitHub (Aug 2, 2020):
@jigneshkhatri We do not provide a way to change these options after mounting.
You must run umount/mount to change these values.