yahoo-eng-team team mailing list archive
-
yahoo-eng-team team
-
Mailing list archive
-
Message #60773
[Bug 1439443] Re: Fix web-server memory overrun when downloading objects from Swift
If this should be added to the dev docs, throwing back over the fence to
horizon :)
Thanks team.
** Also affects: horizon
Importance: Undecided
Status: New
** Changed in: openstack-manuals
Status: Confirmed => Invalid
--
You received this bug notification because you are a member of Yahoo!
Engineering Team, which is subscribed to OpenStack Dashboard (Horizon).
https://bugs.launchpad.net/bugs/1439443
Title:
Fix web-server memory overrun when downloading objects from Swift
Status in OpenStack Dashboard (Horizon):
New
Status in openstack-manuals:
Invalid
Bug description:
https://review.openstack.org/161204
commit 46405d456d9b056e648a4e60235b4c1b251f1236
Author: Timur Sufiev <tsufiev@xxxxxxxxxxxx>
Date: Wed Mar 4 16:15:04 2015 +0300
Fix web-server memory overrun when downloading objects from Swift
To prevent memory overrun when downloading large objects from Swift
* `resp_chunk_size` keyword should be passed to swiftclient
* `obj.data` iterator returned from swiftclient is passed to HttpResponse
(or StreamingHttpResponse for Django>=1.5) as usual since both response
classes work with iterators/files/byte strings (yet StreamingHttpResponse
does it better).
The commit introduces new setting SWIFT_FILE_TRANSFER_CHUNK_SIZE that
defines the size of chunk in bytes for Swift objects downloading.
DocImpact
Change-Id: I18e5809b86bfa24948dc642da2a55dffaa1a4ce1
Closes-Bug: #1427819
To manage notifications about this bug go to:
https://bugs.launchpad.net/horizon/+bug/1439443/+subscriptions