-
-
Notifications
You must be signed in to change notification settings - Fork 863
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Problem with S3BotoStorageFile and a file greater than 5Mb #160
Closed
Labels
Comments
This was referenced Sep 2, 2016
vinayinvicible
added a commit
to Coverfox/django-storages
that referenced
this issue
Sep 6, 2016
vinayinvicible
added a commit
to Coverfox/django-storages
that referenced
this issue
Sep 6, 2016
mattswoon
added a commit
to mattswoon/django-storages
that referenced
this issue
Jul 24, 2017
part upload. fixes similar issue to jschneier#160 for s3boto3. Inspired by vinayinvicible's fix for jschneier#160.
mattswoon
added a commit
to mattswoon/django-storages
that referenced
this issue
Jul 24, 2017
part upload. Fixes jschneier#364, similar issue to jschneier#160 for s3boto3. Inspired by vinayinvicible's fix for jschneier#160.
We've also encountered with that issue and pr, that provided by tommwatson, fixed that issue. In our case, we open local file that weight about 13 mb and write to file by chunks (~ 1mb), that on s3, as a result we have file with weight about 76 mb. How to reproduce:
Are there chances to merge fix i've mentioned earlier ? |
jschneier
pushed a commit
that referenced
this issue
Jun 1, 2018
…504) * fix for files with size more than buffer size fixes #160 * fix(s3bot3): spool buffer file to end of all uploaded parts after each part upload. Fixes #364, similar issue to #160 for s3boto3. Inspired by vinayinvicible's fix for #160. * Fix style issues flagged by flake8 * `At least two spaces before inline comment (E261)` * `Imports are incorrectly sorted.` * Fix s3boto3 test incompatibility with Python 3.4
nitely
pushed a commit
to satellogic/django-storages
that referenced
this issue
Jul 30, 2018
…schneier#504) * fix for files with size more than buffer size fixes jschneier#160 * fix(s3bot3): spool buffer file to end of all uploaded parts after each part upload. Fixes jschneier#364, similar issue to jschneier#160 for s3boto3. Inspired by vinayinvicible's fix for jschneier#160. * Fix style issues flagged by flake8 * `At least two spaces before inline comment (E261)` * `Imports are incorrectly sorted.` * Fix s3boto3 test incompatibility with Python 3.4
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
My team and I have found a problem in file-like interface for S3botoStorageFile.
If I do something like that:
where
df
is a Pandas' Dataframe, and file is greater than 5Mb, when we run the program from an ec2 instance, program stops over a write instruction.Debugging we have seen that when file size become 5Mb the test in s3boto.py:159
is
True
for every write request, so for every write I have a request to upload to s3.... and after a few of seconds program freezes.I think that test should be something like that
Thank you.
The text was updated successfully, but these errors were encountered: